Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question
add comment

4 Answers 4

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/
share|improve this answer
add comment

You can also use Jakarta's Jmeter by Apache.

http://jakarta.apache.org/jmeter/index.html

I used this to stress test my server, and it is quite handy to run from outside computers and workstations with windows, highly configurable, and offers lots of pretty graphs and information especially on failures and what failures return and when the failures happen.

They also of course have Linux builds, but I have not used these.

share|improve this answer
add comment

You might want to try the command "ab"

share|improve this answer
add comment

Take a look of different opensource tools that can help you to do load testing for webservers.

http://blog.carlosgomez.net/2010/03/web-load-testing-with-opensource-tools.html

share|improve this answer
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.