Re: Init script slowness

2011-10-09 Thread Thomas Cataldo
Hi, Thanks for all your infos. Your objections regarding my patch had me looking into how I run the script. I run the script from a Java VM. Understanding that you don't have the problem, I played with the -Xrs of the JVM that prevents it from interfering with sigquit... without any luck. Any

Init script slowness

2011-10-04 Thread Thomas Cataldo
Hi, could you consider the following patch to cyrus init script : diff --git a/debian/cyrus-common.cyrus-imapd.init b/debian/cyrus-common.cyrus-imapd.init index fc85485..282ac8d 100755 --- a/debian/cyrus-common.cyrus-imapd.init +++ b/debian/cyrus-common.cyrus-imapd.init @@ -172,7 +172,7 @@

Re: Init script slowness

2011-10-04 Thread Henrique de Moraes Holschuh
On Tue, 04 Oct 2011, Thomas Cataldo wrote: diff --git a/debian/cyrus-common.cyrus-imapd.init b/debian/cyrus-common.cyrus-imapd.init index fc85485..282ac8d 100755 --- a/debian/cyrus-common.cyrus-imapd.init +++ b/debian/cyrus-common.cyrus-imapd.init @@ -172,7 +172,7 @@ do_stop()

Re: Init script slowness

2011-10-04 Thread Henrique de Moraes Holschuh
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

Re: Init script slowness

2011-10-04 Thread Steven Kurylo
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?

Re: Init script slowness

2011-10-04 Thread Henrique de Moraes Holschuh
On Tue, 04 Oct 2011, Steven Kurylo wrote: 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