Chris Dodunski:
> Just a brief question, for a Tomcat newbie. I have successfully installed
> Tomcat on our companies Linux web server. Problem is the huge number of java
> processes running as a consequent (see below). Our network administrator
> doesn't like it. Tomcat won't be doing too much work in this instance, so is
> there any way to reduce the number of these (a configuration setting
> perhaps)?

The option you are looking for is located in server.xml:
    <Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
               port="8080" minProcessors="5" maxProcessors="8"
               enableLookups="true" redirectPort="8443"
               acceptCount="10" debug="0" connectionTimeout="20000"
               useURIValidationHack="false" />

With min/max you can control the number of threads.

But still i have a lot of threads on my computer.  I _believe_ tomcat starts 
a thread for each found webapp it deployes.

So 10 webapps and 5 listeners = 15 processes ?!

Ciao

Jens Skripczynski
-- 
E-Mail: skripczynski(at)mail2003(dot)skripczynski(dot)de

In this world there are only two tragedies; one is not getting
what one wants, the other is getting it.
                                  -- Oscar Wild


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

Reply via email to