Linux – How to stress test an apache server running on a linux box

apache-2.2fedoralinuxstress-testing

There seems to be something taking our server off-line and we are having trouble tracing the cause, if it is down to load of a particular site or a script. It does seem to be Apache related.

Does anyone know of any Linux based tools we can run from another server to stress test our problematic server by seeing how many requests it takes before it goes down?

Thanks,
Shadi

Best Answer

ApacheBenchmark works fairly well and is included in most (if not all) installs of Apache2.

 ab -n 1000 -c 5 -C "somecookie=rawr" http://ourwebsite.com/
Related Topic