Hi folks,
did not found this question answered, neither in the faqs, nor in the
archive of this mailing list, nor in bugzilla.
Like in the subject described, my question is, wether the attribute
maxProcessors in the Connector tag sets the maximum ammount of concurrent connections
the CoyeteConnector handles.
I tested this on Tomcat up to 4.1.24 with jdk 1.4.2 on debian with kernel
2.4.19, since this is our productive environment. If i set up the connector in
server.xml with the following parameters:
<!-- Define a non-SSL Coyote HTTP/1.1 Connector on port 8080 -->
<Connector className="org.apache.coyote.tomcat4.CoyoteConnector"
port="8080" minProcessors="20" maxProcessors="10"
enableLookups="true" redirectPort="8443"
acceptCount="5" debug="0" connectionTimeout="20000"
useURIValidationHack="false" disableUploadTimeout="true" />
I find a pretty strange behaviour (if maxProcessors should be max
Connections):
My test programm (jdk 1.4) tries to open up 80 connections to the tomcat and
send some continueus requests to a webapps that create some load on the
server. The requests use HTTP/1.1 to keep the connection opened and request a
page each half second with variing parameters..
I would expect, that 15 connections would be opened. 10 active + 5 on hold.
What I see is, that normally 18 connections are accepted upon startup of my
programm. After 8 seconds another two connections are established, 12 seconds
later, again two new connections... This leads up to about 30-40
connections.
So, finally I precise my question a bit: What exactly does maxProcessors
mean? If it does not mean max concurrent connections, how many connections can
one processor handle?
Hope I could describe my problem fairly enough :)
Greets,
Christian
--
GMX ProMail (250 MB Mailbox, 50 FreeSMS, Virenschutz, 2,99 EUR/Monat...)
jetzt 3 Monate GRATIS + 3x DER SPIEGEL +++ http://www.gmx.net/derspiegel +++
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]