Hi, my problem is that the performance of my server linux redhat 7.3 is down because when a try to get acceso to some application (for java) in my webserver i have to wait a lot of time, somtimes i've got acces sometime it didn't happen ... when i use ps -ef | grep java i getting many proccess with java using more or less 145 MB of my memory and i have in this moment 105 proccess using 145 MB.

Thanks for you help



Hamilton Andrew wrote:

So what's your problem?  Are you using Linux?  Did you know that Linux shows
threads as processes using "ps"?  Are you running out of memory?  A little
more information would be helpful.

Regards,
Drew

-----Original Message-----
From: software [mailto:[EMAIL PROTECTED]
Sent: Friday, February 27, 2004 11:36 AM
To: [EMAIL PROTECTED]
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: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]





---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



Reply via email to