If you weren't aware of what Hamilton mentioned, try a "ps awxu --forest |
grep java", and you will get a listing of processes with their child threads
in a tree view.

> -----Original Message-----
> From: Hamilton Andrew [mailto:[EMAIL PROTECTED] 
> Sent: Friday, February 27, 2004 9:44 AM
> To: Tomcat Users List
> Subject: RE: Help tomcat problem with memory
> 
> 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]
> 


__ 
    This communication is intended for the use of the recipient to whom it
    is addressed, and may contain confidential, personal, and or privileged
    information. Please contact us immediately if you are not the intended
    recipient of this communication, and do not copy, distribute, or take
    action relying on it. Any communications received in error, or
    subsequent reply, should be deleted or destroyed.
---

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

Reply via email to