could not build the referers_hash

Justin Dorfman jdorfman at netdna.com
Mon Apr 9 19:49:43 UTC 2012


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.

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
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20120409/dbd2a491/attachment-0001.html>


More information about the nginx mailing list