0

I noticed in my Munin graphs for Apache that there was a large spike in traffic yesterday. However, I have been unable to correlate this with anything on the site.

munin

Google Analytics does not show any traffic increase. It essentially only counts human users (those with Javascript enabled) so I'm guessing the spike could be from a scraper.

But I checked the Apache logs and the number of requests does not correlate with the Munin output. I ran a few commands to count the number of requests each hour from the logs and it just shows the regular increase, nothing like the spike shown in Munin.

I checked both other_vhosts_access.log (which counts the actual websites set up) and access.log (counts hits to the IP address, which seems to be mostly dummy connections or security polls).

Where might these extra hits be coming from?

1 Answer 1

1

Not sure if this is true, but possibly Apache only logs requests if they are valid http requests?

So if I were to create a whole bunch socket connections to your apache server it would cause new apache processes to spawn, which is what you are looking at in your graph, but if I never send a valid http request and disconnect - or apache times out the connection and it disconnects, possibly that is why you see nothing in the logs.

I wonder if it logs those to an error log.

2
  • Hmm, so does that imply some kind of DoS attack? Jul 18, 2011 at 18:27
  • Seems like that could be the case. Jul 18, 2011 at 23:13

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .