-
Notifications
You must be signed in to change notification settings - Fork 39
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
Running on windows, p2-server-monit is calling linux commands #78
Comments
same here, every one minute i see on
|
@carlosen14 I am facing the exact issue. any solution for it |
nope, just let it go... :( |
Hi, I'm having similar issue still...is it still outstanding issue and not fixed yet? Here is my log: pm2-server-monit > Failed to retrieve TTY metrics { Error: Command failed: who | grep -v localhost | wc -l |
Any updates with it? |
Similar issue on September 2020 ! |
Any updates on this? It is quite annoying. |
Issue exists 5 years and reproducible on your official docker image(18-alpine) |
Same here in Q4 2023
|
Issue still exists, I console log alot of stuff and this error is clogging up my logs which is real annoying. |
So, in case someone wants to get rid of those errors: fetch () {
exec('who | grep -v localhost | wc -l', (err, stdout, stderr) => {
if (err || stdout.length === 0) return console.error(`Failed to retrieve TTY metrics`, err)
this.ttyCount.set(parseInt(stdout))
})
} to: fetch () {
} Far from a clean solution, but the errors will be gone and I don't miss any feature. |
Running pm2 on windows causes many errors. The pm2 process want to call unix commands like top, who, grep etc. :
The text was updated successfully, but these errors were encountered: