Re: tomcat shutdown: catalina.sh STOP vs SIGTERM

2010-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ajay, On 3/8/2010 12:53 PM, Aggarwal, Ajay wrote: Sometimes on a busy system I have seen that catalina.sh stop does take a long time to shutdown tomcat. You might want to investigate why this is happening: my Tomcat instances (we have 4 in

Re: tomcat shutdown: catalina.sh STOP vs SIGTERM

2010-03-08 Thread Hassan Schroeder
On Mon, Mar 8, 2010 at 9:53 AM, Aggarwal, Ajay ajay.aggar...@stratus.com wrote: What is  the downside of using SIGTERM, if any? It does seem to bring tomcat down in an orderly manner and much faster than catalina.sh stop. Yeah, seem to would be the operative phrase, I think. A leap off a

RE: tomcat shutdown: catalina.sh STOP vs SIGTERM

2010-03-08 Thread Aggarwal, Ajay
...@christopherschultz.net] Sent: Monday, March 08, 2010 1:33 PM To: Tomcat Users List Subject: Re: tomcat shutdown: catalina.sh STOP vs SIGTERM -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ajay, On 3/8/2010 12:53 PM, Aggarwal, Ajay wrote: Sometimes on a busy system I have seen that catalina.sh stop

Re: tomcat shutdown: catalina.sh STOP vs SIGTERM

2010-03-08 Thread Konstantin Kolinko
2010/3/8 Aggarwal, Ajay ajay.aggar...@stratus.com: When I send SIGTERM to tomcat, I actually do get Tomcat installs a shutdown hook into JVM so that it will shutdown gracefully. There is a problem though that if there are several shutdown hooks then they run in parallel. That is particularly

Re: tomcat shutdown: catalina.sh STOP vs SIGTERM

2010-03-08 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Ajay, On 3/8/2010 2:56 PM, Aggarwal, Ajay wrote: When I send SIGTERM to tomcat, I actually do get 1) these messages in my catalina.out Mar 8, 2010 2:46:05 PM org.apache.catalina.core.StandardService stop INFO: Stopping service Catalina

RE: tomcat shutdown: catalina.sh STOP vs SIGTERM

2010-03-08 Thread Caldarale, Charles R
From: Christopher Schultz [mailto:ch...@christopherschultz.net] Subject: Re: tomcat shutdown: catalina.sh STOP vs SIGTERM I'm not sure why it would take 20-30 seconds for you to see the above message: it should be immediate. One possible cause is specifying a large heap size in JAVA_OPTS