Welcome! Log In Create A New Profile

Advanced

RE: cache manager

Richard Kearsley
April 09, 2011 09:20PM
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
Subject Author Posted

cache manager

Richard Kearsley April 09, 2011 08:44PM

RE: cache manager

Richard Kearsley April 09, 2011 09:20PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 156
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready