Forum Moderators: phranque

Message Too Old, No Replies

DDOS On my Apache!

ddos, apache

         

jabbo

1:56 pm on Nov 15, 2009 (gmt 0)

10+ Year Member



I have a Problem, my site is for some weeks Offline & then Online.

When Im editing the Ports of Apache for exampe to 53 then it works.

And then another day it is again Offline.

Logfile says:

[Sun Nov 15 14:56:05 2009] [warn] Server ran out of threads to serve requests. Consider raising the ThreadsPerChild setting

What can I do?

jdMorgan

2:23 pm on Nov 15, 2009 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



Find out who's making tons of requests to your site, and block them at the firewall.

However, to avoid wasting time, you need to 'prove' that this is actually a DDOS before going down that road. It could just be a recently-changed script that is holding connections open too long (or forever). Make sure your KeepAlive is set to a reasonable time limit, as well.

If you're hosted commercially, ask your host for assistance; They'd be the ones who could put a packet sniffer on your "wire" to see the DDOS-related requests, and set the firewall to black-hole them. Otherwise, dig into 'wireshark' and other packet sniffers, any firewalls available for your OS/server package, and plan to spend some time investigating.

Jim