server not responding - possible ddos?
I'm a little out of my depth here in terms of server admin - is this a sign of possible denial of service? Even though there were many connections, the cpu usage was not negligible - why would the site not respond? Do I need to increase max-clients or something?
Thanks in advance for any help.
4 Replies
You say "stopped responding" but then you "logged in." Please define both - what part stopped responding and how did you log in?
I logged in via ssh using Putty.
My current thoughts are that I maybe don't have apache set up to respond to that many concurrent requests - as the CPU/memory graphs seem to show that those resources were not maxed out.
my prefork setup for apache was as follows:
<ifmodule mpm_prefork_module="">StartServers 2
MinSpareServers 2
MaxSpareServers 10
MaxClients 75
MaxRequestsPerChild 500
ServerLimit 15</ifmodule>
Being able to handle 75 clients at a time seems reasonable, unless you are really, really busy, or your clients are all on really slow connections and/or you are serving up big files.
For slow clients or big files, you should look into using nginx as a front end and proxy to apache. There is some info here: