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 ?