I thought the rate is per IP address, not for whole server.
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 503 error,and the error info as below: 2017/12/01 11:08:29 [error] 26592#37196: *15466 limiting requests, excess: 101.000 by zone "all", client: Why excess: 101.000? I set it as 2000r/s ?
| ||
_______________________________________________ nginx mailing list [email protected] http://mailman.nginx.org/mailman/listinfo/nginx
