Unitech / pm2

Node.js Production Process Manager with a built-in Load Balancer.
https://pm2.keymetrics.io/docs/usage/quick-start/
Other
41.6k stars 2.62k forks source link

[PM2] [v] All Applications Stopped #5920

Open MrXieH opened 6 days ago

MrXieH commented 6 days ago

What's going wrong?

I've deployed several applications using pm2, but at noon today I suddenly found a business exception, and using the pm2 list, I found that none of the applications in the list were present. Check the logs:

journalctl -xe | grep pm2
Nov 20 09:54:00 localhost.localdomain pm2[106811]: [PM2] Spawning PM2 daemon with pm2_home=/root/.pm2
Nov 20 09:54:00 localhost.localdomain pm2[106811]: [PM2] PM2 Successfully daemonized
Nov 20 09:54:00 localhost.localdomain pm2[106811]: [PM2][Module] Starting NPM module pm2-logrotate
Nov 20 09:54:00 localhost.localdomain pm2[106811]: [PM2][WARN] Applications pm2-logrotate not running, starting...
Nov 20 09:54:00 localhost.localdomain pm2[106811]: [PM2] App [pm2-logrotate] launched (1 instances)
Nov 20 09:54:00 localhost.localdomain pm2[106811]: [PM2] [v] Modules Stopped
Nov 20 09:54:00 localhost.localdomain pm2[106811]: [PM2] Applying action deleteProcessId on app [all](ids: [ 0 ])
Nov 20 09:54:00 localhost.localdomain pm2[106811]: [PM2] pm2-logrotate
Nov 20 09:54:00 localhost.localdomain pm2[106811]: [PM2] [v] All Applications Stopped
Nov 20 09:54:01 localhost.localdomain pm2[106811]: [PM2] [v] PM2 Daemon Stopped

What should I do to troubleshoot?

How could we reproduce this issue?

Supporting information

# Run the following commands
$ pm2 report
MrXieH commented 6 days ago

the hardware configuration is perfectly adequate