# Need help with Nginx Logging

**URL:** <https://www.ruby-forum.com/t/need-help-with-nginx-logging/244083>\
**Category:** NGINX\
**Created:** [February 17, 2016, 8:34pm UTC](https://www.ruby-forum.com/t/need-help-with-nginx-logging/244083 "2016-02-17T20:34:11Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rafa\_F](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/r/958977/32.png) [@Rafa\_F](https://www.ruby-forum.com/u/Rafa_F)\
**Post date:** [February 17, 2016, 8:34pm UTC](https://www.ruby-forum.com/t/need-help-with-nginx-logging/244083/1 "2016-02-17T20:34:11Z")

</div>

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)  
> [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

---

<div class="post-metadata">

**Author:** ![Muhammad\_Rehan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/c57346/32.png) [@Muhammad\_Rehan](https://www.ruby-forum.com/u/Muhammad_Rehan)\
**Post date:** [February 19, 2016, 9:54pm UTC](https://www.ruby-forum.com/t/need-help-with-nginx-logging/244083/2 "2016-02-19T21:54:47Z")

</div>

Hi, I am still looking for reply. Does anyone know about this?  
On Feb 18, 2016 12:33 AM, “Muhammad Rehan” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![Muhammad\_Rehan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/c57346/32.png) [@Muhammad\_Rehan](https://www.ruby-forum.com/u/Muhammad_Rehan)\
**Post date:** [February 20, 2016, 7:38am UTC](https://www.ruby-forum.com/t/need-help-with-nginx-logging/244083/3 "2016-02-20T07:38:21Z")

</div>

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  
[removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)

---

<div class="post-metadata">

**Author:** ![Muhammad\_Rehan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/c57346/32.png) [@Muhammad\_Rehan](https://www.ruby-forum.com/u/Muhammad_Rehan)\
**Post date:** [February 20, 2016, 10:11am UTC](https://www.ruby-forum.com/t/need-help-with-nginx-logging/244083/4 "2016-02-20T10:11:59Z")

</div>

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?

---

<div class="post-metadata">

**Author:** ![Muhammad\_Rehan](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/m/c57346/32.png) [@Muhammad\_Rehan](https://www.ruby-forum.com/u/Muhammad_Rehan)\
**Post date:** [February 20, 2016, 10:36am UTC](https://www.ruby-forum.com/t/need-help-with-nginx-logging/244083/5 "2016-02-20T10:36:32Z")

</div>

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” [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid) 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. [removed\_email\_address@domain.invalid](mailto:removed_email_address@domain.invalid)
