Welcome! Log In Create A New Profile

Advanced

Keys_zone was Re: nginx-0.8.53 segfault

Akins, Brian
January 13, 2011 09:02PM
On 1/13/11 4:41 PM, "Maxim Dounin" <mdounin@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
> keys_zone=image-preview:1000m;
>
> 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.

Thanks.

--
Brian Akins


_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx
Subject Author Posted

Keys_zone was Re: nginx-0.8.53 segfault

Akins, Brian January 13, 2011 09:02PM

Re: Keys_zone was Re: nginx-0.8.53 segfault

Piotr Sikora January 13, 2011 09:06PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 127
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