cannot build variables_hash

Francis Daly francis at daoine.org
Thu Jul 25 00:35:50 UTC 2013


On Wed, Jul 24, 2013 at 03:49:05PM -0700, John Watson wrote:

Hi there,

> Upgraded from 1.2.9 to 1.4.1 and now started getting:
> 
>   [emerg] could not build the variables_hash, you should increase either
> variables_hash_max_size: 512 or variables_hash_bucket_size: 64

<snip>

> adding this to http block fixes it:
>   variables_hash_max_size 1024;
> 
> Any ideas? Or direction on debugging?

What's the problem?

You got an error message which asked you to change one of two directives;
you checked the documentation for those directives which pointed you to
another document which told you which one to change first; you changed
that one; and the error state no longer applies.

It looks perfect from here.

	f
-- 
Francis Daly        francis at daoine.org



More information about the nginx mailing list