Apologies, it is not the cache taking up the space, it is the temp directory. But why is it still writing (and more importantly, not deleting!) the temp files. I disabled them in the config:
proxy_temp_path /var/cache/disk1/nginx_proxy_temp9001 1 2 3;
proxy_max_temp_file_size 0;
/var/cache/disk1/nginx_proxy_temp9001# du -sh
51G .
:O
Many thanks
From: Richard Kearsley [mailto:Richard.Kearsley@m247.com]
Sent: 10 April 2011 01:43
To: 'nginx@nginx.org'
Subject: cache manager
Hi
I have the line in my config like this..
proxy_cache_path /var/cache/disk1/nginx_proxy_cache levels=2:2:2 keys_zone=disk1:500m inactive=36h max_size=95000m;
This regularly finds its way over 100GB.. anything more I can do to make it stick to 95GB?
_______________________________________________
nginx mailing list
nginx@nginx.org
http://nginx.org/mailman/listinfo/nginx