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

I'd like some tools for ubuntu that I can use to test my server, how much it can handle.

Any suggestions? I've used apache benchmark before, but I'd like to try out something else.

(As a side question, does apache benchmark work if I'm only using nginx?)

share|improve this question

closed as off-topic by masegaloeh, mdpc, EEAA, Nathan C, kasperd Apr 15 at 17:57

This question appears to be off-topic. The users who voted to close gave this specific reason:

If this question can be reworded to fit the rules in the help center, please edit the question.

3 Answers 3

up vote 17 down vote accepted

ab only sends web requests, it doesn't care what the server is that it is testing. However, it only tests one page.

There is perfmeter, siege, httpload, jmeter and a number of others.

httpload is rather nice since you can feed it a series of URLs that will be tested.

share|improve this answer
5  
For convenience: Apache Bench, perfmeter, siege, http_load, jmeter –  Josh Diehl Aug 18 '12 at 5:03

I'd recommend siege for easy-to-setup load tests. Additional to apache benchmark you can give it a list of URLs to load test against.

A simple command like

siege -d10 -c10 -i -f urls.txt

and a urls.txt like e.g.

http://www.example.com/
http://www.example.com/path1
http://www.example.com/path2

will run a load test with 10 concurrent users (-c10), wait up to 10 seconds between each call and the next (-d10), and takes randomly (-i) an URL from the file (-f).

share|improve this answer

ab is too slow for benchmarking nginx. I'd recommend wrk. You can easily build it from source.

share|improve this answer

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