So,

Hi this  the statemens that i posted in the catalina.sh file
JAVA_HOME=/usr/java/j2sdk1.4.0 ; export JAVA_HOME
CATALINA_HOME=/usr/local/tomcat1 ; export CATALINA_HOME
JAVA_OPST="-server -Xms30m -Xmx40m -Dfile.encoding=ISO-8859-1"
CATALINA_OPTS="-Xms30m -Xmx40m"

Your app seems to be taking more than "30m", eh? Try "30M" -- it might be case sensitive. Although the VM and Tomcat might not even be able to load and get anything done in that little memory.

This the output of the top command and both tomcats has been installed in the same server

1:22pm up 21 days, 5:36, 6 users, load average: 0.17, 0.23, 0.28

Your load average looks great. What's the problem?

CPU0 states: 9.5% user, 4.0% system, 0.0% nice, 85.5% idle
CPU1 states: 7.4% user, 8.5% system, 0.4% nice, 83.3% idle
Mem: 1030580K av, 1019220K used, 11360K free, 0K shrd, 92348K

You've got a dual-CPU machine with a gig of RAM and your app is responding slowly? What are you running?

buff
Swap: 2096376K av, 58748K used, 2037628K free 706776K

Your swap hasn't been touched. Unless you have a totally braindead app, something is terribly wrong if it's really not responding.

Have you hooked up a profiler to your app?

-chris

Attachment: signature.asc
Description: OpenPGP digital signature



Reply via email to