bug in nginx-0.8.28
mdounin at mdounin.ru
Thu Nov 26 14:08:00 MSK 2009
On Thu, Nov 26, 2009 at 12:20:20AM -0800, Paul Roland wrote:
> I have:
> limit_req_zone $binary_remote_addr zone=one:10m rate=5r/s;
> limit_req zone=one burst=5;
> in http zone.
> whatever changes I make ot that directive even if I set 100/s won't serve more than 2 requests per second.
> maybe Im doing it wrong?
Are you testing it with single stream of requests without pauses
In this case result of 2 reqs/second is somewhat expected, since
every second request will be delayed for something like 1 second
as it follows previous request immediately.
More information about the nginx