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

Adrian,

On 11/17/11 10:53 PM, Adrian Zara wrote:
> I am using Tomcat 5.5.31 and most of the time (one in every two
> attempts) when I restart the tomcat (during shutdown or when
> starting up), the server crashes.

And the error message is what? Does the JVM crash? Does the webapp
crash? Does Tomcat crash? Does the kernel panic? When I see "panic", I
think kernel.

> Kindly refer to the following information/specification you may
> find useful regarding on my inquiry:
> 
> Tomcat Version: 5.5.31 JAVA_OPTS='-Xmx1024m -XX:+AggressiveHeap'
> (settings in the catalina.sh)

As Chuck points out, you want to use CATALINA_OPTS. Do you really need
AggressiveHeap?

> Server info: Redhat 3.9.2-6.fc3 CPU: 3.4 GHz Memory: 2GB

How many CPUs? A quick Google search for AggressiveHeap seems to
indicate that a multi-CPU configuration with large amounts of RAM seem
to be the scenario under which AggressiveHeap works best. You don't
have much RAM. Do you have a 16-way CPU in that tiny box?

> Please advise whether do we need to change any settings in Tomcat
> in order to prevent the server panic.

You need to provide more information about the failure.

> JVM version: gij (GNU libgcj) version 3.4.2 20041017 (Red Hat
> 3.4.2-6.fc3)

IIRC, GNU Java is not an appropriate JVM to use for a servlet
container. Lots of people have had really bizarre problems over the
years running it, and when the switched to the Sun JVM everything got
better. You might want to try switching JVMs.

Also, since it looks like you are just starting out with a new system,
why not upgrade to the latest version of Tomcat? 5.5.31 is fairly
outdated at this point. Tomcat 7 is where the action is these days.

- -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/

iEYEARECAAYFAk7GdtEACgkQ9CaO5/Lv0PABPgCfWIt1UnD1XH/0EqdpbJsTn6Ac
PYsAmQGApepTQOeelfZGzKmxks8vpoT4
=6InO
-----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