On 13.07.2011 23:16, André Warnier wrote: > Hi. > > I am not the one who can really answer your question, but > > 1) this is the right list for Apache/Tomcat connectors (mod_jk among them) > > 2) a question : do these CLOSE_WAIT sockets bother you for some specific > reason ? > In a totally different context, I have had problems with Linux systems > when hundreds of such sockets accumulated over time (entire TCP stack > becoming unresponsive at some point), but they do not seem to have an > impact when the number remains "reasonable" (below one hundred or so). > In this case, as I understand things, there will be a maximum of N such > sockets, where N is the maximum number of threads which Tomcat may have, > at some point, running simultaneously from this AJP Connector. (And it > is also the number of connections which mod_jk will automatically > configure in its pool). > On many of the sites which I take care of, I regularly see 25-50 such > mod_jk sockets in CLOSE_WAIT state for extended periods of time, and > they do not seem to have any negative consequences on the system. They > just clutter the netstat displays, but you can always "grep -v" them out.
3) Look at the extensive sample configuration provided by the mod_jk 1.2.32 source download. There are many interesting worker properties, for example idle timeouts, which should reduce the CLOSE_WAIT counts. Regards, Rainer --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org