Comments (7)
Configuration file you have may be affected by other nginx settings like thread async i/o, cache lock.
What is the number of objects to be deleted (cache folder)? This module has no barrier or throttling.
from ngx_cache_purge.
My OS is FreeBSD 12.0. No async i/o. No matter I set proxy_cache_lock on or off, the same failure will occur.
Even if I purge a new site, just 28 pages.
from ngx_cache_purge.
from ngx_cache_purge.
I'm having the same issue here.. any workaround for big cache size like > 300GB ?
from ngx_cache_purge.
from ngx_cache_purge.
Earlier today, I explained why this happens, here:
FRiCKLE#55 (comment)
It's a fundamental problem with the way the plugin decides what is matched by a partial cache_key. There's apparently no easy way to find the cache_key for a given cache node, so instead it opens every file in the cache and reads the cache_key from that (it's stored as a string directly after the header). This is obviously going to hurt the disk. IMHO, this plugin is fundamentally flawed, and this isn't even the only problem with it.
from ngx_cache_purge.
delete the file from disk in a worker process is REALLY NOT a good idea.
from ngx_cache_purge.
Related Issues (20)
- Using optional configuration fails with `unknown directive "cache_purge_response_type"` HOT 3
- NGINX logs critical for inactive but purged cache entries HOT 2
- How to purge any Accept-Encoding cache ? HOT 2
- Module doesn't support purging encoded urls HOT 5
- "fastcgi_cache_purge" directive is incompatible with "fastcgi_cache" HOT 1
- not work HOT 2
- Why might it not be working? HOT 4
- nginx/1.19.0 response text extra null bytes HOT 5
- it coredumps when cache_key is not defined in config file. HOT 1
- Purge pages with arguments /purge/?*
- fastcgi_cache_purge not working HOT 1
- Not working with DELETE? HOT 1
- Wildcard Purge not working on special variables
- purge with wildcard return always 200
- Fixed URI sometimes not Deleted HOT 1
- 412 Precondition Failed please help me HOT 5
- nginx: [emerg] invalid parameter "purge_all" HOT 9
- Failed to purge a cached POST method by key
- Can not purge cache on Nginx 1.23.3 HOT 1
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_cache_purge.