Nginx proxy cache purge process does not clean up items fast enough for new elements
Maxim Dounin
mdounin at mdounin.ru
Thu Oct 17 12:57:37 UTC 2019
Hello!
On Thu, Oct 17, 2019 at 08:35:58AM -0400, sachin.shetty at gmail.com 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:
http://nginx.org/r/proxy_cache_lock_age
http://nginx.org/r/proxy_cache_lock_timeout
Defaults are small enough and certainly aren't optimal for
100-gigabyte files.
--
Maxim Dounin
http://mdounin.ru/
More information about the nginx
mailing list