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"
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
220 processes: 218 sleeping, 2 running, 0 zombie, 0 stopped
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 buff
Swap: 2096376K av, 58748K used, 2037628K free 706776K cached
PID USER PRI NI SIZE RSS SHARE STAT %CPU %MEM TIME COMMAND 23447 root 25 0 86252 84M 18864 S 0.0 8.3 0:02 java 23461 root 15 0 86252 84M 18864 S 0.0 8.3 0:00 java 23462 root 15 0 86252 84M 18864 S 0.0 8.3 0:03 java 23463 root 15 0 86252 84M 18864 S 0.0 8.3 0:00 java 23464 root 15 0 86252 84M 18864 S 0.0 8.3 0:00 java 23474 root 15 0 86252 84M 18864 S 0.5 8.3 0:03 java 23475 root 20 0 86252 84M 18864 S 0.0 8.3 0:00 java 23476 root 20 0 86252 84M 18864 S 0.0 8.3 0:00 java
Ralph Einfeldt wrote:
To what value did you set -Xms, -Xmm ? Can you post the statement that sets the values ? (Have seen to much typos in the past) How much memory has your box ?
What says the cpu load ?
Can you post the head of the top output hat shows the overall memory usage ?
Are both tomcat instances on the same server ?
Unless you have less than ~150 MB RAM I wouldn't expect that the memory usage is the problem if
each tomcat has it's own server, if they share the same server the box would need rougly 300 MB (Depending on how much memory is used by other processes)
Remember that all threads of the same vm share their memory.
-----Original Message----- From: software [mailto:[EMAIL PROTECTED] Sent: Friday, February 27, 2004 6:07 PM To: Tomcat Users List Subject: Re: Help tomcat problem with memory Importance: High
Yes i've configured the Tomcat environment -Xms, -Xmm but i think it doesn't work, because it's consume the server memory until 145 Mb per process i need to limit the number of java proccess and the memory that they consume on my Linux Red Hat 7.3 server
thanks a lot fabian
Ralph Einfeldt wrote:
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
