tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Christopher Schultz <ch...@christopherschultz.net>
Subject Re: Tomcat dies suddenly
Date Wed, 03 Feb 2010 22:45:37 GMT
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chuck,

On 2/3/2010 5:00 PM, Caldarale, Charles R wrote:
>> From: Carl [mailto:carl@etrak-plus.com]
>> 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
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.10 (MingW32)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAktp/JEACgkQ9CaO5/Lv0PBI0ACgmDLJVxM5xDiN5UIFsqqKRj7i
2J8AoL8ENGsYxwudtFrLy+tZTzmr/rxC
=4yC9
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe@tomcat.apache.org
For additional commands, e-mail: users-help@tomcat.apache.org


Mime
View raw message