Coder Social home page Coder Social logo

Cache related service degradation. (Flows stop working, updates start failing with "Maximum call stack size exceeded") about directus HOT 3 CLOSED

a14e avatar a14e commented on September 26, 2024 1
Cache related service degradation. (Flows stop working, updates start failing with "Maximum call stack size exceeded")

from directus.

Comments (3)

br41nslug avatar br41nslug commented on September 26, 2024

Feels related to #19664

from directus.

rijkvanzanten avatar rijkvanzanten commented on September 26, 2024

@a14e How much memory do your Directus containers have? Gut feeling says it's the combination of having a somewhat larger schema, a lower memory ceiling for NodeJS, not using Redis for caches, and our default configuration of 100 cached GraphQL schemas. Lowering the GRAPHQL_SCHEMA_CACHE_CAPACITY to fit your schema and memory configuration is actually the correct solution here, unless one of my assumptions isn't accurate 🙂

Closing this for now as the presented workaround is the correct solution. Happy to reopen and keep discussing if other information becomes available

from directus.

a14e avatar a14e commented on September 26, 2024

@rijkvanzanten I'm using Redis cache. I have 1 GB of RAM. I tried to increase it to 2 GB, but the situation remained the same. There is also a memory usage plot in my initial report. Memory usage was under 200 MB.

image

from directus.

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.