My server crashed when tested with Siege... why?
I was using Siege to test my server under higher usage. Everything was OK until I bumped up the number of users to a high number (50), at which point my server stopped responding all together. I had to reboot from the Linode control panel.
So… what was probably the reason for the server becoming unresponsive (and staying unresponsive after the Siege was long over)?
Why did I have to reboot to fix?
Is there anything I could do to avoid this issue if a large amount of traffic suddenly occurs?
I assume all the above has to do with memory, but I could a point in the right direction. Thank you for your wisdom!
4 Replies
You should reduce the MaxClients setting in your Apache config (in the
If I lower MaxClients to 15, what happens to user #16? They just wait a little longer?
Thanks again!
Obviously, if you need to handle a lot of trafic, upgrade to a higher Linode.
A good way to tell if your machine is properly setup is to flood your website with requests (using jmeter or other) and see if you can crash the thing or not.