Welcome! Log In Create A New Profile

Advanced

nginx cache exceeded, cache manager busy

March 15, 2011 03:32AM
Hi,
We are using nginx/0.8.15 on our front web server, mainly for caching and reverse proxy. Our cache is located in /dev/shm disk in order to obtain a better performance. Recently, we've found that sometimes the total size of the cache path would exceed the "max_size" in the configuration, and the process of "cache manager process" is quite busy, using 100% for one CPU.
We presume that the cache manager process might not be able to delete those expired files in time, because the read/write frequency on the cache disk is very high in our production environment, so the total size of the cache path sometimes exceeds the configuration. Is it correct? The configuration about it is "proxy_cache_path /dev/shm/nginx/cache/ levels=2:2 keys_zone=proxy-cache:154m max_size=4g inactive=72h ;"

Could someone tell us how to fix this problem? Thanks a lot.
Subject Author Posted

nginx cache exceeded, cache manager busy

wzpzning March 15, 2011 03:32AM

Re: nginx cache exceeded, cache manager busy

nettie March 15, 2011 05:36AM

Re: nginx cache exceeded, cache manager busy

zls June 07, 2011 10:37PM

Re: nginx cache exceeded, cache manager busy

Tony June 07, 2011 06:14AM

Re: nginx cache exceeded, cache manager busy

Igor Sysoev June 07, 2011 06:16AM

Re: nginx cache exceeded, cache manager busy

Tony June 07, 2011 06:26AM

Re: nginx cache exceeded, cache manager busy

Igor Sysoev June 08, 2011 09:30AM

Re: nginx cache exceeded, cache manager busy

zls June 10, 2011 04:18AM

Re: nginx cache exceeded, cache manager busy

zls June 12, 2011 10:34AM

Re: nginx cache exceeded, cache manager busy

zls June 25, 2011 10:57AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 190
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