Giter Site home page Giter Site logo

Comments (7)

denji avatar denji commented on August 28, 2024

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.

cdliaozhi avatar cdliaozhi commented on August 28, 2024

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.

cdliaozhi avatar cdliaozhi commented on August 28, 2024

from ngx_cache_purge.

midorinet avatar midorinet commented on August 28, 2024

I'm having the same issue here.. any workaround for big cache size like > 300GB ?

from ngx_cache_purge.

cdliaozhi avatar cdliaozhi commented on August 28, 2024

from ngx_cache_purge.

ennorehling avatar ennorehling commented on August 28, 2024

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.

pei-jikui avatar pei-jikui commented on August 28, 2024

delete the file from disk in a worker process is REALLY NOT a good idea.

from ngx_cache_purge.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.