tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Pieter Temmerman <ptemmerman....@sadiel.es>
Subject Re: Thread dump analysis
Date Wed, 28 Jan 2009 12:54:53 GMT
>If the threadMax would be too low in the connector, wouldn't the
> "freeze" be over once there are free connections? And also, how can a
> small threadMax make a thread hang? For example the one that is trying
> to read an XML file.

As a follow up on my own question. This is what the docs say:

At server startup time, this Connector will create a number of request
processing threads (based on the value configured for the
minSpareThreads attribute). Each incoming request requires a thread for
the duration of that request. If more simultaneous requests are received
than can be handled by the currently available request processing
threads, additional threads will be created up to the configured maximum
(the value of the maxThreads attribute). If still more simultaneous
requests are received, they are stacked up inside the server socket
created by the Connector, up to the configured maximum (the value of the
acceptCount attribute. Any further simultaneous requests will receive
"connection refused" errors, until resources are available to process
them.


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


Mime
View raw message