2月 202019
今天使用pm2 启动nodejs应用, 发现启动一会儿,pm2 中status状态就从online变成error, 日志也看没有什么记录, 后来发现可以通过下面的步骤解决: pm2 update
如果彻底些,可以先kill 掉pm2的进程, 再执行pm2 update命令。
查看帮助
$ pm2 update -h
Usage: update [options]
(alias) update in-memory PM2 with local PM2
Options:
-h, –help output usage information
通过上面命令查看,估计问题出在本机PM2的内存数据里
Sorry, the comment form is closed at this time.