Server Fault is a question and answer site for system and network administrators. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have nowhere else to ask, I just noticed that my server isn't responding, or it takes a lot of time. I have a classifieds website which uses mysql and php.

I use PUTTY and wrote top to see whats bothering the server. There is something EATING up CPU, and it is some java application. No idea what it is. Anybody know what I should do? Please guide me?

Have I been hacked?

EDIT: I just restarted the server from a control-panel my VPS provider offers, now the numbers are ok... What could it been?



I use SOLR, and that is the only Java because it uses Jetty as a container.

Could this be that a call was made and not cancelled and hence it caused a loop somehow. Anybody who used solr experienced this?

share|improve this question

migrated from Dec 7 '10 at 15:23

This question came from our site for professional and enthusiast programmers.

You really should contact your hosting provider. – Andrew Barber Dec 7 '10 at 15:03
This question more from – Omeid Herat Dec 7 '10 at 15:03
you should provide the app that was eating up the CPU and the parameters supplied. Use ps aux to get a detailed list of processes – quamis Dec 7 '10 at 15:04
@Camran: You do have somewhere else to ask, ServerFault. @Andrew: Except for a few, rare, full-service providers, VPS administration is the responsibility of the customer, not the provider, just as it would be with a rented or co-located server. On a VPS, the customer is root. – Nicholas Knight Dec 7 '10 at 15:04
Well then check my update for a relevant question – Anonymous12345 Dec 7 '10 at 15:06

Is might be caused by solr

possible causes

  1. too many write to the collection causing lots of fragmented files
  2. solr query not optimized

for cause 1 : optimize that collection will help

cause 2 : review your query (what else?)

for this problem, you don't have to restart your server,
restart jetty and apache should be sufficient

share|improve this answer

Your Answer


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.