Orphaned processes after doveadm log reopen

Tom Sommer mail at tomsommer.dk
Mon Jul 8 14:36:59 EEST 2019


I rotate logs every night on my Director, running "doveadm log reopen"

I've noticed a problem with processes not closing correctly, they can be 
open for days and cause corrupt index files because they are connected 
to different backends (so it writes to the wrong server when the process 
disconnects)

23518 ?        S    140:53 dovecot/anvil [4 connections]
23519 ?        S    444:45 dovecot/log
23520 ?        S    497:19 dovecot/imap-login [8 pre-login + 27 proxies]
23531 ?        S      0:27 dovecot/config
26201 ?        S    551:53 dovecot/imap-login [7 pre-login + 33 proxies]
22126 ?        S    960:15 dovecot/pop3-login [28 pre-login + 396 
proxies]
59515 ?        S    218:32 dovecot/pop3-login [44 pre-login + 468 
proxies]

Is there any way to force these orphaned processes to terminate after a 
certain time?

-- 
Tom


More information about the dovecot mailing list