Keys_zone was Re: nginx-0.8.53 segfault
Brian.Akins at turner.com
Fri Jan 14 04:55:53 MSK 2011
On 1/13/11 4:41 PM, "Maxim Dounin" <mdounin at mdounin.ru> wrote:
> proxy_cache_path /var/spool/nginx levels=1:2 keys_zone=one:1000m;
> proxy_cache_path /var/spool/nginx-preview levels=1:2
> in your config. 1000M for cache keys is a bit too many, it has
> space for 16mln keys (64 bytes per key on 32bit platforms).
Okay, this is a lingering question that is fuzzy in the docs. Is this size
in the key zone the size of the share memory lock for the keys or the size
of the cache on disk? I looked through the code for file_cache, but there
are several lengths added and subtracted.
More information about the nginx