tomcat-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Rémy Maucherat" <remy.mauche...@gmail.com>
Subject Re: Maximum single threaded moldel servlets
Date Thu, 22 Feb 2007 02:57:13 GMT
On 2/22/07, James McIntosh <james@snaphire.com> wrote:
> Hi,
>
> I am trying to find out how to limit the number of Single Threaded Model
> servlets which get created by the StandardWrapper.
>
> I have looked at the API and there is a setMaxInstances(int) method but
> I cannot find anywhere in the config xml files to change it.
> I did find the "wrapperClass" attribute for the <Context> element which
> allows you to override StandardWrapper with another class which I could
> call the setMaxInstances from.

Nobody asked for configuration of this before. I don't think you need
to increase it beyond the default value in the real world: 20 threads
for one servlet is significant.

Rémy

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


Mime
View raw message