cannot build variables_hash

Yichun Zhang (agentzh) agentzh at
Wed Jul 31 23:04:17 UTC 2013


On Wed, Jul 31, 2013 at 7:03 AM, Maxim Dounin wrote:
> How many variables are in total in the configuration in question?

I've just checked. There are only 124 variables.

> I suspect the real problem is hash collisions.

Yeah, it seems like that :)

>  Especially this used
> to hit people under qemu where cache line size of an emulated CPU
> is detected as 32 by nginx, see here:

Well, this is a modern Linux x86_64 system running on real hardware though :)

> Not sure how to properly address it though.  Right now I think
> just automatically doubling bucket_size if we wasn't able to build
> hash might be a good idea.

Yeah, this work-around looks good to me :)

Best regards,

More information about the nginx mailing list