RE: limit threads per servlet in Tomcat (to Simon.Kitching)

2000-12-10 Thread J Y
itching Simon <[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

Re: limit threads per servlet in Tomcat

2000-12-08 Thread Craig R. McClanahan
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

RE: limit threads per servlet in Tomcat

2000-12-08 Thread Kitching Simon
ROTECTED]] > Sent: Friday, December 08, 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 > > >

RE: limit threads per servlet in Tomcat

2000-12-08 Thread Kitching Simon
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 require

Re: limit threads per servlet in Tomcat

2000-12-08 Thread Clifford . Okoro
Oh yes there is a way to set it. In the server.xml file. Like this Just find the Connector entry corresponding to the one above and go for it. The nodes that youll need are the 'thread' named nodes. Yes, it'll