Help with cache manager

Wandenberg Peixoto wandenberg at gmail.com
Tue Oct 9 20:46:04 UTC 2012


Hi,

I'm having trouble with the cache manager, it is not controlling the
max_size of the cache.

I have 22 workers on a 24 core server, 3 cache paths, one with 600g and
other two with 200g of max_size.

The cache path with 600g usually pass this value and reach 640g, as example.
The files used on this server has no more than 300mb each.

The other 200g cache paths don't have this problem.

Do you know any problem about a limit on max_size?
Any suggestion where I can investigate the problem?

The configuration is like this
proxy_cache_path /path1 levels=1:2 keys_zone=c1:1024m inactive=10d
max_size=600g;
proxy_cache_path /path2 levels=1:2 keys_zone=c2:1024m inactive=10d
max_size=200g;
proxy_cache_path /path3 levels=1:2 keys_zone=c3:1024m inactive=10d
max_size=200g;

When I restart the server the cache goes to the configured size.
Nginx: 1.2.0 with cache_purge module

Regards,
Wandenberg
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20121009/4d5d8b9e/attachment.html>


More information about the nginx-devel mailing list