Welcome! Log In Create A New Profile



August 08, 2011 10:19AM
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!


"The directive sets the maximum size in a hash table to map variables"
What exactly is the max size here? Size of how many elements can be stored in hash table?


"The directive sets the maximum size of a hash table to hold the variable map"
Then how about the max size here?
Subject Author Posted


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: 72
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready