15 nodelay;
limit_req zone=all burst=3000 nodelay;
}
}
Thanks all guys.
Tong
From: Francis Daly
Date: 2017-12-05 16:51
To: nginx
Subject: Re: Re: How to control the total requests in Ngnix
On Sun, Dec 03, 2017 at 11:58:16AM +0800, tongshus...@migu.cn wrote:
Hi there,
On Sun, Dec 03, 2017 at 11:58:16AM +0800, tongshus...@migu.cn wrote:
Hi there,
> I might have misunderstood some concepts and rectify them here:
> burst--bucket size;
Yes.
> rate--water leaks speed (not requests sent speed)
Yes.
The server can control how long it waits before starting to proc
;> Original Message
>> From: fran...@daoine.org
>> Sent: December 2, 2017 3:02 AM
>> To: nginx@nginx.org
>> Reply-to: nginx@nginx.org
>> Subject: Re: Re: How to control the total requests in Ngnix
>>
>> On Fri, Dec 01, 2017 at 11:18:06AM +0800,
nginx.org
> Reply-to: nginx@nginx.org
> Subject: Re: Re: How to control the total requests in Ngnix
>
> On Fri, Dec 01, 2017 at 11:18:06AM +0800, tongshus...@migu.cn wrote:
>
> Hi there,
>
> Others have already given some details, so I'll try to put everything
> to
For what situation would it be appropriate to use "nodelay"?
Original Message
From: fran...@daoine.org
Sent: December 2, 2017 3:02 AM
To: nginx@nginx.org
Reply-to: nginx@nginx.org
Subject: Re: Re: How to control the total requests in Ngnix
On Fri, Dec 01, 2017 at 11:18:06AM +0800
Hi Francis,
Thanks for help.
I might have misunderstood some concepts and rectify them here:
burst--bucket size;
rate--water leaks speed (not requests sent speed)
right?
Tong
From: Francis Daly
Date: 2017-12-02 19:02
To: nginx
Subject: Re: Re: How to control the total requests in Ngnix
On
On Fri, Dec 01, 2017 at 11:18:06AM +0800, tongshus...@migu.cn wrote:
Hi there,
Others have already given some details, so I'll try to put everything
together.
> limit_req_zone "all" zone=all:100m rate=2000r/s;
The size of the zone (100m, above) relates to the number of individual
key values tha
I want to set the rate limiting for the entire server not for each client ip.
童树山
咪咕视讯科技有限公司 研发部
Mobile:13818663262
Telephone:021-51856688(81275)
Email:tongshus...@migu.cn
From: Gary
Date: 2017-12-01 22:43
To: nginx
Subject: Re: How to control the total requests in Ngnix
Is this limiting for
Hello!
On Fri, Dec 01, 2017 at 06:43:36AM -0800, Gary wrote:
> Is this limiting for one connection or rate limiting for the
> entire server? I interpret this as a limit for one connection.
The request limiting can be configured in multiple ways. It is
typically configured using $binary_remot
s isn't much of
a limit.
Original Message
From: mdou...@mdounin.ru
Sent: December 1, 2017 5:46 AM
To: nginx@nginx.org
Reply-to: nginx@nginx.org
Subject: Re: Re: How to control the total requests in Ngnix
Hello!
On Fri, Dec 01, 2017 at 11:18:06AM +0800, tongshus...@migu.cn wrote
Hello!
On Fri, Dec 01, 2017 at 11:18:06AM +0800, tongshus...@migu.cn wrote:
> I configured as below:
> limit_req_zone "all" zone=all:100m rate=2000r/s;
> limit_req zone=all burst=100 nodelay;
> but when testing,I use tool to send the request at: Qps:486.1(not reach 2000)
> I got the many many 5
I sent the test requests from only one client.
童树山
咪咕视讯科技有限公司 研发部
Mobile:13818663262
Telephone:021-51856688(81275)
Email:tongshus...@migu.cn
From: Gary
Date: 2017-12-01 12:17
To: nginx
Subject: Re: How to control the total requests in Ngnix
I thought the rate is per IP address, not for whole
I sent the test requests from one fron only 1 server.
童树山
咪咕视讯科技有限公司 研发部
Mobile:13818663262
Telephone:021-51856688(81275)
Email:tongshus...@migu.cn
From: Gary
Date: 2017-12-01 12:17
To: nginx
Subject: Re: How to control the total requests in Ngnix
I thought the rate is per IP address, not for
. From: tongshus...@migu.cnSent: November 30, 2017 7:18 PMTo: nginx@nginx.orgReply-to: nginx@nginx.orgSubject: Re: Re: How to control the total requests in Ngnix I configured as below:limit_req_zone
限公司 研发部
Mobile:13818663262
Telephone:021-51856688(81275)
Email:tongshus...@migu.cn
From: Francis Daly
Date: 2017-12-01 02:38
To: nginx
Subject: Re: Re: How to control the total requests in Ngnix
On Thu, Nov 30, 2017 at 08:04:41PM +0800, tongshus...@migu.cn wrote:
Hi there,
> what is the same "
my website is busier than I think I can handle
Tong
From: Peter Booth
Date: 2017-12-01 06:25
To: nginx
Subject: Re: How to control the total requests in Ngnix
So what exactly are you trying to protect against?
Against “bad people” or “my website is busier than I think I can handle?”
Sent
Here is a log of real life IP limiting with a 30 connection limit:
86.184.152.14 British Telecommunications PLC
8.37.235.199 Level 3 Communications Inc.
130.76.186.14 The Boeing Company
security.5.bz2:Nov 29 20:50:53 theranch kernel: ipfw: 5005 drop session type 40
86.184.152.14 58714 -> myip 80,
ple.
> What does 2000 requests mean? Is that per second? yes,it's QPS.
>
> 童树山
> 咪咕视讯科技有限公司 研发部
> Mobile:13818663262
> Telephone:021-51856688(81275)
> Email:tongshus...@migu.cn
>
> 发件人: Gary
> 发送时间: 2017-11-30 17:44
> 收件人: nginx
> 主题: Re: 回复: How
. From: tongshus...@migu.cnSent: November 30, 2017 1:14 AMTo: nginx@nginx.orgReply-to: nginx@nginx.orgSubject: 回复: How to control the total requests in Ngnix Additional: the
On Thu, Nov 30, 2017 at 08:04:41PM +0800, tongshus...@migu.cn wrote:
Hi there,
> what is the same "key " for all requests from different client ips for
> limit_conn_zone/limit_req_zone? I have no idea on this.
Any $variable might be different in different connections. Any fixed
string will not
Francis,
what is the same "key " for all requests from different client ips for
limit_conn_zone/limit_req_zone? I have no idea on this.
Tong
From: Francis Daly
Date: 2017-11-30 18:17
To: nginx
Subject: Re: How to control the total requests in Ngnix
On Thu, Nov 30, 2017 at 05:12:
gshus...@migu.cn
Sent: November 30, 2017 1:14 AM
To: nginx@nginx.org
Reply-to: nginx@nginx.org
Subject: 回复: How to control the total requests in Ngnix
Additional: the total requests will be sent from different client ips.
Tong
发件人: tongshus...@migu.cn
发送时间: 2017-11-30 17:12
收件人: nginx
主题: How to contro
On Thu, Nov 30, 2017 at 05:12:18PM +0800, tongshus...@migu.cn wrote:
Hi there,
> I want to use ngnix to protect my system,to allow max 2000 requests sent to
> my service(http location).
> The below configs are only for per client ip,not for the total requests
> control.
> ##method 1###
...@migu.cnSent: November 30, 2017 1:14 AMTo: nginx@nginx.orgReply-to: nginx@nginx.orgSubject: 回复: How to control the total requests in Ngnix Additional: the total requests will be sent from different client ips.Tong 发件人: tongshus...@migu.cn发送时间: 2017-11-30 17:12收件人: nginx主题: How to control the total
Additional: the total requests will be sent from different client ips.
Tong
发件人: tongshus...@migu.cn
发送时间: 2017-11-30 17:12
收件人: nginx
主题: How to control the total requests in Ngnix
Hi guys,
I want to use ngnix to protect my system,to allow max 2000 requests sent to my
service(http location
Hi guys,
I want to use ngnix to protect my system,to allow max 2000 requests sent to my
service(http location).
The below configs are only for per client ip,not for the total requests control.
##method 1##
limit_conn_zone $binary_remote_addr zone=addr:10m;
server {
location /mylo
26 matches
Mail list logo