You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@tomcat.apache.org by Andoni <an...@indigo.ie> on 2003/12/01 13:51:41 UTC

Re: Tomcat 4 threads

Hello,

You should not have to worry about when tomcat creates or pools threads.

It will do this in the background in whatever way it does and you should not
have to know about it.

There are rules for keeping servlets thread-safe so that you will not be
affected by the threading of servlets by the container.  You can read about
how to keep your servlets thread-safe in the servlet specification which you
can download from here:

http://java.sun.com/products/servlet/download.html

Andoni.


----- Original Message -----
From: "Walter do Valle" <wa...@softplan.com.br>
To: <to...@jakarta.apache.org>
Sent: Monday, December 01, 2003 1:18 PM
Subject: Tomcat 4 threads


I have some doubts about Tomcat and his threads. If someone could help me, i
will be very grateful.

In what moment new threads are created in Tomcat when it's running?
Is there a thread pool? In case positive:
- What is the initial quantity of threads created?
- What is the stagger algorithm?
- After created, when a thread terminates (end of life, release)?
- What means o large number of threads? Many users? Many sessions? Many
requests?

Thanks for any help


---------------------------------------------------------------------
To unsubscribe, e-mail: tomcat-user-unsubscribe@jakarta.apache.org
For additional commands, e-mail: tomcat-user-help@jakarta.apache.org