Comments (7)
after i have restarted nginx with full cache, nginx cleaned up cache to correct size (1800m) and hold it correct.
so, i think problem exists only when nginx starts with absolutly empty cache (both times i have cleaned directory /var/cache/nginx by using rm -rf /var/cache/nginx/* before start).
from ngx_slowfs_cache.
after about 24 hours of normal work, it stopped to clean up cache again... that looks like a bug..
from ngx_slowfs_cache.
I've already written this in letter, but I'll repeat it here:
This happens because cache manager repeatedly tries and fails to purge cache entry with nonzero usage count.
By nonzero I mean 0xFFFFF, that is, 20-bit "-1". That is not because of the only decrement in slowfs code, so it's increment missing somewhere.
This only happens with nginx 1.2.*, so workaround is to use nginx 1.0.
from ngx_slowfs_cache.
thank you very much
from ngx_slowfs_cache.
Also, proposed solution for bug #4 solves this problem.
I'm now running 1.2.6 for two days and 5M cache requests without violating max_size limit.
from ngx_slowfs_cache.
Fixed in 5800076 (1.10). Thanks for report and sorry for the delay.
from ngx_slowfs_cache.
thank you very much for your great work!
from ngx_slowfs_cache.
Related Issues (13)
- POST to site root ('/') returns "405 not allowed" HOT 3
- Warm cache without returning data to requestor? HOT 1
- Core dump on FreeBSD 10.2 and nginx_1.8.0
- Seg Fault on Centos 5 & nginx 1.8.0 HOT 1
- Error 500 when aio threads enabled.
- Still lots of RPC calls HOT 1
- incompatibility with open_file_cache option HOT 1
- ignore long locked inactive cache entry 0cc175..., count: 1048575 HOT 1
- Crash when cache->file.name is not populated HOT 1
- $slowfs_cache_status is almost always HIT
- doesn't meet max_size limit HOT 2
- module ingores Etag
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ngx_slowfs_cache.