You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Unexpectedly my website was not responding so I checked pm2 status and I saw this:
┌──────────┬────┬──────┬─────┬────────┬─────────┬────────┬────────┬──────────┐
│ App name │ id │ mode │ pid │ status │ restart │ uptime │ memory │ watching │
└──────────┴────┴──────┴─────┴────────┴─────────┴────────┴────────┴──────────┘
Use `pm2 show <id|name>` to get more details about an app
So I ran pm2 resurrect which fixed it.
The server was never rebooted. Also prior to this incident I had tested rebooting the machine and all the processes correctly started on boot.
I don't see anything helpful in the logs and I have no idea why all my processes disappeared unexpectedly. Here's the current state of the system:
root@node:~/.pm2# lsb_release -a
No LSB modules are available.
Distributor ID: Ubuntu
Description: Ubuntu 14.04.2 LTS
Release: 14.04
Codename: trusty
root@node:~/.pm2# node -v
v0.12.7
root@node:~/.pm2# pm2 -v
0.14.3
root@node:~/.pm2# cat pm2.log
2015-09-12 00:19:27: Stopping app:g id:3
2015-09-12 00:19:27: App name:g id:3 disconnected
2015-09-12 00:19:27: App name:g id:3 exited with code SIGTERM
2015-09-12 00:19:27: Process with pid 23674 killed
2015-09-12 00:19:27: Starting execution sequence in -cluster mode- for app name:g id:3
2015-09-12 00:19:27: App name:g id:3 online
2015-09-12 22:59:27: [PM2][WORKER] Started with refreshing interval: 30000
2015-09-12 22:59:27: [[[[ PM2/God daemon launched ]]]]
2015-09-12 22:59:27: BUS system [READY] on port /root/.pm2/pub.sock
2015-09-12 22:59:27: RPC interface [READY] on port /root/.pm2/rpc.sock
2015-09-12 22:59:37: Starting execution sequence in -fork mode- for app name:a id:0
2015-09-12 22:59:37: App name:a id:0 online
2015-09-12 22:59:37: Starting execution sequence in -cluster mode- for app name:b id:1
2015-09-12 22:59:38: App name:b id:1 online
2015-09-12 22:59:38: Starting execution sequence in -cluster mode- for app name:c id:2
2015-09-12 22:59:38: App name:c id:2 online
2015-09-12 22:59:38: Starting execution sequence in -cluster mode- for app name:g id:3
2015-09-12 22:59:38: App name:g id:3 online
2015-09-12 22:59:38: Starting execution sequence in -cluster mode- for app name:d id:4
2015-09-12 22:59:39: App name:d id:4 online
root@node:~/.pm2# pm2 status
┌─────────────────┬────┬─────────┬───────┬────────┬─────────┬────────┬──────────────┬──────────┐
│ App name │ id │ mode │ pid │ status │ restart │ uptime │ memory │ watching │
├─────────────────┼────┼─────────┼───────┼────────┼─────────┼────────┼──────────────┼──────────┤
│ a │ 0 │ fork │ 13750 │ online │ 0 │ 40h │ 278.336 MB │ disabled │
│ b │ 1 │ cluster │ 13751 │ online │ 0 │ 40h │ 123.914 MB │ disabled │
│ c │ 2 │ cluster │ 13752 │ online │ 0 │ 40h │ 79.836 MB │ disabled │
│ g │ 3 │ cluster │ 13777 │ online │ 0 │ 40h │ 73.332 MB │ disabled │
│ d │ 4 │ cluster │ 13798 │ online │ 0 │ 40h │ 76.973 MB │ disabled │
└─────────────────┴────┴─────────┴───────┴────────┴─────────┴────────┴──────────────┴──────────┘
Use `pm2 show <id|name>` to get more details about an app
Any idea what could have happened that required me to run pm2 resurrect?
The text was updated successfully, but these errors were encountered:
Unexpectedly my website was not responding so I checked
pm2 status
and I saw this:So I ran
pm2 resurrect
which fixed it.The server was never rebooted. Also prior to this incident I had tested rebooting the machine and all the processes correctly started on boot.
I don't see anything helpful in the logs and I have no idea why all my processes disappeared unexpectedly. Here's the current state of the system:
Any idea what could have happened that required me to run
pm2 resurrect
?The text was updated successfully, but these errors were encountered: