could not build the referers_hash
Maxim Dounin
mdounin at mdounin.ru
Tue Apr 10 11:16:04 UTC 2012
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 at 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 at nginx.org
> > http://mailman.nginx.org/mailman/listinfo/nginx
> >
> _______________________________________________
> nginx mailing list
> nginx at nginx.org
> http://mailman.nginx.org/mailman/listinfo/nginx
More information about the nginx
mailing list