pop3d hangs in 2.2.13 (no apop)

Patrick Boutilier boutilpj at ednet.ns.ca
Tue Feb 22 06:58:09 EST 2011


On 02/22/2011 06:48 AM, Ingo Herz wrote:
> Hi,
>
> we are using cyrus 2.2.13 (2.2.13-10+etch4) with Debian Etch since more
> than 3 years now. From one day to the other pop3d began to hang from
> time to time. All other services (pop3s, imap, imaps) run fine. pop3 can
> only be made alive again by killing the hanging pop3d processes or
> restarting cyrus. Attached is the tail of a strace to a process that had
> to be killed.
>
> Any help/hint would be very appreciated! This error drives me crazy. I'm
> looking behind this for the last days and I don't get it :-(
>
> regards,
> Ingo
>
> 11:16:26.457592 rt_sigaction(SIGALRM, {0x8069978, [], SA_ONESHOT}, NULL, 8) = 0
>
> 11:16:26.457629 rt_sigaction(SIGHUP, {0x8069978, [], SA_RESTART|SA_ONESHOT}, NULL, 8) = 0
>
> 11:16:26.457666 rt_sigaction(SIGINT, {0x8069978, [], SA_RESTART|SA_ONESHOT}, NULL, 8) = 0
>
> 11:16:26.457702 rt_sigaction(SIGQUIT, {0x8069978, [], SA_RESTART|SA_ONESHOT}, NULL, 8) = 0
>
> 11:16:26.457737 alarm(60)               = 0
>
> 11:16:26.457764 fcntl64(11, F_SETLKW, {type=F_WRLCK, whence=SEEK_SET, start=0, len=0}) = 0
>
> 11:16:29.255416 stat64("/usr/lib/cyrus/bin/pop3d", {st_mode=S_IFREG|0755, st_size=1379071, ...}) = 0
>
> 11:16:29.255632 accept(4, 0, NULL)      = 12
>
> 11:16:29.670991 fcntl64(11, F_SETLKW, {type=F_UNLCK, whence=SEEK_SET, start=0, len=0}) = 0
>
> 11:16:29.671063 alarm(0)                = 57
>
> 11:16:29.671176 getpeername(12, 0xbfba77d0, [128]) = -1 ENOTCONN (Transport endpoint is not connected)
>
> 11:16:29.671246 getpeername(12, 0xb7d13b00, [128]) = -1 ENOTCONN (Transport endpoint is not connected)
>
> 11:16:29.671312 recvfrom(12, 0xbfba5798, 8192, 2, 0xb7d13b00, 0xbfba7798) = ? ERESTARTSYS (To be restarted)
>
> 11:22:08.898181 --- SIGTERM (Terminated) @ 0 (0) ---
>
>
>
>
> ----
> Cyrus Home Page: http://www.cyrusimap.org/
> List Archives/Info: http://lists.andrew.cmu.edu/pipermail/info-cyrus/



Sounds like you are running out of entropy. Is Cyrus using /dev/random 
or /dev/urandom ?



More information about the Info-cyrus mailing list