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 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?

Thanks

UPDATE.

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 stackoverflow.com 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 webmasters.stackexchange.com –  Omeid Herat Dec 7 '10 at 15:03
1  
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
2  
@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
add comment

1 Answer

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
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.