Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

Even if no application is deployed on JBOSS 4.2.2, it is taking more than 100% CPU on my linux machine.

Please help.

share|improve this question

1 Answer 1

That does sound a bit odd indeed. However JBoss has got quite a lot out-of-the-box services enabled that could take CPU. If you do a stack trace (send java the -QUIT signal) you can see what threads are running. Sometimes the deployment scanner thread can run wild (the thread that auto deploys resourced placed in the deploy/ directory).

You can also have a look what Jboss is up in the consoles that comes with JBoss which is deployed under http://localhost:8080/web-console/ and http://localhost:8080/jmx-console/

As a last resource check if JBoss is going garbage collection, simply add the verbose gc JVM arguments to your run.conf file.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.