Welcome! Log In Create A New Profile

Advanced

Re: could not build the referers_hash

Maxim Dounin
April 10, 2012 10:46AM
Hello!

On Wed, Apr 11, 2012 at 01:53:08AM +1200, Ryan Brown wrote:

> > There is configuration directive to adjust this,
> > referer_hash_bucket_size.  You don't need to edit the code.
> >
> > Maxim Dounin
>
> I got caught by this bug too,
>
> Seems a bit strange why the defaults (if not set) complains that its
> not enough.. I can see why people edit the code directly.
>
> If 64 isn't clearly enough when referer_hash_bucket_size isn't set,
> why not just up the default to 128 to avoid this unnecessary complaint
> by nginx.

The default is enough in most cases. There are some specific
situations (long values in hash, multiple colliding values) which
trigger the message, and the message itself explains what to do
(and we have the page at http://nginx.org/en/docs/hash.html which
explains details).

We might want to better (read: automatically) handle some
situation like non-colliding long values, where the only sensible
solution is to increase ..._hash_bucket_size, but this has nothing
to do with defaults change. With any default one will be able to
write a configuration which triggers the "could not build hash"
message.

Maxim Dounin

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

could not build the referers_hash

Justin Dorfman March 29, 2012 08:12PM

Re: could not build the referers_hash

Cliff Wells March 29, 2012 09:44PM

Re: could not build the referers_hash

Justin Dorfman March 29, 2012 10:06PM

Re: could not build the referers_hash

Cliff Wells March 30, 2012 11:18AM

Re: could not build the referers_hash

Justin Dorfman March 30, 2012 12:10PM

Re: could not build the referers_hash

Cliff Wells March 30, 2012 05:52PM

Re: could not build the referers_hash

Justin Dorfman April 09, 2012 03:50PM

Re: could not build the referers_hash

Maxim Dounin April 10, 2012 07:18AM

Re: could not build the referers_hash

fanboy April 10, 2012 09:54AM

Re: could not build the referers_hash

Maxim Dounin April 10, 2012 10:46AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 135
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