-
Notifications
You must be signed in to change notification settings - Fork 2.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
cpu usage always 0% in "pm2 status" #5182
Comments
I'm seeing the same thing on Ubuntu 18.04. It was working previously, with an older version of pm2 (can't remember the version) and Node 10, but this problem started when I upgraded to Node 16.13.0 and pm2 5.1.2. |
same problem here |
I did some digging, it looks like The issue is that in Line 622 in 5e0eb40
Line 60 in 5e0eb40
The issue is that As reported in GitHub issues for |
What's going wrong?
If I try to see CPU usage using "pm2 status" command, all processes always marked as 0% CPU usage.
I can see the correct CPU usage using "pm2 monit" or even "pm2 report"
How could we reproduce this issue?
Everything was working on my old server, with the same hardware, distro (Ubuntu 18), scripts and commands.
The only difference in this new server is that I used a different image to install the system (New server provider), and also using old versions for pm2, node, npm:
I tried to downgrade pm2 to 5.1.0 on the new server but the issue persisted.
Supporting information
The text was updated successfully, but these errors were encountered: