I'm running dovecot under runit:
#!/bin/sh
echo '/var/core/%p' > /proc/sys/kernel/core_pattern
ulimit -n 8096
ulimit -c unlimited
exec /usr/local/sbin/dovecot -F
(that way, together with incron, I can automatically generate the
coredumps I'm posting all the time)
If I apply a patch and recompile
On 21.1.2010, at 16.35, Ralf Hildebrandt wrote:
> Which part of the process structure can be killed and takes all it's
> children with it?
>
> ├─runsvdir─┬─runsv───ntpd
> │ ├─runsv─┬─dovecot─┬─2*[dovecot-auth]
> │ │ │ ├─1203*[imap]
> │ │
* Timo Sirainen :
> If you set shutdown_clients=yes. Although even with =no it should stop
> listening.
shutdown_clients=yes is the default? I think it is :)
> I guess there can be bugs.. But in general the processes should notice
> immediately that master died, and immediately close their l