Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have a server which blocks burst request (if the same IP address accesses the server more than 3 times a second, it will serve 500 error).

So when I use Apache benchmark, I see a lot of failed requests, even when I set concurrency to 1.

Is there an option to set an interval between each request? Or is there similar benchmarking tools that offers this interval functionality?

share|improve this question
up vote 2 down vote accepted

You're really not going to accomplish any meaningful load testing with concurrency limited to 3. You probably need to remove the requests per second restriction for the IP that you're testing from.

share|improve this answer

There is no such option.

Only configurable timing settings is

-t timelimit

Maximum number of seconds to spend for benchmarking. This implies a -n 50000 internally. Use this to benchmark the server within a fixed total amount of time. Per default there is no timelimit.

However, what is effect of benchmarking if you wait? You will not gain real results at all.

share|improve this answer

You could run ab through watch to delay the repeated access, but you're not going to be able to use the report summary for much.

watch -n 1 ab -n 3

Or run it through curl instead of ab

watch -n 0.4 curl

More about watch:

share|improve this answer

Your Answer


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.