tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Shapira, Yoav" <>
Subject RE: Modify the default JVM settings to improve Tomcat performance
Date Thu, 29 Aug 2002 13:43:22 GMT
What version of tomcat are you using?

Regardless, you say that "I don't know Java very good and I don't
understand how modify JVM parameters."  And yet you seem convinced that
you need to modify your JVM parameters?  That kind of seems like a
recipe for a disaster.

I will say this: you can gain a *ton* from properly tuning your JVM
runtime options.  However, you need to know your application really
well, preferably profile it on an ongoing basis.  You need to have a
staging or test environment that is comparable to your production
environment in scale, computing power, OS level and patches, JDK
version, etc.  That's the only way to validate these runtime option

Or... You could experiment and see what happens ;)  All the options are
available at:
Check out the VM options page and the performance and scalability guide.

For tomcat 4.x, you can set these options in a number of places.  A good
one to start with is the $CATALINA_HOME/bin/ (or atalina.bat
if running on windows) file as your JAVA_OPTS variable.

Yoav Shapira
Millennium ChemInformatics

>-----Original Message-----
>From: Heligon Sandra []
>Sent: Thursday, August 29, 2002 4:16 AM
>To: ''
>Subject: Modify the default JVM settings to improve Tomcat performance
>	Hi,
>	I am creating a web application where Apache and Tomcat work
>	I read a document "Real World Configuration Tips" that explains
>	Tomcat performance.
>	It is recommended to modify JVM parameters but I don't know Java
>very good and
>	I don't understand how modify JVM parameters.
>	I understood that several JVM can be installed on the same
>(JVM of  Windows,
>	JVM delivered with the development tools JBuilder in my case, or
>other version downloaded
>	from the Sun's site) .
>	What JVM do we use ?
>	The JDK has to be compatible with the module (mod_jk) under
>	It is recommended to modify the default JVM settings (memory,
>threading configurations ...).
>	How can I modify these parameters ?
>	I don't find any JVM.conf file.
>	I use JDK1.3 with Jbuilder and I downloaded too the JDK1.4.
>	Thanks a lot in advance.
>To unsubscribe, e-mail:   <mailto:tomcat-user-
>For additional commands, e-mail: <mailto:tomcat-user-

View raw message