> nginx: [emerg] could not build the referers_hash, you should increase
> referers_hash_bucket_size: 64
I hate to ask the obvious, but did you try increasing
referers_hash_bucket_size?
server {
referers_hash_bucket_size 128;
}
This variable seems undocumented (aside from a note it appeared in
1.0.5), but the error message appears helpful enough.
Regards,
Cliff
_______________________________________________
nginx mailing list
ng...@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
How large did you make the value? With a large number of vhosts the
value might need to be significantly higher. Also, I'm not sure of the
context for this value, it might need to be at the http level.
There's also a related value, referers_hash_bucket_size that might need
to be increased.
The only information I found was from this thread (translated from
Russian via google):
2011/7/19 Igor Sysoev <igor@xxxxxxxxx>:
> Changes in nginx 1.0.5 19.07.2011
>
>
> *) Feature: the referer_hash_max_size and
> Referer_hash_bucket_size.
> Thank you Witold Filipczyk.
With these guidelines, there are some problems:
- In the error messages as they are called, and referers_hash_max_size
referers_hash_bucket_size
- The default value for referer_hash_max_size in the error message
described as a 128 (actually - 2048)
- It is not clear how to find exactly where the problem
that is, such as the diagnosis is
nginx: [emerg] could not build the referers_hash, you should increase
referers_hash_bucket_size: 64
But that's not enough, as the context for referer_hash_max_size server
and location
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.