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?

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 .

:open_mouth:

Many thanks

From: Richard K. [mailto:[email protected]]
Sent: 10 April 2011 01:43
To: ‘[email protected]
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?

proxy_cache_path /var/cache/disk1/nginx_proxy_cache levels=2:2:2
keys_zone=disk1:500m inactive=36h max_size=95000m;

Reset temp directory

Posted at Nginx Forum:

PHP Newsletter

Posted at Nginx Forum: