Re: Tomcat configuration
Denny Chambers <[email protected]> Thu, 15 Jan 2004 13:42:22 -0600
| Newsgroups | gmane.comp.java.enhydra.barracuda.general |
|---|---|
| Message-ID | <[email protected]> |
I don't have an answer for your question, I would have told you to look at the same two parameters. I would suggest that if you are doing stress test, that you should set enableLookups="false". this will turn off DNS lookup to resolve IPs of incoming clients. Christian Cryder wrote: >Hey folks, I asked this question on the Tomcat list, but I'll ask it here as >well in case anyone has had experience with this... > >Can someone offer some suggestions on configuring the number of connections >Tomcat 4.1 will accept? I am using a stress tester to access the sample >servlet (http://localhost:8080/examples/servlet/HelloWorldExample). >Somewhere around 14-15 concurrent requests, I start seeing >"java.net.ConnectException: Connection refused: connect" > >Looking in the Tomcat server.xml file, I see > > <Connector className="org.apache.coyote.tomcat4.CoyoteConnector" > port="8080" minProcessors="5" maxProcessors="75" > enableLookups="true" redirectPort="8443" > acceptCount="10" debug="0" connectionTimeout="20000" > useURIValidationHack="false" /> > >I assume this is the connector I'm going through (since my URL is referring >to port 8080). According to the docs >(http://jakarta.apache.org/tomcat/tomcat-4.1-doc/config/webapp.html) >acceptCount and maxProcessors should affect this behavior, but I am not >seeing any changes when I adjust them upwards. Should I be looking >elsewhere? Anyone have any suggestions? > >Thanks, >Christian >---------------------------------------------- >Christian Cryder >Internet Architect, ATMReports.com >Project Chair, BarracudaMVC - http://barracudamvc.org >---------------------------------------------- >"Coffee? I could quit anytime, just not today" > >_______________________________________________ >Barracuda mailing list >[email protected] >http://barracudamvc.org/lists/listinfo/barracuda > > > >
smime.p7s
(application/x-pkcs7-signature, 3.4 KB) - not displayed