Welcome! Log In Create A New Profile

Advanced

ngx_slab_alloc() failed: no memory in cache keys zone

Nick Urbanik
September 18, 2017 08:48PM
Dear Folks,

We have this message repeatedly, despite increasing keys_zone size by
a factor of three to:

proxy_cache_path /srv/mycache levels=1:2 keys_zone=myzone:150m inactive=15d;

This caused the errors to stop for three or four hours and then back
again.

The cache itself is quite big:
sudo du -s /srv/mycache
1826303379 /srv/mycache

and we have many messages like this in our logs:
unlink() "/srv/mycache/c/fc/4e8755ecadf5a82ec7208c16d8ddbfcc" failed (2: No such file or directory)

Any suggestions most welcome.
--
Nick Urbanik http://nicku.org 808-71011 nick.urbanik@optusnet.com.au
GPG: 7FFA CDC7 5A77 0558 DC7A 790A 16DF EC5B BB9D 2C24 ID: BB9D2C24
I disclaim, therefore I am.
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

ngx_slab_alloc() failed: no memory in cache keys zone

Nick Urbanik September 18, 2017 08:48PM

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

Nick Urbanik September 18, 2017 09:18PM

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

Nick Urbanik September 20, 2017 07:36PM

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

pbooth September 20, 2017 07:52PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 313
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready