proxy_cache fills harddrive despite max_size being set

Ryan Malayter malayter at gmail.com
Wed Jun 30 20:00:56 MSD 2010


I'm seeing something similar. du -sb returns 1411480500 bytes, even
though I have specified 1024 MB as max size.

nginx 0.7.62 on ubuntu 9.10 server.

Here is my proxy_cache config:
    proxy_cache_path /var/spool/nginx_proxy_cache
      levels=1:2
      keys_zone=zone1:10m
      inactive=7d
      max_size=1024m;

Any ideas? Is it the inactive period of 7d that controls when the
cache manager process runs or something?

-- 
RPM



More information about the nginx mailing list