doveadm-server hangs with 100% cpu usage

Dennis Kuhn d.kuhn at heinlein-support.de
Thu Apr 23 15:32:27 UTC 2015


On 21.04.2015 21:50, Timo Sirainen wrote:
> On 20 Apr 2015, at 19:10, Dennis Kuhn <d.kuhn at heinlein-support.de> wrote:

>> My workaround is to delete the user directory on the replica  so that
>> the whole account is replicated again. This solves the problem for this
>> specific account.
> 
> So killing the doveadm-server process will cause it to hang again for the same user? That's good, since it means it can be reproduced by taking a copy of the mailboxes and trying to run "doveadm sync" manually on them locally, e.g.:
> 
> doveadm -D -o mail=mdbox:/tmp/mdbox1 sync mdbox:/tmp/mdbox2
> 
> Does that hang? If yes, we can get further with it. The -D parameter is also helpful here - v2.2.16 logs much more useful debug logging with dsync that can also help catch these kind of hangs. Even if you can't reproduce the hang the above way, having mail_debug=yes for dsync and getting the debug logs from a hanging session would be useful. (But it may also mean that a hang might start flooding your logs with debug messages and eat up all the disk space.)
> 

i will produce a debug log when the problem occurs next time. For the
last few days everything is working fine.


More information about the dovecot mailing list