Hi! I'm running Dovecot 1.0beta7 on FreeBSD 6.0 (i386) and it randomly stops responding. To mitigate the problem I made a little ruby scripts which logs in to the POP3 server every 3 minutes and, in case of error (the errors are usually timeout or end of file errors), restarts Dovecot. Although this keeps this keeps things working, I'd like to figure out what is causing Dovecot to stop responding. Looking at the logs, nothing stands out except that there is always one or more of these messages just before Dovecot stops responding: Apr 20 19:25:00 zeus dovecot[62881]: pop3-login: Disconnected: Inactivity: rip=209.123.xxx.xxx, lip=64.21.xxx.xxx Any help debugging this would be greatly appreciated. Thanks, -- Miguel Saturnino <miguel.saturnino at teiadigital.pt>
On Fri, 2006-04-21 at 01:18 +0100, Miguel Saturnino wrote:> I'm running Dovecot 1.0beta7 on FreeBSD 6.0 (i386) and it randomly stops > responding. To mitigate the problem I made a little ruby scripts which > logs in to the POP3 server every 3 minutes and, in case of error (the > errors are usually timeout or end of file errors), restarts Dovecot. > Although this keeps this keeps things working, I'd like to figure out > what is causing Dovecot to stop responding. Looking at the logs, nothing > stands out except that there is always one or more of these messages > just before Dovecot stops responding: > > Apr 20 19:25:00 zeus dovecot[62881]: pop3-login: Disconnected: > Inactivity: rip=209.123.xxx.xxx, lip=64.21.xxx.xxx >It turns out this problem was the result of starting Dovecot when it was already running (my DirectAdmin control panel was randomly starting Dovecot thinking it had stopped, when it had not). Anyway, there might be some malfunction with Dovecot, because it probably should not stop responding if started when already running. Regards, -- Miguel Saturnino <miguel.saturnino at teiadigital.pt>
On Fri, 2006-04-21 at 01:18 +0100, Miguel Saturnino wrote:> Hi! > > I'm running Dovecot 1.0beta7 on FreeBSD 6.0 (i386) and it randomly stops > responding. To mitigate the problem I made a little ruby scripts which > logs in to the POP3 server every 3 minutes and, in case of error (the > errors are usually timeout or end of file errors), restarts Dovecot. > Although this keeps this keeps things working, I'd like to figure out > what is causing Dovecot to stop responding. Looking at the logs, nothing > stands out except that there is always one or more of these messages > just before Dovecot stops responding: > > Apr 20 19:25:00 zeus dovecot[62881]: pop3-login: Disconnected: > Inactivity: rip=209.123.xxx.xxx, lip=64.21.xxx.xxxHave you figured out anything yet? Do you mean that after it stops responding, nothing else comes to log files anymore? And when connecting to Dovecot it doesn't give any replies? Do you use only POP3 or also IMAP? What passdb and userdb are you using? Have you straced dovecot-auth (and pop3-login and dovecot maybe) while it's broken? -------------- next part -------------- A non-text attachment was scrubbed... Name: not available Type: application/pgp-signature Size: 191 bytes Desc: This is a digitally signed message part Url : http://dovecot.org/pipermail/dovecot/attachments/20060618/5ba33ec6/attachment.pgp