[Dovecot] imap processes remaing after dovecot shutdown
Hello,
I'm using dovecot-1.0.beta3. When I shutdown dovecot (kill -term on the master-pid) the main process disappears, but all the child processes still remain. Why doesn't dovecot kill them as I shutdown the master-process? When I shutdown mysql, all child processes will be shutdown, too. When I shutdown apache, all child processes willbe shutdown, too. Thats what I expect on every application. Usually there is no need to shutdown dovecot. But for some reasons, from time to time 50 and more processes of one user are running and I don't know how else to get rid of them. I don't like to kill the child processes always manually.
Regards Marten
but "-9" option is not a very healthy way of killing processes. I use "killall dovecot imap". But I agree that it should kill them all like it kills imap-auth etc.
-- Sebastjan http://www.trepca.si/blog
On 4/1/06, Sysadmin <sysadmin@e-positive.ee> wrote:
Hello,
that's a workaround, not a straight solution. Why does it work correctly in apache? The Init V script of apache doesn't contain any "killall -9". And at that, I cannot even use this workaround, because I have an instance of dovecot for pop3 and one instance for imap because of different ip-addresses and different authentication. A "killall -9 dovecot" would kill all dovecot processes, although I only want to shutdown one instance.
Regards Marten
participants (4)
-
Marten Lehmann
-
Sebastjan Trepca
-
Sysadmin
-
Timo Sirainen