proxy_cache fills harddrive despite max_size being set

Igor Sysoev igor at sysoev.ru
Wed Jun 2 22:57:50 MSD 2010


On Wed, Jun 02, 2010 at 08:11:53PM +0200, W-Mark Kubacki wrote:

> In Nginx 0.8.38 (and later; on amd64) I've set this:
>   proxy_cache_path /var/tmp/nginx/cache levels=1:2
> keys_zone=my-cache:10m inactive=8h max_size=100m;
> 
> Using that cache Nginx fills my harddrive with its cache, ignoring max_size.
> 
> Did somebody else observed that behaviour? Or, did I something wrong?

What does "du -kcd1 /var/tmp/nginx/cache" show ?


-- 
Igor Sysoev
http://sysoev.ru/en/



More information about the nginx mailing list