-
-
Notifications
You must be signed in to change notification settings - Fork 667
Description
We are running a system based on WebJS with 12 sessions deployed on a 12-core server.
Lately, the server has been constantly running at full CPU load. As a result, many of the sessions start restarting automatically. However, after restart, they remain stuck in the "starting" state and never reach a healthy or ready status.
Here are some more details:
Each session is isolated and handles its own workload.
All 12 sessions are deployed on a 12-core server (1 core per session).
There is no explicit reason in the logs for the restart — it just happens automatically.
After a session restarts, it never proceeds past the "starting" phase.
No external traffic spike or crash is observed; it feels like an internal overload or deadlock.
Questions:
What can cause WebJS sessions to restart on their own and get stuck in the "starting" state?
Could running 12 sessions on 12 cores be too tight (no room for the system scheduler or base processes)?
What tools or logs should I look at to debug the root cause?
Any suggestions or similar experiences would be appreciated.