-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Chuck,

On 11/18/11 2:46 AM, Caldarale, Charles R wrote:
>> From: Adrian Zara [mailto:adrian.z...@aonhewitt.com] Subject:
>> Re: Tomcat Causes Server to go Panic/Crash
> 
>> As you can see in the JAVA_OPTS setting, I have set the max heap 
>> size to 1G which is 50% of the total physical memory and, if I'm 
>> not mistaken, I think we are running only one application in the 
>> tomcat so I don't think it's memory related but still not sure.
> 
> Your problem highly likely is memory related.  By setting
> JAVA_OPTS instead of CATALINA_OPTS you are trying to run both the
> Tomcat process and the shutdown process with 1 GB heaps each, plus
> the amount of memory needed for code, stacks, and other data areas
> of the two processes, plus whatever else is running in the
> machine.

It's worth pointing out that Adrian has set the *max* heap to 1GiB,
not the min-and-max, so the shutdown process is very unlikely to
actually use that much heap space.

> So put in a real JVM, set CATALINA_OPTS rather than JAVA_OPTS in
> setenv.sh, and try again.

+1

And upgrade everything. RedHat 3? That's from 2004. Is it RHEL? Well,
then you've made it all the way up to 2007. Wow, mailer is Lotus
Notes? Sheesh...

- -chris

-----BEGIN PGP SIGNATURE-----
Version: GnuPG/MacGPG2 v2.0.17 (Darwin)
Comment: GPGTools - http://gpgtools.org
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk7GeFgACgkQ9CaO5/Lv0PA6lACgxGVQD6XTTzRKb2BJHWtZJ5rv
9woAn2mgD7TX0HZ9io0gwRu6H8Ied0ET
=dXGE
-----END PGP SIGNATURE-----

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

Reply via email to