To simulate this I have set the max and min processors to 5 and used 7 Internet Explorer instances to connect. My servlet has a 120 second delay so that causes the connection to hold.
I can start 5 and hold the connection open. That's what I want. However, when I connect the sixth one, Internet exploder says that the server returned an invalid response. I used telnet to connect to port 80 and it says connection refused. I am confused. I would have expected the sixth thread to sit and wait for 60 seconds (the timeout period set in server.xml) before saying that connection refused. Thanks Donie -----Original Message----- From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] Sent: 10 September 2002 16:47 To: Tomcat Users List Subject: RE: server.xml and configuring connection pools How do you test your configuration? You test with more than 20 users? Your configuration is correct according to your explication, but does it can really work? If you test with a soft as LoadRunner, I think you have a simulation scenario. What do the first 20 users after their requests are completed? Do they launch others ones? If it's the case, Tomcat cannot have the time to process the 100 ones in the queue. -----Message d'origine----- De : Donie Kelly [mailto:[EMAIL PROTECTED]] Envoy� : mardi 10 septembre 2002 17:17 � : 'Tomcat Users List' Objet : RE: server.xml and configuring connection pools Can somebody please help me with this.... Thanks Donie -----Original Message----- From: Donie Kelly [mailto:[EMAIL PROTECTED]] Sent: 10 September 2002 11:12 To: 'Tomcat Users List' Subject: server.xml and configuring connection pools Hi all Simple problem I guess. I'm trying to limit tomcat to 20 threads max but still accept connections using the acceptCount parameter of Connector in server.xml. My problem is that the application will accept up to 20 connections and give connection refused for everything else. What am I doing wrong? I thought I would have to make 120 active connections before I would get connection refused? My config is below.... Thanks Donie <Connector className="org.apache.catalina.connector.http.HttpConnector" port="80" minProcessors="5" maxProcessors="20" enableLookups="true" redirectPort="443" acceptCount="100" debug="0" connectionTimeout="60000"/> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]> -- To unsubscribe, e-mail: <mailto:[EMAIL PROTECTED]> For additional commands, e-mail: <mailto:[EMAIL PROTECTED]>
