Code Monkey home page Code Monkey logo

Comments (3)

Druue avatar Druue commented on May 25, 2024

Hey @Joao-Neto-DH,

Could you explain more about what you were doing and what your setup is? I'm not aware of what cpanel is either, it seems like a hosting provider? Is this only happening with them? or also locally.

Thanks!

from prisma.

aqrln avatar aqrln commented on May 25, 2024

Sorry for the misclick, will write a comment below.

from prisma.

aqrln avatar aqrln commented on May 25, 2024

PANIC: timer has gone away can happen if the system ran out of the limit of processes/threads (which are pretty much the same thing from the point of view of Linux). From what I can infer from https://support.cpanel.net/hc/en-us/articles/1500004501082-How-to-modify-Ulimit-values, it's not unusual for cpanel to have limits which are geared towards a very different kind of web applications and are unrealistically low for higher performance multi-threaded applications like Node.js with Prisma. Just starting Node.js by itself already "eats" 15 processes from the limit (checked just now with Node.js v22 on Linux by running the repl with the node command). Prisma Query Engine then also spawns a similar number of threads.

I suggest you check if it is indeed the cause of this error happening to you (if you have access to the shell, you can run ulimit -u), and raise a support ticket with your hosting provider to raise the limit for you if it's less than maybe 40–50 or so.

from prisma.

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.