Sometimes, my apache web server is getting overloaded by unknown requests. During one of this strange overload, using WHM -> 'Server Status'->'Apache Status' I've noticed enormous amount of unusual connections:
eg.
51-7 | 3408 | 0/97/2961 | R | 0.47 | 43 | 1 |0.0 | 0.93 | 80.44 | ? | ? | ..reading..
...
so we have in the request:
Host: ? Vhost: ? Request: ..reading..
and because of that connections, normal sites are unavailable (very, very long loading time, or timeout)
any suggestions how to deal with this?
btw. after apache restart (service httpd restart) all is ok again, I see usual connecions by normal users, without strange '..reading..' requests...
Is there any way to see the output of WHM -> 'Server Status'->'Apache Status' in the shell? I mean is there some kind of shell script that does that and producing output not to WHM, but my shell console?
Ok, and the last question, I would like to ask about SWAP space. Seeing lots of sudden 'load average' overload jumpings, and [kswapd0] process eating all of my cpu%. I've decided to turn off SWAP space. Anyone has experience with non SWAP space server working? Is it good solution? I've 2GB of RAM, and in my opinion, SWAP is not needed in such ampunt of RAM (that is max. used in ~50%)
Appreciate any help, thanks
eg.
51-7 | 3408 | 0/97/2961 | R | 0.47 | 43 | 1 |0.0 | 0.93 | 80.44 | ? | ? | ..reading..
...
so we have in the request:
Host: ? Vhost: ? Request: ..reading..
and because of that connections, normal sites are unavailable (very, very long loading time, or timeout)
any suggestions how to deal with this?
btw. after apache restart (service httpd restart) all is ok again, I see usual connecions by normal users, without strange '..reading..' requests...
Is there any way to see the output of WHM -> 'Server Status'->'Apache Status' in the shell? I mean is there some kind of shell script that does that and producing output not to WHM, but my shell console?
Ok, and the last question, I would like to ask about SWAP space. Seeing lots of sudden 'load average' overload jumpings, and [kswapd0] process eating all of my cpu%. I've decided to turn off SWAP space. Anyone has experience with non SWAP space server working? Is it good solution? I've 2GB of RAM, and in my opinion, SWAP is not needed in such ampunt of RAM (that is max. used in ~50%)
Appreciate any help, thanks