GithubHelp home page GithubHelp logo

Comments (2)

br41nslug avatar br41nslug commented on June 25, 2024

Image transformation is a very CPU/Memory intensive process. The images you mention "around 4000x6000px, 3mb each" are almost the default MAX transform size of 6000x6000px and doing multiple of those may require more than the minimum specs.

Can you try lowering the ASSETS_TRANSFORM_MAX_CONCURRENT config to see if it results in a more stable experience? And perhaps increasing the ASSETS_TRANSFORM_TIMEOUT could help too.

from directus.

josias-r avatar josias-r commented on June 25, 2024

Even having ASSETS_TRANSFORM_MAX_CONCURRENT at 2 crashes the server. It crashes immediately much earlier before any timeout comes into play, so I don't think it has got to do something with ASSETS_TRANSFORM_TIMEOUT .

Scaling the app to 1GB RAM instead of 512mb immediately solves the issue and it perfectly handles concurrent transformations (at least from the one user I am)

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.