8 Replies Latest reply on Sep 20, 2006 4:44 PM by John Singleton

    JBoss always at 100% CPU but not doing anything!

    John Singleton Newbie

      Hi All,

      I am having a horrible problem with my JBoss deployment. I am using Jboss-4.0.4CR2 with JAVA_OPTS="-server -Xmx2256m -Xms2256m -Djava.awt.headless=true", the JDK is BEA JRockit 1.5.0_07.

      The application is a EJB 3.0 application, with lots of servlets, and JSF stuff on the client side. All of the session beans are stateless.

      After about 1 day of running the CPU hits 100% and stays there until I reboot JBoss, then the process repeats. I've been profiling the code locally, but am unable to find a place where the code would be hanging up. Also, tailing server.log (with debug logging on) confirms that nothing is happening.

      Question: What in the world can I do to figure out what is hanging the processor? I've confirmed that garbage collection is not the source by logging the garbage collection during this process.

      I am at a total loss for how to move forward, but needless to say I find it totally unacceptable.

      Can someone point me in the right direction?

      Thanks,
      JLS