On Mon, 6 Aug 2001 [EMAIL PROTECTED] wrote:

> Hi,
> 
> I have looked through the postings on this list and in the Tomcat FAQ, and
> I haven't seen a way to limit the number of Java processes spawned by
> Tomcat.  Is this possible?
> 

Tomcat does not actually spawn *any* processes -- the entries you see on a
"ps" display are actually threads, all running within a single JVM.

The number of threads that Tomcat starts is dependent on two things:

* The configuration of your <Connector> element.  Depending on which
  version of Tomcat you are talking about, the details vary -- but in
  all cases you can specify the maximum number of request processing
  threads that can be created.

* A number of background threads are created to do things like expiring
  sessions that have timed out, which you have no control over.

> Thanks,
> 
> Erik.
> 
> 

Craig


Reply via email to