Re: Tomcat pausing and no java process

2012-06-18 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel, (Bringing this back onto the list) On 6/17/12 5:11 AM, Miguel González Castaños wrote: > This weekend I made a test to upgrade from 1.5 32 bits jdk to a 1.7 > 64 bits jdk. Unfortunately even I increase the heap memory to 1gb, > the system get

Re: Tomcat pausing and no java process

2012-06-12 Thread Miguel González Castaños
On 07/05/2012 23:13, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel, On 5/5/12 5:41 AM, Miguel González Castaños wrote: Yes, I have pinpointed several queries that took quite long and specially subqueries. I forwarded this info to the developer but she said it

Re: Tomcat pausing and no java process

2012-05-07 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel, On 5/5/12 5:41 AM, Miguel González Castaños wrote: >>> Yes, I have pinpointed several queries that took quite long >>> and specially subqueries. I forwarded this info to the >>> developer but she said it was alright. More than a second to >>>

Re: Tomcat pausing and no java process

2012-05-05 Thread Miguel González Castaños
Yes, I have pinpointed several queries that took quite long and specially subqueries. I forwarded this info to the developer but she said it was alright. More than a second to run a query seems to be a lot to me. That depends on what the query does. If it checks permissions to login, that's ins

Re: Tomcat pausing and no java process

2012-05-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel, On 5/3/12 2:25 PM, Miguel González Castaños wrote: >> Just the -XX:+HeapDumpOnOutOfMemoryError you already have. >> Tomcat usually doesn't shut down nicely (as evidenced by the >> "pausing" of connectors in your log file) when you get an OOME.

Re: Tomcat pausing and no java process

2012-05-03 Thread Miguel González Castaños
Just the -XX:+HeapDumpOnOutOfMemoryError you already have. Tomcat usually doesn't shut down nicely (as evidenced by the "pausing" of connectors in your log file) when you get an OOME. Are you sure that weekly Tomcat-restart process isn't still running? Yes, it's still running. Should i disable it

Re: Tomcat pausing and no java process

2012-05-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel, On 5/3/12 1:02 PM, Miguel González Castaños wrote: > Any setting that can generate a dump automatically as for out of > memory errors? Just the -XX:+HeapDumpOnOutOfMemoryError you already have. Tomcat usually doesn't shut down nicely (as evid

Re: Tomcat pausing and no java process

2012-05-03 Thread Miguel González Castaños
On 03/05/2012 18:21, Christopher Schultz wrote: -BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel, On 5/3/12 11:37 AM, Miguel González Castaños wrote: We had several crashes today: First - 1 outofmemory error Second- 3 Tomcat pausing Do you mean that Tomcat actually paused its connectors,

Re: Tomcat pausing and no java process

2012-05-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel, On 5/3/12 11:37 AM, Miguel González Castaños wrote: > We had several crashes today: > > First - 1 outofmemory error Second- 3 Tomcat pausing Do you mean that Tomcat actually paused its connectors, or do you mean that your site became unrespo

Re: Tomcat pausing and no java process

2012-05-03 Thread Miguel González Castaños
Unlikely. If you are using SSL or serving large static files, APR/tcnative should be something that you look into using. I do use SSL, but all is dynamic jsps Honestly, I would put more effort into upgrading to a more recent version of Tomcat than looking into using APR/tcnative. No errors

Re: Tomcat pausing and no java process

2012-05-03 Thread Pid
On 03/05/2012 15:59, Christopher Schultz wrote: > Miguel, > > On 5/3/12 10:28 AM, Miguel González Castaños wrote: >> On 03/05/2012 15:29, Pid wrote: >>> On 03/05/2012 11:35, Miguel González Castaños wrote: Dear all, My Tomcat 5.5 server reports in catalina.out under heavy load

Re: Tomcat pausing and no java process

2012-05-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel, On 5/3/12 10:28 AM, Miguel González Castaños wrote: > On 03/05/2012 15:29, Pid wrote: >> On 03/05/2012 11:35, Miguel González Castaños wrote: >>> Dear all, >>> >>> My Tomcat 5.5 server reports in catalina.out under heavy load >>> that Tomcat

Re: Tomcat pausing and no java process

2012-05-03 Thread Vernat Emeric
Hi Miguel, To be more precise about used memory and active threads count, I think that you could send a screenshot of the main graphics of javamelody in your browser (used memory, http sessions, active threads, etc...). And once you have the heap dump as said by Christopher, "Eclipse MAT" is

Re: Tomcat pausing and no java process

2012-05-03 Thread Christopher Schultz
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Miguel, On 5/3/12 6:35 AM, Miguel González Castaños wrote: > Anything I can check or any setting I can set to get more > information in the next crash? Add "-XX:+HeapDumpOnOutOfMemoryError" to your CATALINA_OPTS environment variable before you launch

Re: Tomcat pausing and no java process

2012-05-03 Thread Miguel González Castaños
On 03/05/2012 15:29, Pid wrote: On 03/05/2012 11:35, Miguel González Castaños wrote: Dear all, My Tomcat 5.5 server reports in catalina.out under heavy load that Tomcat is pausing. I checked and no java process was running and I had to start Tomcat manually. Can you post an example of the m

Re: Tomcat pausing and no java process

2012-05-03 Thread Pid
On 03/05/2012 11:35, Miguel González Castaños wrote: > Dear all, > > My Tomcat 5.5 server reports in catalina.out under heavy load that > Tomcat is pausing. I checked and no java process was running and I had > to start Tomcat manually. Can you post an example of the message from catalina.out t