[Dovecot] Dovecot randomly stops responding
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@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@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.xxx
Have 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?
Hi Timo!
On Sun, 2006-06-18 at 00:31 +0300, Timo Sirainen 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
Have you figured out anything yet?
I never experienced this problem again (and it was quite frequent). As I posted here http://www.dovecot.org/list/dovecot/2006-April/012953.html the problem occurred as a result of my control panel (DirectAdmin) starting Dovecot while it was already running (I'm not quite sure of what happened when the control panel issued the command to start Dovecot, but that was when Dovecot stopped responding). Since I disabled the control panel's monitoring feature, Dovecot has been working flawlessly.
Do you mean that after it stops responding, nothing else comes to log files anymore?
No, there was no sign of any error.
And when connecting to Dovecot it doesn't give any replies?
There were no replies, the connection would just timeout.
Do you use only POP3 or also IMAP?
This happened with POP3, don't know if it happened also with IMAP.
What passdb and userdb are you using?
passwd-file
Have you straced dovecot-auth (and pop3-login and dovecot maybe) while it's broken?
No, I didn't try that.
Thanks!
Regards,
-- Miguel Saturnino
Teia Digital (R) Alojamento de Sites e Soluções Internet Web Site: http://www.teiadigital.pt E-mail: info@teiadigital.pt
participants (2)
-
Miguel Saturnino
-
Timo Sirainen