You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by software <so...@ciat.cgiar.org> on 2004/02/27 17:36:13 UTC
Help tomcat problem with memory
Hi i have installed apache 13.24 with 2 tomcats 4.0.3 with loadbalancer
is woring fine but the problem when i'm using the ps -ef | grep java
command i've saw many java process justa like these:
21430 root 15 0 139M 139M 49444 S 0.0 13.8 0:00 java
21431 root 15 0 139M 139M 49444 S 0.0 13.8 0:00 java
21443 root 15 0 139M 139M 49444 S 0.0 13.8 0:07 java
21444 root 20 0 139M 139M 49444 S 0.0 13.8 0:00 java
21445 root 20 0 139M 139M 49444 S 0.0 13.8 0:00 java
21446 root 15 0 139M 139M 49444 S 0.0 13.8 0:06 java
21454 root 15 0 139M 139M 49444 S 0.0 13.8 0:00 java
21457 root 15 0 139M 139M 49444 S 0.0 13.8 0:00 java
21458 root 15 0 139M 139M 49444 S 0.0 13.8 0:00 java
21460 root 15 0 139M 139M 49444 S 0.0 13.8 0:00 java
21462 root 15 0 139M 139M 49444 S 0.0 13.8 0:00 java
21464 root 15 0 139M 139M 49444 S 0.0 13.8 0:00 java
21466 root 15 0 139M 139M 49444 S 0.0 13.8 0:00 java
21468 root 16 0 139M 139M 49444 S 0.0 13.8 0:04 java
21469 root 15 0 139M 139M 49444 S 0.0 13.8 0:03 java
looking the internet, the solution is use the -Xmx , -Xms and use the
className="org.apache.tomcat.service.PoolTcpConnector" and i'm working
with Ajp13
<!-- A pooled AJPV12 Connector for out-of-process operation -->
<Connector className="org.apache.tomcat.service.PoolTcpConnector">
<Parameter name="handler"
value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/>
<Parameter name="port" value="8007"/>
<Parameter name="max_threads" value="30"/>
<Parameter name="max_spare_threads" value="20"/>
<Parameter name="min_spare_threads" value="5" />
</Connector>
Thanks
Fabian
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
RE: Help tomcat problem with memory
Posted by SH Solutions <sh...@gmx.net>.
So what's your problem?
-----Original Message-----
From: software [mailto:software@ciat.cgiar.org]
Sent: Friday, February 27, 2004 5:36 PM
To: tomcat-user@jakarta.apache.org
Subject: Help tomcat problem with memory
Importance: High
Hi i have installed apache 13.24 with 2 tomcats 4.0.3 with loadbalancer is
woring fine but the problem when i'm using the ps -ef | grep java command
i've saw many java process justa like these:
21430 root 15 0 139M 139M 49444 S 0.0 13.8 0:00 java
21431 root 15 0 139M 139M 49444 S 0.0 13.8 0:00 java
21443 root 15 0 139M 139M 49444 S 0.0 13.8 0:07 java
21444 root 20 0 139M 139M 49444 S 0.0 13.8 0:00 java
21445 root 20 0 139M 139M 49444 S 0.0 13.8 0:00 java
21446 root 15 0 139M 139M 49444 S 0.0 13.8 0:06 java
21454 root 15 0 139M 139M 49444 S 0.0 13.8 0:00 java
21457 root 15 0 139M 139M 49444 S 0.0 13.8 0:00 java
21458 root 15 0 139M 139M 49444 S 0.0 13.8 0:00 java
21460 root 15 0 139M 139M 49444 S 0.0 13.8 0:00 java
21462 root 15 0 139M 139M 49444 S 0.0 13.8 0:00 java
21464 root 15 0 139M 139M 49444 S 0.0 13.8 0:00 java
21466 root 15 0 139M 139M 49444 S 0.0 13.8 0:00 java
21468 root 16 0 139M 139M 49444 S 0.0 13.8 0:04 java
21469 root 15 0 139M 139M 49444 S 0.0 13.8 0:03 java
looking the internet, the solution is use the -Xmx , -Xms and use the
className="org.apache.tomcat.service.PoolTcpConnector" and i'm working
with Ajp13
<!-- A pooled AJPV12 Connector for out-of-process operation --> <Connector
className="org.apache.tomcat.service.PoolTcpConnector">
<Parameter name="handler"
value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/>
<Parameter name="port" value="8007"/>
<Parameter name="max_threads" value="30"/> <Parameter
name="max_spare_threads" value="20"/> <Parameter name="min_spare_threads"
value="5" /> </Connector>
Thanks
Fabian
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org
---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org