Nginx proxy cache purge process does not clean up items fast enough for new elements

Maxim Dounin mdounin at
Thu Oct 17 12:57:37 UTC 2019


On Thu, Oct 17, 2019 at 08:35:58AM -0400, sachin.shetty at wrote:

> Thankyou, we use proxy_cache_lock as well, but in certain weird burst
> scenarios, it still ends up filling the disk.

There are two timeouts for proxy_cache_lock to tune, 
proxy_cache_lock_age and proxy_cache_lock_timeout:

Defaults are small enough and certainly aren't optimal for 
100-gigabyte files.

Maxim Dounin

More information about the nginx mailing list