Welcome! Log In Create A New Profile

Advanced

Re: ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

April 02, 2014 07:41PM
> What currently can be used for such a use case is "inactive="
> parameter of the proxy_cache_path directive (see
> http://nginx.org/r/proxy_cache_path). It ensures that items not
> recently requested are removed from the cache, including ones
> created with proxy_cache_min_uses. Have you tried tuning it?

Hi Maxim

Thank you for your response.
Yes, that is what I do - try to keep balance between inactive time (which I obviously want to keep as high as possible) and the keys zone size. But this is constant/never-ending effort if the traffic pattern is changing (and it unfortunately is for me...). It would be great if nginx used keys size as an additional trigger to forced_expire resources - to auto-adjust the removal aggression when the traffic profile changes.

Regards,
Kuba
SubjectAuthorPosted

ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

praveenkumar MuppalaMarch 27, 2013 08:36AM

Re:ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

flygoastMarch 28, 2013 08:14AM

Re: ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

Valentin V. BartenevMarch 28, 2013 10:34AM

Re: ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

nxspeedMarch 24, 2014 03:06PM

Re: ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

jakubpMarch 31, 2014 08:13PM

Re: ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

Maxim DouninApril 01, 2014 08:34AM

Re: ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

jakubpApril 02, 2014 05:30AM

Re: ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

Maxim DouninApril 02, 2014 08:22AM

Re: ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

jakubpApril 02, 2014 07:41PM

Re: ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

Maxim DouninApril 03, 2014 07:36AM

Re: ngx_slab_alloc() failed: no memory in cache keys zone "zone-xyz"

jakubpMay 08, 2014 05:54PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 112
Record Number of Users: 7 on March 06, 2014
Record Number of Guests: 229 on August 01, 2014
Powered by nginx    Powered by FreeBSD    PHP Powered    Powered by Percona     ipv6 ready