Welcome! Log In Create A New Profile

Advanced

ignore long locked inactive cache entry

Anton Kiryushkin
November 20, 2016 11:12AM
Здраствуйте.

Имеем nginx 1.11.1 с конфигом для кэширования:

proxy_cache_path /path/to/cache/folder levels=1:2 keys_zone=two:128m
max_size=120g inactive=120m loader_sleep=5ms;
proxy_temp_path /path/to/temp/folder 1 2;
proxy_ignore_headers Expires Cache-Control;
proxy_cache_min_uses 2;
proxy_cache_valid 200 302 7d;
proxy_cache_key $uri;
proxy_force_ranges on;


Примерно через 4 часа после перезапуска в логе начинают появляться
сообщения типа:

ignore long locked inactive cache entry e4717ba34b1d9f128e974fb692755202,
count:1

После чего свободного места в разделе не остается совсем. Если
перезапустить процесс, то nginx успешно удалит все лишнее и свободное место
появится снова.

Не подскажете, что с этим можно сделать?

Каких-то дополнительных модулей для кэширования нет.

--
Best regards,
Anton Kiryushkin
_______________________________________________
nginx-ru mailing list
nginx-ru@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx-ru
Subject Author Posted

ignore long locked inactive cache entry

Anton Kiryushkin November 20, 2016 11:12AM

Re: ignore long locked inactive cache entry

Anton Kiryushkin November 20, 2016 11:46AM

Re: ignore long locked inactive cache entry

Vasiliy P. Melnik November 20, 2016 12:54PM

Re: ignore long locked inactive cache entry

liveder January 13, 2017 05:38AM

Re: ignore long locked inactive cache entry

Anton Kiryushkin January 16, 2017 06:10AM

Re: ignore long locked inactive cache entry

Maxim Dounin January 16, 2017 08:18AM

Re: ignore long locked inactive cache entry

Anton Kiryushkin January 16, 2017 08:26AM

Re: ignore long locked inactive cache entry

Maxim Dounin January 16, 2017 08:50AM

Re: ignore long locked inactive cache entry

liveder January 16, 2017 09:46AM

Re: ignore long locked inactive cache entry

Anton Kiryushkin January 16, 2017 11:50AM

Re: ignore long locked inactive cache entry

liveder January 16, 2017 11:53AM

Re: ignore long locked inactive cache entry

Anton Kiryushkin January 16, 2017 11:58AM

Re: ignore long locked inactive cache entry

liveder January 16, 2017 11:59AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 100
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 500 on July 15, 2024
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready