[Dovecot] Dovecot service not responding after about a week of uptime
Hello,
I am running a dovecot 2.1.13 server and lately it stops responding after about a week of uptime. Simply restarting the dovecot service solves the issue.
I tried to look a bit in my maillog file but did not find anything obvious. During the time when the server is not responding I can still see imap-login entries from the connection attempt by my email client. Any help about how to diagnose the problem would be appreciated.
Thanks,
Matthieu
On 24.3.2013, at 20.31, Matthieu dovecot@pupat-ghestem.net wrote:
Hello,
I am running a dovecot 2.1.13 server and lately it stops responding after about a week of uptime. Simply restarting the dovecot service solves the issue.
I tried to look a bit in my maillog file but did not find anything obvious. During the time when the server is not responding I can still see imap-login entries from the connection attempt by my email client. Any help about how to diagnose the problem would be appreciated.
Find any errors and warnings Dovecot logged. If they don't go to a different file, do something like:
egrep -i dovecot.*(error|warning) /var/log/maillog
On 24.3.2013, at 22.00, Matthieu dovecot@pupat-ghestem.net wrote:
On 03/24/2013 07:38 PM, Timo Sirainen wrote:
egrep -i dovecot.*(error|warning) /var/log/maillog The output of this command is empty.
Every time you stop Dovecot it logs a warning. You said you started (=restarted?) dovecot, so I'd think you would see at least those.
On 03/24/2013 09:04 PM, Timo Sirainen wrote:
On 24.3.2013, at 22.00, Matthieu dovecot@pupat-ghestem.net wrote:
On 03/24/2013 07:38 PM, Timo Sirainen wrote:
egrep -i dovecot.*(error|warning) /var/log/maillog The output of this command is empty. Every time you stop Dovecot it logs a warning. You said you started (=restarted?) dovecot, so I'd think you would see at least those.
Oh yes sorry. I filtered by time as well. Those are the warnings from the last restart:
Mar 24 19:13:18 hebus dovecot: master: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill) Mar 24 19:13:18 hebus dovecot: log: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill) Mar 24 19:13:18 hebus dovecot: config: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill) Mar 24 19:13:18 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:18 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:18 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:18 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:18 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:18 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:18 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:18 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:18 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:18 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:18 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:18 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:18 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user2@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user2@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user2@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user2@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user2@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user2@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user2@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user2@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user2@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user2@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:19 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:20 hebus dovecot: imap-login: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill) Mar 24 19:13:20 hebus dovecot: imap-login: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill) Mar 24 19:13:20 hebus dovecot: ssl-params: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill) Mar 24 19:13:20 hebus dovecot: auth-worker(32592): Warning: Killed with signal 15 (by pid=1 uid=0 code=kill) Mar 24 19:13:20 hebus dovecot: auth-worker(32595): Warning: Killed with signal 15 (by pid=1 uid=0 code=kill) Mar 24 19:13:20 hebus dovecot: anvil: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill) Mar 24 19:13:21 hebus dovecot: master: Warning: /tmp is no longer mounted. See http://wiki2.dovecot.org/Mountpoints Mar 24 19:13:21 hebus dovecot: master: Warning: /var/tmp is no longer mounted. See http://wiki2.dovecot.org/Mountpoints
Am 24.03.2013 21:09, schrieb Matthieu:
On 03/24/2013 09:04 PM, Timo Sirainen wrote:
On 24.3.2013, at 22.00, Matthieu dovecot@pupat-ghestem.net wrote:
On 03/24/2013 07:38 PM, Timo Sirainen wrote:
egrep -i dovecot.*(error|warning) /var/log/maillog The output of this command is empty. Every time you stop Dovecot it logs a warning. You said you started (=restarted?) dovecot, so I'd think you would see at least those.
Oh yes sorry. I filtered by time as well. Those are the warnings from the last restart:
Mar 24 19:13:18 hebus dovecot: master: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill) Mar 24 19:13:18 hebus dovecot: log: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill) Mar 24 19:13:18 hebus dovecot: config: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill) Mar 24 19:13:18 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:18 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:18 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:21 hebus dovecot: master: Warning: /tmp is no longer mounted. See http://wiki2.dovecot.org/Mountpoints Mar 24 19:13:21 hebus dovecot: master: Warning: /var/tmp is no longer mounted. See http://wiki2.dovecot.org/Mountpoints
what happened with /tmp and /var/tmp?
On 03/24/2013 09:17 PM, Reindl Harald wrote:
Am 24.03.2013 21:09, schrieb Matthieu:
On 03/24/2013 09:04 PM, Timo Sirainen wrote:
On 24.3.2013, at 22.00, Matthieu dovecot@pupat-ghestem.net wrote:
On 03/24/2013 07:38 PM, Timo Sirainen wrote:
egrep -i dovecot.*(error|warning) /var/log/maillog The output of this command is empty. Every time you stop Dovecot it logs a warning. You said you started (=restarted?) dovecot, so I'd think you would see at least those.
Oh yes sorry. I filtered by time as well. Those are the warnings from the last restart:
Mar 24 19:13:18 hebus dovecot: master: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill) Mar 24 19:13:18 hebus dovecot: log: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill) Mar 24 19:13:18 hebus dovecot: config: Warning: Killed with signal 15 (by pid=1 uid=0 code=kill) Mar 24 19:13:18 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:18 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:18 hebus dovecot: imap(user1@mydomain.com): Error: write(anvil) failed: Interrupted system call Mar 24 19:13:21 hebus dovecot: master: Warning: /tmp is no longer mounted. See http://wiki2.dovecot.org/Mountpoints Mar 24 19:13:21 hebus dovecot: master: Warning: /var/tmp is no longer mounted. See http://wiki2.dovecot.org/Mountpoints what happened with /tmp and /var/tmp?
Not much. This are not mount points, just regular folders. At the moment they contains a variety of files from different dates.
On Sun, 2013-03-24 at 21:22 +0100, Matthieu wrote:
Mar 24 19:13:21 hebus dovecot: master: Warning: /tmp is no longer mounted. See http://wiki2.dovecot.org/Mountpoints Mar 24 19:13:21 hebus dovecot: master: Warning: /var/tmp is no longer mounted. See http://wiki2.dovecot.org/Mountpoints what happened with /tmp and /var/tmp?
Not much. This are not mount points, just regular folders. At the moment they contains a variety of files from different dates.
A lot of things need those directories, especially /tmp so I would investigate with high degree of urgency, why they are no longer available
Am 25.03.2013 01:29, schrieb Noel Butler:
On Sun, 2013-03-24 at 21:22 +0100, Matthieu wrote:
Mar 24 19:13:21 hebus dovecot: master: Warning: /tmp is no longer mounted. See http://wiki2.dovecot.org/Mountpoints Mar 24 19:13:21 hebus dovecot: master: Warning: /var/tmp is no longer mounted. See http://wiki2.dovecot.org/Mountpoints what happened with /tmp and /var/tmp?
Not much. This are not mount points, just regular folders. At the moment they contains a variety of files from different dates.
A lot of things need those directories, especially /tmp so I would investigate with high degree of urgency, why they are no longer available
it is a dovecot-bug to whine about ANY no longer present mount-point even if has nothing to do with mail at all
"no longer available" is relative
if you do not mount any partition to a mount-point it ends in a folder on the root-fs, the only harm in case of /tmp would be unmount it while services are active withour restart them
On 24.3.2013, at 22.09, Matthieu dovecot@pupat-ghestem.net wrote:
On 03/24/2013 09:04 PM, Timo Sirainen wrote:
On 24.3.2013, at 22.00, Matthieu dovecot@pupat-ghestem.net wrote:
On 03/24/2013 07:38 PM, Timo Sirainen wrote:
egrep -i dovecot.*(error|warning) /var/log/maillog The output of this command is empty. Every time you stop Dovecot it logs a warning. You said you started (=restarted?) dovecot, so I'd think you would see at least those.
Oh yes sorry. I filtered by time as well. Those are the warnings from the last restart:
Well .. If Dovecot has a problem it should have logged about it. I'm not aware of any way to cause it to hang otherwise. doveconf -n output could be helpful, it might have something to do with your auth settings.
Also it would help to know what happens when you connect to the IMAP port from localhost when it's hanging, and try to log in. Does it reply with the banner? Or does it hang only after using the login command? http://wiki2.dovecot.org/TestInstallation
On 03/24/2013 09:31 PM, Timo Sirainen wrote:
On 24.3.2013, at 22.09, Matthieu dovecot@pupat-ghestem.net wrote:
On 03/24/2013 09:04 PM, Timo Sirainen wrote:
On 24.3.2013, at 22.00, Matthieu dovecot@pupat-ghestem.net wrote:
On 03/24/2013 07:38 PM, Timo Sirainen wrote:
egrep -i dovecot.*(error|warning) /var/log/maillog The output of this command is empty. Every time you stop Dovecot it logs a warning. You said you started (=restarted?) dovecot, so I'd think you would see at least those.
Oh yes sorry. I filtered by time as well. Those are the warnings from the last restart: Well .. If Dovecot has a problem it should have logged about it. I'm not aware of any way to cause it to hang otherwise. doveconf -n output could be helpful, it might have something to do with your auth settings.
Also it would help to know what happens when you connect to the IMAP port from localhost when it's hanging, and try to log in. Does it reply with the banner? Or does it hang only after using the login command? http://wiki2.dovecot.org/TestInstallation
Attached is the output of dovecot -n
Regarding connecting to the IMAP port this would have to wait until the next time the hang happens.
On 24.3.2013, at 22.36, Matthieu dovecot@pupat-ghestem.net wrote:
Well .. If Dovecot has a problem it should have logged about it. I'm not aware of any way to cause it to hang otherwise. doveconf -n output could be helpful, it might have something to do with your auth settings.
Also it would help to know what happens when you connect to the IMAP port from localhost when it's hanging, and try to log in. Does it reply with the banner? Or does it hang only after using the login command? http://wiki2.dovecot.org/TestInstallation
Attached is the output of dovecot -n
That's a rather strange looking dovecot -n. You have every service listed there with name setting. That's not normal. And of course Raspberrypi .. wonder if it has something to do with it.
Regarding connecting to the IMAP port this would have to wait until the next time the hang happens.
Yeah. Also get a list of "ps auxw" output. straceing some processes (dovecot, imap-login) might be helpful too.
Hello,
The issue of dovecot becoming unresponsive happened again but after several weeks instead of just one as before. As advised before I tried to login through the IMAP port. Entering an incorrect password gets rejected right away. Entering a correct password just hangs indefinitely.
Attached are a file with the IMAPS exchange and corresponding lines in logs and another file with the output of ps aux.
Thanks in advance.
Hello,
The issue of dovecot becoming unresponsive happened again but after 16 days instead of just 7 as before.
$uptime 09:53:01 up 16 days, 20:23, 1 user, load average: 1.32, 1.01, 0.83
As advised before I tried to login through the IMAP port. Entering an incorrect password gets rejected right away. Entering a correct password just hangs indefinitely.
$openssl s_client -connect mail.pupat-ghestem.net:993 -quiet depth=0 CN = mail.pupat-ghestem.net verify error:num=20:unable to get local issuer certificate verify return:1 depth=0 CN = mail.pupat-ghestem.net verify error:num=27:certificate not trusted verify return:1 depth=0 CN = mail.pupat-ghestem.net verify error:num=21:unable to verify the first certificate verify return:1
- OK [CAPABILITY IMAP4rev1 LITERAL+ SASL-IR LOGIN-REFERRALS ID ENABLE IDLE AUTH=PLAIN] Dovecot ready. a1 LOGIN wrongUser wrongPassword a1 NO [AUTHENTICATIONFAILED] Authentication failed. a2 LOGIN goodUser goodPassword [HANGS]
Jan 15 09:58:58 hebus dovecot: imap-login: Login: user=<goodUser>,
method=PLAIN, rip=192.168.173.254, lip=192.168.173.2, mpid=29852, TLS,
session=
After a restart of dovecot everything works fine:
systemctl restart dovecot.service
Thanks in advance.
participants (5)
-
dovecot@pupat-ghestem.net
-
Matthieu
-
Noel Butler
-
Reindl Harald
-
Timo Sirainen