Faq faq faq!!!!

http://jakarta.apache.org/tomcat/faq/unix.html#ps


-Tim

Shapira, Yoav wrote:

Hi,
It depends on your kernel: most show the behavior Senor Schroeder
describes (so what you're seeing is expected, not a problem).  Some more
recent kernels/thread libs correctly show one process per JVM.

As to why 41 specifically: there's a handful JVM default threads (main,
finalizer, system, etc.), a handful default tomcat threads (its own
main, any watchdogs, etc.), and many request processors (depending on
your server.xml connector configuration).

Yoav Shapira
Millennium Research Informatics



-----Original Message-----
From: Kevin Schroeder [mailto:[EMAIL PROTECTED]
Sent: Monday, May 17, 2004 6:08 PM
To: Tomcat Users List; [EMAIL PROTECTED]
Subject: Re: Why 41 processes with Tomcat under Linux

I might be wrong about this, but I believe that under Linux each thread
shows up as a process.  In my own multi-threaded applications I see

many

threads under "ps" when I start a single instance of that program.

Kevin



----- Original Message -----
From: "Bob White" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Monday, May 17, 2004 5:04 PM
Subject: Why 41 processes with Tomcat under Linux



I just installed TC 5.0.19 under Linux and I find that it causes 41

Tomcat

processes to be launched. Why is this? How can I control the number

of

processes that are created?  Is this to be expected?

I naively expected only one Tomcat process. There is absolutely no

load

on the

server, it just initally generates 41 Tomcat processes.

..Bob.



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



Reply via email to