[jboss-dev-forums] [Design of JBoss internal QA (Test Suite)] - Re: Updating the server task to detect OutOfMemoryErrors

ryan.campbell@jboss.com do-not-reply at jboss.com
Wed Mar 14 21:03:38 EDT 2007


The JMX call could have a timeout of 10 seconds.  We could just spawn a thread and sleep for 10 seconds, right?  If you don't get an answer, the server is dead.  

I agree you couldn't check whether everything is alive, just whether there is any memory left.  I think Dimitris created an MBean to do this?

The problem with the log file approach is that the all log gets huge, and this would really slow down the runs, even when the server is fine.  The JMX call should be performant if things are ok, which is the main case.

View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4028213#4028213

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4028213



More information about the jboss-dev-forums mailing list