Limit concurrent connections to the webserver per account or per hostname basis
Hi,
We recently had a DDoS with unfinished POST requests, and we runned out of apache threads.
The EP limit is used to limit the dynamic (php) requests, but there are no limit on static or the unfinished requests.

You can do it today by setting AllowedHandler *
-
Igor Seletskiy commented
You are not controlling number of PHP processes with that. You are controlling PHP with memory/cpu/etc... limits.
This is purely to control number of apache connections. -
Ferenc Csurgai commented
Yes, But this method limits the sum of requests with the EP limit, not just the static requests.
eg.: limit 60 is too much for phps but too few to static contents.Is there any chance to separate them using only config files?
-
Igor Seletskiy commented
You can do EP for all the pages (as well as the rest of the limits)
http://docs.cloudlinux.com/hostinglimits_module_for_apach.html
See AllowedHandlers *