Welcome! Log In Create A New Profile

Advanced

Re: could not build the referers_hash

Maxim Dounin
April 10, 2012 07:18AM
Hello!

On Mon, Apr 09, 2012 at 12:49:43PM -0700, Justin Dorfman wrote:

> Our senior engineer figured how to fix it.
>
> What he did was edited this file: src/http/modules/ngx_http_referer_module.c
>
> and changed this line:
> prev->referer_hash_bucket_size, 64);
>
> to:
> prev->referer_hash_bucket_size, 128);
>
> Then recompiled nginx.
>
> Hope that helps someone in the future.

There is configuration directive to adjust this,
referer_hash_bucket_size. You don't need to edit the code.

Maxim Dounin

>
> Regards,
>
> Justin Dorfman http://www.twitter.com/jdorfman
>
>
>
>
> On Fri, Mar 30, 2012 at 2:50 PM, Cliff Wells <cliff@develix.com> wrote:
>
> > On Fri, 2012-03-30 at 09:08 -0700, Justin Dorfman wrote:
> > > Hey Cliff,
> > >
> > >
> > > Here are the current values:
> > >
> > >
> > > server_names_hash_max_size 65536;
> > > server_names_hash_bucket_size 256;
> >
> > These are not the hashes you are looking for =) Your error message
> > specified "you should increase referers_hash_bucket_size", indicating
> > that it is currently 64.
> >
> > Regards,
> > Cliff
> >
> >
> > _______________________________________________
> > nginx mailing list
> > nginx@nginx.org
> > http://mailman.nginx.org/mailman/listinfo/nginx
> >

> _______________________________________________
> nginx mailing list
> nginx@nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx

_______________________________________________
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: 139
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