Trouble running Cyrus IMAP 2.1.14
mellis at ellissoftworks.com
Thu Jul 24 13:37:55 EDT 2003
I thought your suggestion to try truss/strace was a good one, so
performed the Mac OS X equivalent. On that OS, the command you want is
called "sample" (included with the developer tools).
After starting MASTER and attempting to telnet to the IMAP port, MASTER
dutifully spawns the IMAPD process, which then seems to get hung and
It looks like the call to "sasl_server_init" from "service_init" might
be getting stuck.
Here's the stack trace output from sample:
Sampling 8665 each 10 msecs 100 times
Now analyzing results...
Samples: 780 bytes
vmutils: Skipped registration; module state not fully linked (state=3)
Analysis written to file /tmp/imapd_8665.sample.txt
[powermac7300:~/Installers/cyrus-imapd-2.1.14] root# more
Analysis of sampling pid 8665 during 1 secs
p [STACK TOP]
rwrite_trap [STACK TOP]
Total number in stack (recursive counted multiple, when >=5):
Sort by top of stack, same collapsed (when >= 5):
clock_sleep_trap [STACK TOP] 99
On Thursday, July 24, 2003, at 12:23 PM, Rob Siemborski wrote:
> On Thu, 24 Jul 2003, Michael Ellis wrote:
>> What's interesting is that MASTER does spawn the appropriate daemon
>> it IMAPD or POP3D), but when the IMAPD daemon runs, it continually
>> chews up about 10% of the CPU (according to top). This leads me to
>> believe that IMAPD is continually trying to perform an operation that
>> is failing.
> Have you tried running truss/strace on the affected process to see what
> its trying to do?
>> Is is possible that MASTER, which runs as root, is then spawning IMAPD
>> as the cyrus user, and the OS is denying IMAPD access to the
>> IMAP port (because of the cyrus user's reduced privileges)? Just a
> No, master opens the port and the forked imapd inherets the file
Michael F. Ellis
Ellis Softworks Inc.
Phone: (941) 713-0361
Email: mellis at ellissoftworks.com
More information about the Info-cyrus