3

When you setup nginx with limit_req directive, it logs excessive requests like

2019/10/30 17:41:36 [error] 10775#10775: *195997 limiting requests, excess: 10.210 by zone "zone_name" ...

I wonder, what means 10.210 here? I suppose, that 10 is a burst size, defined in limit_req as burst=10, but what is 210 here?

1 Answers1

1

https://dzone.com/articles/nginx-rate-limiting states this is:

Number of requests per millisecond over the configured rate that this request represents.

ceejayoz
  • 32,469
  • 7
  • 81
  • 105
  • This should read `requests per second` (not millisecond). – Simon Mar 02 '20 at 08:42
  • Sure? NGINX internally calculates it down to miliseconds as the docu says: https://www.nginx.com/blog/rate-limiting-nginx/ "[...]NGINX actually tracks requests at millisecond granularity[...]" – hmrc87 Feb 25 '22 at 14:38