Init script slowness
skurylo at gmail.com
Tue Oct 4 17:42:41 UTC 2011
On Tue, Oct 4, 2011 at 10:28 AM, Henrique de Moraes Holschuh
<hmh at debian.org> wrote:
> On Tue, 04 Oct 2011, Ondřej Surý wrote:
>> I agree on fixing SIGQUIT behaviour.
> Does anyone have an easy way to test whether sigquit is doing the right
> thing on open but idle connections of the various protocols? After all, if
> does not have an open transaction _now_, it should get immediately closed by
> a sigquit...
Checking in proc, my user has 5 imapd processes right now.
I attached strace to them one at a time, then issued a sigquit. Each
time the process exited immediately. The logs show something like:
Oct 4 10:36:50 thetis cyrus/imaps: fetching user_deny.db entry
Oct 4 10:37:55 thetis cyrus/imaps: auditlog: traffic
Oct 4 10:37:55 thetis cyrus/master: process 12021 exited, status 75
Oct 4 10:37:55 thetis cyrus/master: service imaps pid 12021 in
BUSY state: terminated abnormally
I haven't had an issue with shut down taking the full 30 seconds.
Seeing a strace and the log files from a pid on a machine exhibiting
this behavoir would be interesting.
More information about the Pkg-Cyrus-imapd-Debian-devel