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

nxspeed nginx-forum at nginx.us
Mon Mar 24 19:06:45 UTC 2014


> On Wednesday 27 March 2013 16:34:27 praveenkumar Muppala wrote:
> > Hi,
> > 
> > We have a nginx1.0.5 version installed in our system. We are getting
> this
> > error continuously in our nginx error log. ngx_slab_alloc() failed:
> no
> > memory in cache keys zone "zone-xyz". I have increased this value to
> 20G,
> > even 30G also still getting the same error. Can you help to fix this
> error
> > please.
> 
> Do you really have 30 gigabytes of RAM? Why do you need such a big
> zone?
> 
> You are probably confuse "keys_zone" with max cache size.
> 
>   wbr, Valentin V. Bartenev
> 

Does ngx_http_file_cache_manager() actively manage the size of the
'keys_zone'? i.e., will the manager remove old items from cache to keep the
keys_zone under its configured size?

Posted at Nginx Forum: http://forum.nginx.org/read.php?2,237829,248642#msg-248642



More information about the nginx mailing list