> From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] 
> Subject: RE: Solaris 10 Tomcat performance maxes out at 2 threads
> 
> I have a poor understanding of how Tomcat spawns/manages 
> threads.

It's pretty simple, all under control of the attributes on the
<Connector> elements in server.xml:
http://tomcat.apache.org/tomcat-5.5-doc/config/http.html

Each <Connector> maintains a pool of threads for servicing requests on
that connection.  When a request arrives, a thread from the pool is
chosen (or created) and performs all the processing for that request,
including calling whatever valves, filters, and servlets are in the
chain.  Once the request is finished, the thread returns to the pool.
Look at the doc and the settings in server.xml for the limits on
concurrency and number of idle threads.

 - Chuck


THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY
MATERIAL and is thus for use only by the intended recipient. If you
received this in error, please contact the sender and delete the e-mail
and its attachments from all computers.

---------------------------------------------------------------------
To start a new topic, e-mail: users@tomcat.apache.org
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to