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. >> >> >> ===== >> --Bob White-- home:727-490-7363, cell:727-463-6061 >> New (popup free!) photos of Polina: http://polina.70kg.com/ >> >> Everything that irritates us about others can lead us to an understanding >of ourselves. - Carl Jung >> >> --------------------------------------------------------------------- >> 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] This e-mail, including any attachments, is a confidential business communication, and may contain information that is confidential, proprietary and/or privileged. This e-mail is intended only for the individual(s) to whom it is addressed, and may not be saved, copied, printed, disclosed or used by anyone else. If you are not the(an) intended recipient, please immediately delete this e-mail from your computer system and notify the sender. Thank you. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]