Hey André,
André Warnier wrote: >The "jsvc" process here is the wrapper which wraps the JVM and Tomcat to >>allow them to use >orts below 1024 and still run as non-root. For practical purposes, >consider it as "tomcat". > >As you can see, there are some AJP connections (local port 8009) in the >>CLOSE_WAIT state >also. It is a normal state of a TCP connection. >What is less normal, is that they would remain in that state for a long >time. > That means >that one of the sides of the TCP connection is not doing what it should do. > >In my experience, under Linux, this can become a problem if you have >hundreds >of these. >At some point, the TCP stack becomes unresponsive and does not allow any >new >connection. > >Sometimes, it can happen because the "client" side in the connection (the >one >who >initially creates the connection to a server's "listening" socket), >discards >a Java object >which contains an open low-level OS socket object with a connection still >>open, without >explicitly "closing" this connection first. >The discarded (and unreachable) Java object is then still sitting in the >heap >for a while, >and only a GC will actually destroy it and as a side-effect close the >>underlying connection. > >That is why I was asking you to force a GC, to see if this made your >>CLOSE_WAIT >connections disappear. Apparently in your case it doesn't, which mean that >>yours is >another case. > >Now, instead of restarting Tomcat or doing a GC, have you tried to restart >>Apache ? >or maybe just do a /etc/init.d/apache2 reload. That may kill off and >restart >the Apache >children processes, and clean up their mod_jk connections to Tomcat. I tried to just restart the Apache, didn't work. As suggested I tried to use the option -DisableReuse. That did make our situation a lot more horrible instead of days / week we it took just minutes to shut all AJP ports down. Mit freundlichen Grüßen David Kumar Softwareentwickler, B. Sc. Abteilung Infotech - Interaktiv TELESTAR-DIGITAL GmbH Am Weiher 14 D-56766 Ulmen http://www.telestar.de/ --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org For additional commands, e-mail: users-h...@tomcat.apache.org