See "minProcessors" attribute for HTTP and AJP connectors at:

http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/http11.html
http://jakarta.apache.org/tomcat/tomcat-4.0-doc/config/ajp.html

--
Attila Szegedi
home: http://www.szegedi.org

----- Original Message -----
From: Enda O' Brien
To: [EMAIL PROTECTED]
Sent: 2002. �prilis 22. 16:07
Subject: Configuring the Thread Pool


Hi,

I have recently installed tomcat 4.0, and am trying to find out how to
configure the thread pool.
When the server is running and I type ps -ax, I get the following process
running 23 times:

/usr/local/jdk1.3.1_01/bin/i386/native_threads/java.

I have searched the web and, It seems that this is normal behavior, and that
in fact tomcat does not start multiple processes, but rather it utilizes a
thread pool, so that when a request comes in to your site instead of
allocating a new thread, it is requested from the pool, and when tomcat is
finished with the thread, it is returned to the pool.

So my question is, how do I configure the number of threads that start with
Tomcat ?

I have found details of how to do this for Tomcat 3.2, but from what I
understand, configuring Tomcat 4.0 is substantially different.
Can anyone point me to a document that will answer my question?

Thanks in advance.

Enda.

___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".

Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html

Reply via email to