pm2 进程删除了自己,不再找到进程

pm2 process deleted itself, process no longer found

我们在 Node 上有一个进程 运行 在 2 天前自杀了。以下内容来自pm2.log

2017-01-04 08:30:47: pm2 has been killed by signal, dumping process list before exit...
2017-01-04 08:30:47: Deleting process 0
2017-01-04 08:30:47: Stopping app:main id:0
2017-01-04 08:30:47: App [main] with id [0] and pid [32528], exited with code [0] via signal [SIGTERM]
2017-01-04 08:30:47: [PM2] Exited peacefully

现在正在重新启动进程 0(不再是 运行)returns:

[PM2] Applying action restartProcessId on app [0](ids: 0)
[PM2][ERROR] Process 0 not found

我的理解是这可能是内存问题。任何有关恢复此过程的建议都将不胜感激。

这个

2017-01-04 08:30:47: Deleting process 0

表示该进程已被完全删除,因此实际上无法重新启动。您需要使用新的进程 ID 重新启动它。