startup.sh calls catalina.sh

________________________________

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Joe DeSouza
Sent: Wednesday, October 08, 2008 12:05 PM
To: [email protected]
Subject: Re: Slightly OT: Tomcat configuration for heap size
configuration


Fred,

Are you starting Tomcat using catalina.sh and not startup.sh?? I use
startup.sh which is why I had my setting in there but I'm not quite sure
if that's the way to go with 5.5.X.

Joe 


----- Original Message ----
From: "Grooms, Frederick W" <[EMAIL PROTECTED]>
To: [email protected]
Sent: Wednesday, October 8, 2008 10:36:15 AM
Subject: Re: Slightly OT: Tomcat configuration for heap size
configuration


It probably depends on what you are trying to use from the web.
 
I set the values in the catalina.sh script (so it only affects Tomcat)
CATALINA_OPTS="-server -Xms1024m -Xmx2048m -Xss3m"; export CATALINA_OPTS

Fred


________________________________

From: Action Request System discussion list(ARSList)
[mailto:[EMAIL PROTECTED] On Behalf Of Joe DeSouza
Sent: Tuesday, October 07, 2008 6:19 PM
To: [email protected]
Subject: Slightly OT: Tomcat configuration for heap size configuration


I have a little confusion about what the setting should be. I am on
Redhat version 4 and Tomcat 5.5.25

Currently I have the following line to set JAVA_OPT in my startup.sh
file.
JAVA_OPT="-DXmn1536m -DXmx2560m"; export JAVA_OPT
For min and max memory.

But on looking online for typical JAVA_OPT settings, I've noticed that
Tomcat no longer uses the mn for minimum and this might be replaced with
ms for initial memory instead of minimum memory. So should my settings
be changed to
JAVA_OPT="-DXms1536m -DXmx2560m"; export JAVA_OPT

What have you got on your startup.sh file or what have you got JAVA_OPT
set as in the environment?

Joe


_______________________________________________________________________________
UNSUBSCRIBE or access ARSlist Archives at www.arslist.org
Platinum Sponsor: www.rmsportal.com ARSlist: "Where the Answers Are"

Reply via email to