One more attempt: stuck processes

Gabor Gombas gombasg at sztaki.hu
Fri Nov 16 10:52:27 EST 2007


On Fri, Nov 16, 2007 at 12:36:49PM +0100, Sebastian Hagedorn wrote:

> He suggested that the trace is unreliable. Perhaps a bug in RHEL 3's 
> version of OpenSSL messes up the stack. That would also explain why nobody 
> else seems to have this problem.

FYI I also know a system that has problems with hung Cyrus processes.
AFAIR they have problems with pop3s only, but that may be because there
are more POP3 than IMAP users, I don't know. The system in question runs
2.3.8 on Debian Etch currently.

I intend to help diagnose that system but had no time so far; they're
now running a script that does a POP3 connection every couple of minutes
and if that takes too long it restarts Cyrus.

There is nothing interesting in the logs:

Oct 15 02:39:31 host cyrus/master[6102]: about to exec /usr/local/cyrus/sbin/pop3d
Oct 15 02:39:31 host cyrus/pop3s[6102]: executed
Oct 15 02:39:31 host cyrus/pop3s[6102]: accepted connection

... and that's about it, nothing else is logged about the stuck process.
As can be seen the process gets stuck just after it has been created, so
"-U 1" can not help.

OTOH there are a lot of messages like the following:

Oct 16 14:13:10 host cyrus/master[26136]: about to exec /usr/local/cyrus/sbin/pop3d
Oct 16 14:13:10 host cyrus/pop3s[26136]: executed
Oct 16 14:13:10 host cyrus/pop3s[26136]: accepted connection
Oct 16 14:13:10 host cyrus/pop3s[26136]: pop3s failed:XXXXXXXXXXXX [XX.XXX.XX.XXX]
Oct 16 14:13:10 host cyrus/pop3s[26136]: Fatal error: tls_start_servertls() failed
Oct 16 14:13:10 host cyrus/master[15923]: process 26136 exited, status 75
Oct 16 14:13:10 host cyrus/master[15923]: service pop3s pid 26136 in BUSY state: terminated abnormally

Any idea what's causing that?

Gabor

-- 
     ---------------------------------------------------------
     MTA SZTAKI Computer and Automation Research Institute
                Hungarian Academy of Sciences
     ---------------------------------------------------------


More information about the Info-cyrus mailing list