﻿id	summary	reporter	owner	description	type	status	priority	milestone	component	version	resolution	keywords	cc	uname	nginx_version
157	cache max_size limit applied incorrectly with xfs	Tom Kostin	somebody	"No matter what I write in inactive= parameter  in proxy_cache_path directive - it is always 
resolved to 10 minutes . 

I tried different formats : 
inactive=14d 
inactive=2w
inactive=336h 

but the result is always the same : 10 minutes . 

Checked both by counting files in cache and manually doing ls -ltr in cache dir . 

This bug exists in 1.0.15 too . 

This bug does NOT exist in 0.8.55 ( the version we had to roll back to ) . 

relevant lines : 

proxy_cache_path  /ssd/two  levels=1:2:2  keys_zone=static:2000m inactive=14d max_size=120000m;
proxy_temp_path /ssd/temp;

in some server : 

location /images {
                expires 5d ;
                proxy_pass   http://static-local.domain:80;
                proxy_cache_valid  2w;
                proxy_cache  static;
                proxy_cache_use_stale  error timeout invalid_header updating http_500 http_502 http_503 http_504;

        }
"	defect	closed	minor		nginx-core	1.2.x	fixed	proxy_cache_path max_size		"Linux sfw4-p 2.6.18-238.12.1.el5 #1 SMP Tue May 31 13:22:04 EDT 2011 x86_64 x86_64 x86_64 GNU/Linux
"	"nginx version: nginx/1.2.0
built by gcc 4.1.2 20080704 (Red Hat 4.1.2-50)
TLS SNI support disabled
configure arguments: --prefix=/usr --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --pid-path=/var/run/nginx.pid --http-client-body-temp-path=/var/lib/nginx/tmp/client_body/ --http-fastcgi-temp-path=/var/lib/nginx/tmp/fastcgi/ --http-proxy-temp-path=/var/lib/nginx/tmp/proxy/ --with-http_ssl_module --with-http_stub_status_module --with-http_geoip_module
"
