tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Carl" <>
Subject Re: Tomcat dies suddenly
Date Thu, 04 Feb 2010 01:07:54 GMT

Interesting idea.  I tried over the weekend to force that situation with 
JMeter hitting a simple jsp that did some data stuff and created a small 
display.  I pushed it to the point that there were entries in the log 
stating it was out of memory (when attempting to GC, I think) but it just 
slowed way down and never crashed.  I could see from VisualJVM that it had 
used the entire heap but, again, I could never get it to crash.

Strange because it doesn't have the classic signs (slowing down or throwing 
out of memory exceptions or freezing), it just disappears without any 
tracks.  I am certain there is a reason somewhere, I just haven't found it 

Thanks for your suggestions,


----- Original Message ----- 
From: "Christopher Schultz" <>
To: "Tomcat Users List" <>
Sent: Wednesday, February 03, 2010 5:45 PM
Subject: Re: Tomcat dies suddenly

> Hash: SHA1
> Chuck,
> On 2/3/2010 5:00 PM, Caldarale, Charles R wrote:
>>> From: Carl []
>>> Subject: Re: Tomcat dies suddenly
>>> I am hoping I can see failure at the point of failure
>>> with the heap dump options
>> That won't have any effect on the Linux OOM killer.  If it is the OOM 
>> killer taking out Tomcat, the JVM will not receive any notification - all 
>> threads will just be terminated with extreme prejudice.  There won't be a 
>> chance for the heap dump to happen.
> Maybe what Carl should try is to actually cause an OOME without
> triggering the "OOM Killer".
> Carl: you said that everything is copacetic when you run with a smaller
> heap, right? Well, run with that smaller heap, but then write a simply
> servlet/JSP/whatever that just allocates huge, say, byte[] buffers until
> it gets an OOME and verify that you get a heap dump when that happens.
> - -chris
> Version: GnuPG v1.4.10 (MingW32)
> Comment: Using GnuPG with Mozilla -
> 2J8AoL8ENGsYxwudtFrLy+tZTzmr/rxC
> =4yC9
> ---------------------------------------------------------------------
> To unsubscribe, e-mail:
> For additional commands, e-mail:

To unsubscribe, e-mail:
For additional commands, e-mail:

View raw message