Mike Seda wrote:
Is it advisable to have the following JVM option set in Tomcat 7 (with
Java 7)?
-XX:+DisableExplicitGC

Or will this prevent Tomcat itself from calling System.gc() when it
needs to?


Tomcat is probably not doing that anyway (I'll let someone else answer that part), but there might be some monitoring/control application running, which could be using that.


The reason I am thinking of this, is that I have a couple of installations where because of an unruly webapp leaving tons of connections open in CLOSE_WAIT state, I am using a jmxsh script regularly, to provoke such GC's to clean them up. If I set the option above, that script would probably fail, and the system would slowly get to an inoperative state.

---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tomcat.apache.org
For additional commands, e-mail: users-h...@tomcat.apache.org

Reply via email to