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.

i am on Debian Squeeze, 4G of Ram, 1G of Swap, CPU i3 3.07GHz. I used to use the following java softwares:

jenkins
elasticsearch

Problem was their process was too greedy about CPU, in the top command, each one was eating more than 120%.

When i noticed this, i switched from open-java to sun-java, but this did not do the expected trick.

I have a very little load on the server, but the over consumption of the CPU made the other processes go more slowly. (My web-stats for delivering pages show it clearly).

Since I have stopped elastic search, killed (the unstoppable) jenkins and then flush the cache memory, lighttpd regained its speed.

Any idea why these java processes can be so greedy ? And why jenkins needs X11 although I don't need that at all ?

share|improve this question

closed as not constructive by gWaldo, womble, Greg Askew, Ward, mailq Aug 7 '12 at 22:11

As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.If this question can be reworded to fit the rules in the help center, please edit the question.

add comment

1 Answer

up vote 4 down vote accepted

When were you hit? Could it be the leap second problem that hit on both July 1st and recently on certain servers on August 1st, causing both Linux kernel crashes and Java CPU load problems? Here's one of the main references for the July leap, and a thread about the August leap.

share|improve this answer
    
yes, everything started on July 1st according to my stats. Now i'm struggling, the ntp stop ... ntpdate ... ntp start did work but don't seem to resolve anything –  Keil Aug 6 '12 at 22:37
    
this did it : export LANG="en_EN"; date -s "date" –  Keil Aug 6 '12 at 22:40
add comment

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