Need help with Nginx Logging

Hey folks,

I would like to ask what does the 10.200 right after ‘excess:’ indicate
in
the following log? Is this storage size in MBs for zone? I am really
confused about that; I have gone through documentation pretty well but
not
able to find these attributes used in error logs.

*2014/11/20 17:28:47 [error] 30347#0: *55 limiting requests, excess:
10.200

by zone “search”, client: 10.170.2.23, server: http://www.example.com
http://www.example.com/, request: “GET /search/results/?keyword=
HTTP/1.1”, host: …*

I will be waiting for your response. Any help regarding this would be
appreciated!

Thanks,
Rehan

Hi, I am still looking for reply. Does anyone know about this?
On Feb 18, 2016 12:33 AM, “Muhammad Rehan” [email protected]

excess: 10.200 in above log means that the requests are being limited as
they are averaging at 10.2 requests / second .

Storage size is defined with a unit , For example zone=one:10m . This
means 10 MB .

I hope it helped.

On Sat, Feb 20, 2016 at 12:54 AM, Muhammad Rehan
[email protected]

Thanks for the reply, I have setup the directives such that rate is
30r/s
and burst is 10. So, my question is; why are these requests being
limited
when averaging at 10.2 while I have set the rate to 30r/s in
req_limit_zone?

On Sat, Feb 20, 2016 at 02:11:38PM +0500, Muhammad Rehan wrote:

Hi there,

Thanks for the reply, I have setup the directives such that rate is 30r/s
and burst is 10. So, my question is; why are these requests being limited
when averaging at 10.2 while I have set the rate to 30r/s in req_limit_zone?

How many requests do your log files say happened in the previous few
seconds?

About 10 per second, or about 40 per second, or something else?

“excess” means “above the limit”.

(Reading the log file is not perfect - slow responses will distort what
it
appears to show. But if everything is logged, and responses take roughly
the same amount of time, you should be able to see whether your actual
rate is close to “burst”, or close to “rate+burst”.)

On Feb 20, 2016 11:37 AM, “aT” [email protected] wrote:

excess: 10.200 in above log means that the requests are being limited as
they are averaging at 10.2 requests / second .

…more than the configured limit.

f

Francis D. [email protected]