bug in nginx-0.8.28
paul.roland at yahoo.com
Thu Nov 26 14:28:22 MSK 2009
requests with no pauses using apache's benchmark.
I need a way to limit 5 connections per ip.
limit_zone one $binary_remote_addr 10m;
limit_conn one 5;
this setting is completely ignored for some reasons.
--- On Thu, 11/26/09, Maxim Dounin <mdounin at mdounin.ru> wrote:
> From: Maxim Dounin <mdounin at mdounin.ru>
> Subject: Re: bug in nginx-0.8.28
> To: nginx at nginx.org
> Date: Thursday, November 26, 2009, 1:08 PM
> On Thu, Nov 26, 2009 at 12:20:20AM -0800, Paul Roland
> > I have:
> zone=one:10m rate=5r/s;
> limit_req zone=one
> > 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
> between them?
> In this case result of 2 reqs/second is somewhat expected,
> every second request will be delayed for something like 1
> as it follows previous request immediately.
> Maxim Dounin
> nginx mailing list
> nginx at nginx.org
More information about the nginx