max_size on proxy_cache_path not working correctly

Maxim Dounin mdounin at mdounin.ru
Wed Dec 17 20:45:12 UTC 2014


Hello!

On Tue, Dec 16, 2014 at 02:01:05PM -0500, badtzhou wrote:

> I am having problem with max_size setting on proxy_cache_path. I trying to
> set a limit on disk caching space that can be used by nginx.
> It works initially, but after a while the disk space used by nginx will grow
> much larger than max_size limit that I set.
> Feels like nginx cache manager die or stop tracking the caching for some
> reason.

You may want to try looking into logs and checking if the cache manager 
process is running (and if it is - what it's doing).

-- 
Maxim Dounin
http://nginx.org/



More information about the nginx mailing list