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.

Sometimes jetty loads our server for 100% - every thread for 100% of 1 core.

enter image description here

We have jetty 9 and JDK 1.7 (at Jetty 6 and JDK 1.7 - this doesn't appears).
Jetty now running on default settings, previously we run it with JAVA_OPTIONS="-Xms4096m -Xmx4096m -server -XX:+UseConcMarkSweepGC"

I maked the dump of main thread (with jstack -F pid), but this gives me nothing (i just don't understand). DUMP

Is there some way to determine what process/project loading the CPU?

share|improve this question
add comment

2 Answers

up vote 0 down vote accepted

The only thing I see in that thread dump is a few threads doing some copying and archiving looks like. A series of thread dumps taken over a few seconds and minutes would give you an idea of it is those threads behaving badly. Nothing looks immediately out of place jetty wise in that dump.

share|improve this answer
add comment

The problem was at the one of the project - it makes infinite loop when some specific options accurs.

share|improve this answer
    
This does not provide an answer to the question. To critique or request clarification from an author, leave a comment below their post. –  mdpc Feb 7 at 17:05
add comment

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.