# Limit zone state size

**URL:** <https://www.ruby-forum.com/t/limit-zone-state-size/221699>\
**Category:** NGINX\
**Created:** [July 26, 2012, 6:38pm UTC](https://www.ruby-forum.com/t/limit-zone-state-size/221699 "2012-07-26T18:38:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![aris](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/a/258eb7/32.png) [@aris](https://www.ruby-forum.com/u/aris)\
**Post date:** [July 26, 2012, 6:38pm UTC](https://www.ruby-forum.com/t/limit-zone-state-size/221699/1 "2012-07-26T18:38:01Z")

</div>

Hello.  
I’ve been reading the limit zone documentation and it seems there’s some  
ambiguity about the size of states.  
There are some mentions in the docs about states being 32 or 64 bytes in  
size (256/512 bits), but there’s also this sentence:

“can keep about 32 thousand 32-bit states, and about 16 thousand 64-byte  
states”

So, limit zone states are kept in 32/64 bits or 32/64 bytes (256/512  
bits)?

[http://nginx.org/en/docs/http/ngx\_http\_limit\_conn\_module.html#limit\_zone](http://nginx.org/en/docs/http/ngx_http_limit_conn_module.html#limit_zone)

Jader H. Silva

---

<div class="post-metadata">

**Author:** ![Jader\_HSSilva](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/b4bc9f/32.png) [@Jader\_HSSilva](https://www.ruby-forum.com/u/Jader_HSSilva)\
**Post date:** [July 26, 2012, 11:31pm UTC](https://www.ruby-forum.com/t/limit-zone-state-size/221699/2 "2012-07-26T23:31:27Z")

</div>

Hello!

On Thu, Jul 26, 2012 at 01:37:10PM -0300, Jader H. Silva wrote:

> [Module ngx\_http\_limit\_conn\_module](http://nginx.org/en/docs/http/ngx_http_limit_conn_module.html#limit_zone)

From previous sentences and numbers in the one in question it  
should be clear enough that it’s 32 bytes, not bits. That was  
just typo, fixed, thanks.

Maxim D.
