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 apache server on a VPS. Sometimes the cpu loads is skyrocketing (more than 15), while there are no many visitors to the website (invision board forum).

I checked the apache status, it shows a lot of

vps.mydomain.com OPTIONS * HTTP/1.0

each on of these entries is eating part of CPU.

Apache version is latest 2.2.16. I read that it should be redirected. But I don't understand how and why should I redirect it than "prevent" it.

share|improve this question
add comment

1 Answer

up vote 1 down vote accepted

You shouldn't prevent it or redirect it, but basically it performs 2 tasks - it will close the worker down i.e. when apache sees a worker has reached MaxRequestsPerChild it will do the internal dummy connection - so increasing (or removing) MaxRequestsPerChild will lower the number your seeing.

It is also used to wake spare/sleeping workers - so adjusting Max/MinSpareServers will also reduce the number.

Oh and as its a VPS, i would be talking to the VPS company as it could simply be another tenant on that server is causing your load to rocket by hogging CPU or I/O

But yeah - don't block it, and don't try to redirect it ;)

share|improve this answer
    
Redirect is mentioned here: wiki.apache.org/httpd/InternalDummyConnection –  Yousf Sep 22 '10 at 7:27
1  
Being in a Wiki doesn't necessarily make it a smart thing to do, if it was in the official docs that would be another matter... ;-) –  Geraint Jones Sep 22 '10 at 7:28
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.