8 messages in ru.sysoev.nginxRe: Limit connections' erratic behaviour
FromSent OnAttachments
Asif AliMar 15, 2009 11:13 pm 
Asif AliMar 16, 2009 2:50 am 
Cliff WellsMar 16, 2009 3:57 am 
Asif AliMar 16, 2009 4:21 am 
Asif AliMar 16, 2009 4:22 am 
Maxim DouninMar 16, 2009 6:26 am 
Asif AliMar 16, 2009 10:58 am 
Cliff WellsMar 16, 2009 11:12 am 
Actions with this message:
Paste this link in email or IM:
Paste this link in email or IM:
Atom feed for this thread
Paste this URL into your reader:
Subject:Re: Limit connections' erratic behaviourActions...
From:Asif Ali (azif@gmail.com)
Date:Mar 16, 2009 4:22:50 am
List:ru.sysoev.nginx

Let me correct something,

What I want to block is any single IP from sending more than 100 requests per second.

regards

Cliff - Apologies - This is a second email thread actually [the earlier one was posted days back]

Here is the config:

limit_zone one $binary_remote_addr 10m; limit_conn one 150;

The app receives several hundred hits per second from various different ip addresses. I want to block specific IP only from sending in more than 100 or 150 requests per second..

What I am getting is a reduction in total traffic and half that amount for ALL requests.

Thanks in advance.

regards

On Mon, Mar 16, 2009 at 4:28 PM, Cliff Wells <cli@develix.com> wrote:

Post the relevant part of your config. Also try to realize it's the middle of the night in half the world.

On Mon, 2009-03-16 at 15:20 +0530, Asif Ali wrote:

Dear Community,

Will anyone respond to this request?

regards

On Mon, Mar 16, 2009 at 11:43 AM, Asif Ali <azif@gmail.com> wrote: Dear All, The limit connections module is behaving erratically.

I have allocated 20M of Space for storing sessions and our app basically gets 100s of requests from several different hosts.

We have very few hosts that send in simultaneous connections from a single IP

But

>With limit connections, it restricts to 1/10 of the configured value..

Can someone tell me if they have experience with this module and help with this issue?

Thanks

Asif