FreeBSD server load goes thru the roof - httpd in free(): warning: recursive call

Hey,
Got a server running FreeBSD 4.9 which was under some kind of attack twice today. The traffic went up from 1 MBit/s average up to 10MBit/s. The load went up to almost 150!!! The CPU usage was normal though. Stopping apache for a short while sorted the problem out though. Same thing happened 2 hours later and I resolved it the same way.
The problem is: I can't see which website that was attacked. I checked httpd logfile sizes and nothing strange there.
The apache error_log contains TONS of:
httpd in free(): warning: recursive call
Some:
Out of memory (Needed 6800248 bytes)
And some:
httpd in free(): warning: chunk is already free

All occurring at the time of the attacks.

I've googled around on the above error messages, hoping it could help, and found no clear answer. Some said it was perl, some guessed it could be due to persistant mysql connections from PHP scripts. Some thought it could be a buggy PHP script messing up apache.

Anyway, any tips on what I should do find the problem?

Thanks...

 

 

 

 

Top