Open MeMeMax opened 3 years ago
Experiencing the same behavior. Have you manage to solve this issue? I'm not able to start, stop or log the applications. It even goes so far that I can't use OS specific commands like: ls, ps, mkdir and so on. Trying to call ls or ps ends up showing me following error: 'bash fork retry resource temporarily unavailable'.
I do have 3 applications and 4 cores, so I don't think that the issue is related, to a maximum amount of applications limited to your core amount.
Would love to hear your solution if you have one so far...
Edit: Following dependencies are used in my project
"dependencies": { "axios": "^1.2.1", "cookie-parser": "^1.4.6", "express": "^4.18.1", "express-session": "^1.17.3", "mysql": "^2.18.1" }
Could you tell me which dependencies your applications are built on? Maybe this could be caused by some dependencies, when using it with pm2.
What's going wrong?
I am running a Linux vServer which as 4 CPU vCore´s. I just added a new app running pm2 (now there are 5) and now I can´t stop or start any process. It just hangs here: [PM2] Applying action stopProcessId on app [affiliate-backend](ids: [ 1 ])
In the logs I saw this error message: pthread_create: Resource temporarily unavailable
Can I only run 4 apps when I have only 4 CPU cores? Is this a known problem?
How could we reproduce this issue?
Supporting information