Welcome! Log In Create A New Profile

Advanced

strange behavior for cache manager

January 17, 2015 11:15PM
Hi,
we are current running nginx version 1.7.6, we use nginx primarily as a reverse proxy on linux.
we have encountered a strange behavior for nginx cache manager,
everything is fine after restart nginx, the cache manage periodically spawn new process to check the meta data and honor the max cache size we are setting.
but after running for like 6 hours, it stopped honor the max cache size we are setting and started to go over it and eventually reach full disk size. no matter what we do (reduce the cache size to half of disk, reduce the active time for the cache) as long as it go over it, it will just keep growing.
i did some strace to the cache manager, and it just showing some normal epoll_wait, but nothing will even get unlinked. the process spawn cache manager perfectly fine.

PS. each time i restart nginx, after cache loader process completed, strace to cache manage will show it starts to unlink file, and everything goes back to normal. cache manage also starts to control cache and keep total cache size under max cache size we set. after certain period of time. it will fail again.

What could potentially cause this?
Subject Author Posted

strange behavior for cache manager

cxfcxf January 17, 2015 11:15PM

Re: strange behavior for cache manager

stanojr April 10, 2015 06:36AM

Re: strange behavior for cache manager

Roman Arutyunyan May 13, 2015 08:28AM

Re: strange behavior for cache manager

Serge Negodyuck May 15, 2015 06:12AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 280
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready