You just lost me. How would this configuration look like in server.xml ? Timir
On Thu, Apr 8, 2010 at 9:09 PM, Caldarale, Charles R < chuck.caldar...@unisys.com> wrote: > > From: Timir Hazarika [mailto:timir.hazar...@gmail.com] > > Subject: Re: Tomcat does not honor acceptCount configuration variable > > > > I would like tomcat to use a maximum of (say) 5 sockets on my system. > > Further connection requests should be dropped. How may I achieve that ? > > There's no direct control for the number of sockets, but you should be able > to limit the number of concurrent HTTP connections by setting maxThreads to > 5 and acceptCount to zero, and using the JIO connector or disabling > keep-alives. There will still be some additional sockets used for the > shutdown port, DB connections, etc. > > - Chuck > > > THIS COMMUNICATION MAY CONTAIN CONFIDENTIAL AND/OR OTHERWISE PROPRIETARY > MATERIAL and is thus for use only by the intended recipient. If you received > this in error, please contact the sender and delete the e-mail and its > attachments from all computers. > > > --------------------------------------------------------------------- > To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org > For additional commands, e-mail: users-h...@tomcat.apache.org > >