Open MattiOfHell opened 1 year ago
If I send pm2 ls or pm2 describe the cpu and memory are not shown
pm2 ls
--- Daemon logs -------------------------------------------- /root/.pm2/pm2.log last 20 lines: PM2 | 2023-09-06T14:56:03: PM2 log: App [biscotto:31] starting in -fork mode- PM2 | 2023-09-06T14:56:03: PM2 log: App [biscotto:31] online PM2 | 2023-09-06T14:56:04: PM2 error: Error caught while calling pidusage PM2 | 2023-09-06T14:56:04: PM2 error: TypeError: One of the pids provided is invalid PM2 | 2023-09-06T14:56:05: PM2 error: Error caught while calling pidusage PM2 | 2023-09-06T14:56:05: PM2 error: TypeError: One of the pids provided is invalid PM2 | 2023-09-06T14:56:05: PM2 error: Error caught while calling pidusage PM2 | 2023-09-06T14:56:05: PM2 error: TypeError: One of the pids provided is invalid PM2 | 2023-09-06T14:56:06: PM2 error: Error caught while calling pidusage PM2 | 2023-09-06T14:56:06: PM2 error: TypeError: One of the pids provided is invalid PM2 | 2023-09-06T14:56:06: PM2 log: App [biscotto2:36] exited with code [0] via signal [SIGINT] PM2 | 2023-09-06T14:56:06: PM2 log: App [biscotto2:36] starting in -fork mode- PM2 | 2023-09-06T14:56:06: PM2 log: App [biscotto2:36] online PM2 | 2023-09-06T14:56:06: PM2 log: App [biscotto:31] exited with code [0] via signal [SIGINT] PM2 | 2023-09-06T14:56:06: PM2 log: App [biscotto:31] starting in -fork mode- PM2 | 2023-09-06T14:56:06: PM2 log: App [biscotto:31] online PM2 | 2023-09-06T14:56:07: PM2 error: Error caught while calling pidusage PM2 | 2023-09-06T14:56:07: PM2 error: TypeError: One of the pids provided is invalid PM2 | 2023-09-06T14:56:07: PM2 error: Error caught while calling pidusage PM2 | 2023-09-06T14:56:07: PM2 error: TypeError: One of the pids provided is invalid
?
Try removing your .pm2 folder and re-running pm2 start, worked for me
.pm2
What's going wrong?
If I send pm2 ls or pm2 describe the cpu and memory are not shown
How could we reproduce this issue?
pm2 ls
Supporting information