Maxim Dounin
August 08, 2011 10:40AM
Hello!

On Mon, Aug 08, 2011 at 10:19:27AM -0400, zflairz wrote:

> I'm getting the error like this:
> nginx: [emerg] could not build the map_hash, you should increase either
> map_hash_max_size: 2048 or map_hash_bucket_size: 64
>
> I solved it by setting large values to those two variables, but I didn't
> quite the why. Could someone explain more about those two values?
> Thanks!

You may find general description of *_hash_max_size and
*_hash_bucket_size here:

http://wiki.nginx.org/Optimizations

Original documentation in Russian may be found here:

http://sysoev.ru/nginx/docs/hash.html

Maxim Dounin

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

map_hash_*_size

zflairz August 08, 2011 10:19AM

Re: map_hash_*_size

Maxim Dounin August 08, 2011 10:40AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 245
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready