[EMAIL PROTECTED]
Reply-To: [EMAIL PROTECTED]
To: "'[EMAIL PROTECTED]'" [EMAIL PROTECTED]
Subject: RE: limit threads per servlet in Tomcat
Date: Fri, 8 Dec 2000 17:19:28 +0100
Hi Jay,
Why would you want to do this?
As far as I can see, having one object with 21 threads
is *more* efficie
Oh yes there is a way to set it. In the server.xml file. Like this
Connector className="org.apache.tomcat.service.PoolTcpConnector"
Parameter name="handler"
value="org.apache.tomcat.service.connector.Ajp12ConnectionHandler"/
Parameter name="port" value="8007"/
Hi Jay,
Why would you want to do this?
As far as I can see, having one object with 21 threads
is *more* efficient than 21 threads distributed across
two objects.
If you have some kind of lock contention, then using two
objects is not going to improve this; by definition, a lock is
only
2000 5:18 PM
To: [EMAIL PROTECTED]
Subject: Re: limit threads per servlet in Tomcat
Oh yes there is a way to set it. In the server.xml file. Like this
Connector className="org.apache.tomcat.service.PoolTcpConnector"
Parameter n
J Y wrote:
Hi
I wish to setup Tomcat to limit threads per servlet, say 20 threads to
execute in one servlet concurrently. the 21th request would cause the
Tomecat engine to generate a new servlet instance.
There is no way to do this in Tomcat.
On the other hand, doing this would not help