Help with cache manager

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

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs