I am running a web server on a Mandriva 2010.2 system. Today the system
suddenly became increadibly non-responsive. When I finally logged on as
root, the swap file was up around 3GB, (no wonder response was horrible)
and there were 160 instances of httpd running. After I finally managed
to shut them down, (killall -9 httpd) response was restored. I looked in
the /var/log/httpd/access_log there did not seem to be much unusual
there. There were some
google.com with weird addreses, and some internal
connections which were the only things that looked out of the oridinary.
Eg
66.249.68.198 - - [21/May/2012:18:19:23 -0700] "GET /aggregator/
www.umsl.edu/~keelr/010/www.twitter.com/www.iaea.org/Publications/Documents/Board/2008/bit.ly/www.guardian.co.uk/business/2012/may/04/pay-vince-cable HTTP/1.1" 200 72658 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +
http://www.google.com/bot.html)"
66.249.68.73 - - [21/May/2012:18:19:26 -0700] "GET /aggregator/
www.nytimes.com/2012/04/05/opinion/node/node/www.bbc.co.uk/news/uk-17769717?page=226 HTTP/1.1" 200 38984 "-" "Mozilla/5.0 (compatible; Googlebot/2.1; +
http://www.google.com/bot.html)"
and
::1 - - [21/May/2012:17:32:03 -0700] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.2.15 (Mandriva Linux/PREFORK-3.2mdv2010.2) (internal dummy
connection)"
::1 - - [21/May/2012:17:32:03 -0700] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.2.15 (Mandriva Linux/PREFORK-3.2mdv2010.2) (internal dummy
connection)"
::1 - - [21/May/2012:17:32:05 -0700] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.2.15 (Mandriva Linux/PREFORK-3.2mdv2010.2) (internal dummy
connection)"
::1 - - [21/May/2012:17:32:07 -0700] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.2.15 (Mandriva Linux/PREFORK-3.2mdv2010.2) (internal dummy
connection)"
....
But could any of these be respoinsible for 160 connections?
The other suspicious thing is that there was 6 hour gap in
the logs
112.111.174.175 - - [21/May/2012:11:34:11 -0700] "GET /user/register
HTTP/1.0" 200 29860 "
http://emergentgravity.org/user/register"
"Mozilla/4.0 (compatible; MSIE 5.0; Windows 95) Opera 6.01 [en]"
::1 - - [21/May/2012:17:32:03 -0700] "OPTIONS * HTTP/1.0" 200 - "-"
"Apache/2.2.15 (Mandriva Linux/PREFORK-3.2mdv2010.2) (internal dummy
connection)"