If u would notice all the tomcat process are using the same memory and CPU, which in fact is the total memory/CPU used by all of them together and NOT memory/CPU used by an individual process.
This probably is a bug when u use native threads, i do not know if it is a bug only on Linux or other platforms too.
if you shift from native threads to green threads(in this case the JVM internally controls all the threads) you will see only one java process and the amount of memory/CPU will approximately be same as, as with native threads. You can atleast feel happy that there are not too many processes. :-)
Since you are using native threads the number of process should not bother u, the CPU/memory should be the issue.
hth, Shuklix
----Original Message----- From: linuxers-admin@mm.ilug-bom.org.in [mailto:linuxers-admin@mm.ilug-bom.org.in]On Behalf Of Amish Mehta Sent: Friday, July 06, 2001 7:31 PM To: linuxers@mm.ilug-bom.org.in Subject: Re: [ILUG-BOM] my tomcat has more than 9 lives
I dont have much idea but I will try to tell you what I know.
In server.xml use PoolTcpConnector as connector and specify max_threads, max_spare_threads, min_spare_threads paramters.
You might have to see installation documentation for details.
Bye Amish.
there are about 30 java processes running, all attached to tomcat. > Any
ideas? Anything I should try? Anything else you need to know?