Welcome! Log In Create A New Profile

Advanced

cache worker stops evicting assets

December 15, 2016 04:38AM
Hello there! we currently have this issue when we restart nginx, the cache zone disk consume rise constantly until we reach the 84h after the restart, here nginx locks and start deleting, after 15-30m everything starts working as usual and the cache worker behaves as expected until we do another restart.

Our current configuration is

proxy_cache_path /var/cache/nginx/assets levels=2:2 keys_zone=assets:512m
inactive=84h max_size=81920m use_temp_path=off
loader_files=1000 loader_sleep=50ms loader_threshold=300ms;

We currently have ˜2 million object consuming ˜40G.
Could be that cache loader worker cant keep up with all those objects after the restart?

Thanks!
Subject Author Posted

cache worker stops evicting assets

miracle.max December 15, 2016 04:38AM

Re: cache worker stops evicting assets

Maxim Dounin December 15, 2016 08:50AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 87
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready