On Tue, Oct 4, 2011 at 10:28 AM, Henrique de Moraes Holschuh
<h...@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[12021]: fetching user_deny.db entry
for 'stevenkurylo'
Oct  4 10:37:55 thetis cyrus/imaps[12021]: auditlog: traffic
sessionid=<cyrus-12021-1317741678-1> bytes_in=<16484>
bytes_out=<80756>
Oct  4 10:37:55 thetis cyrus/master[1325]: process 12021 exited, status 75
Oct  4 10:37:55 thetis cyrus/master[1325]: 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.

_______________________________________________
Pkg-Cyrus-imapd-Debian-devel mailing list
Pkg-Cyrus-imapd-Debian-devel@lists.alioth.debian.org
http://lists.alioth.debian.org/cgi-bin/mailman/listinfo/pkg-cyrus-imapd-debian-devel

Reply via email to