PM2突然停止,因为找不到/ proc / uptime

时间:2019-12-26 01:52:39

标签: node.js centos7 pm2

工作了几个小时后,我的PM2崩溃了,我无法使用pm2 list之类的任何命令或包含正常运行时间的任何命令。

日志显示[pidusage]我们无法使用os.uptime()值从/ proc / uptime中找到正常运行时间

我认为这是由于获取时间方面的错误。

这是我的pm2.log

2019-12-23T22:03:00: PM2 log: ===============================================================================
2019-12-23T22:03:00: PM2 log: --- New PM2 Daemon started ----------------------------------------------------
2019-12-23T22:03:00: PM2 log: Time                 : Mon Dec 23 2019 22:03:00 GMT+0800 (China Standard Time)
2019-12-23T22:03:00: PM2 log: PM2 version          : 4.2.1
2019-12-23T22:03:00: PM2 log: Node.js version      : 12.14.0
2019-12-23T22:03:00: PM2 log: Current arch         : x64
2019-12-23T22:03:00: PM2 log: PM2 home             : /root/.pm2
2019-12-23T22:03:00: PM2 log: PM2 PID file         : /root/.pm2/pm2.pid
2019-12-23T22:03:00: PM2 log: RPC socket file      : /root/.pm2/rpc.sock
2019-12-23T22:03:00: PM2 log: BUS socket file      : /root/.pm2/pub.sock
2019-12-23T22:03:00: PM2 log: Application log path : /root/.pm2/logs
2019-12-23T22:03:00: PM2 log: Worker Interval      : 30000
2019-12-23T22:03:00: PM2 log: Process dump file    : /root/.pm2/dump.pm2
2019-12-23T22:03:00: PM2 log: Concurrent actions   : 2
2019-12-23T22:03:00: PM2 log: SIGTERM timeout      : 1600
2019-12-23T22:03:00: PM2 log: ===============================================================================
2019-12-23T22:03:23: PM2 log: App [api:0] starting in -cluster mode-
2019-12-23T22:03:23: PM2 log: App [api:0] online
2019-12-23T22:03:23: PM2 log: App [api:1] starting in -cluster mode-
2019-12-23T22:03:23: PM2 log: App [api:1] online
2019-12-25T01:03:57: PM2 log: App [api:0] starting in -cluster mode-
2019-12-25T01:03:57: PM2 log: App [api:0] online
2019-12-25T01:03:58: PM2 log: -reload- New worker listening
2019-12-25T01:03:58: PM2 log: Stopping app:api id:_old_0
2019-12-25T01:03:58: PM2 log: App name:api id:_old_0 disconnected
2019-12-25T01:03:58: PM2 log: App [api:_old_0] exited with code [0] via signal [SIGINT]
2019-12-25T01:03:58: PM2 log: pid=12865 msg=process killed
2019-12-25T01:03:58: PM2 log: App [api:1] starting in -cluster mode-
2019-12-25T01:03:59: PM2 log: App [api:1] online
2019-12-25T01:03:59: PM2 log: -reload- New worker listening
2019-12-25T01:03:59: PM2 log: Stopping app:api id:_old_1
2019-12-25T01:03:59: PM2 log: App [api:_old_1] exited with code [0] via signal [SIGINT]
2019-12-25T01:03:59: PM2 log: pid=12872 msg=process killed
2019-12-26T07:15:35: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:16:05: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:16:35: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:17:05: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:17:35: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:18:05: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:18:35: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:19:05: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:19:35: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:20:05: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:20:35: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:21:05: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:21:35: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:22:05: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:22:35: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:23:05: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:23:35: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:24:05: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:24:35: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:25:05: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:25:35: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:26:05: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:26:35: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:27:05: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:27:35: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:28:05: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:28:35: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:29:05: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2019-12-26T07:29:35: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value

任何我的dump.pm2 https://drive.google.com/file/d/1GIXn1GyMNM9qNYnKk4eyTVTmBLDEbxo0/view?usp=sharing

0 个答案:

没有答案