Memory usage for the ngx_http_limit_req_module module

slowhand84 nginx-forum at nginx.us
Thu Sep 17 16:19:31 UTC 2015


Hello,
   I'm using the "nxg_http_limit_req" module to limit the service usage.
I've a questions about the "limit_req_zone" directive: how can I set the
correct size for the zone?
In docs I see that "One megabyte zone can keep about 16 thousand 64-byte
states", how can I know how much memory is necessary for each state? Is the
state a request in the "leaky bucket"?

Regards

Luca

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,261640,261640#msg-261640



More information about the nginx mailing list