Welcome! Log In Create A New Profile

Advanced

cache manager of nginx not clearing cache as expected

January 18, 2017 02:21AM
Hi,

we are running nginx with version 1.10 on redhat 7.2 OS. We have set max_seize limit for cache of particular application. But we have observed that cache manager is clearing the space from cache but not at desired speed . below are few details :
Filesystem Type Size Used Avail Use% Mounted on

/dev/mapper/vg_cache-lv_cache ext4 1.5T 1.4T 6.9M 100% /cache

------------------------------------
du -sh /cache/12007
243G 12007
--------------------
nginx conf corresponding line :
proxy_cache_path /cache/12007 keys_zone=a12007:200m levels=1:2 max_size=200g inactive=10d;

----------------

In error.log we are getting continuous no space left on the device errors.
Please advise what needs to be done to avoid these types of scenario. We are getting very frequent error of such types in out environment.
Subject Author Posted

cache manager of nginx not clearing cache as expected

omkar_jadhav_20 January 18, 2017 02:21AM

Re: cache manager of nginx not clearing cache as expected

Igor A. Ippolitov January 18, 2017 04:08AM

Re: cache manager of nginx not clearing cache as expected

omkar_jadhav_20 January 18, 2017 05:44AM

Re: cache manager of nginx not clearing cache as expected

Igor A. Ippolitov January 18, 2017 02:18PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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