commit | 464f207906ddca64e8e22aa7a8d15ffb953f35a7 | [log] [tgz] |
---|---|---|
author | Dmitry Volyntsev <xeioex@nginx.com> | Thu May 18 18:39:16 2017 +0300 |
committer | Dmitry Volyntsev <xeioex@nginx.com> | Thu May 18 18:39:16 2017 +0300 |
tree | 6f4dcf20783d0dbe489b3626489ba0b957d36e75 | |
parent | 7911b246d8e65ba39afdf4175a2a070a99e3b4a4 [diff] |
Cache: ignore long locked entries during forced expire. Abnormally exited workers may leave locked cache entries, this can result in the cache size on disk exceeding max_size and shared memory exhaustion. This change mitigates the issue by ignoring locked entries during forced expire. It also increases the visibility of the problem by logging such entries.