[英]Nodejs os.uptime() return incorrect up-time value by millisecond
[英]We couldn't find uptime from /proc/uptime, using os.uptime() value, Pm2 3.5 error
我们无法从/proc/uptime 中找到正常运行时间,使用os.uptime()
值,Pm2 3.5 错误
2020-02-11T20:11:43: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2020-02-11T20:12:13: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2020-02-11T20:12:43: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2020-02-11T20:13:13: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2020-02-11T20:13:43: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2020-02-11T20:14:13: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2020-02-11T20:14:43: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2020-02-11T20:15:43: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
2020-02-11T20:16:13: PM2 warn: [pidusage] We couldn't find uptime from /proc/uptime, using os.uptime() value
我没有防弹证据,但是当我们将 PM2 从 4.2.3 更新到 4.4 时,我们的项目中出现了同样的错误
老实说,我们通过互联网在主机上安装了模块,然后将其复制到生产环境中,这可以运行很多次,但无论如何这是一种不好的做法。
因此,降级到 4.2.3(通过 Nexus 正确安装)后一切正常
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.