Skip to content
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

PM2 duplicates one process when i "npx pm2 restart Ameca" #5942

Open
TVARecordings opened this issue Feb 2, 2025 · 0 comments
Open

PM2 duplicates one process when i "npx pm2 restart Ameca" #5942

TVARecordings opened this issue Feb 2, 2025 · 0 comments

Comments

@TVARecordings
Copy link

Hello, great and beloved developers-team behind PM2.

I unfortunately have been experiencing the following problem for a while now (speaking of months) while i always update my PM2.

When i execute the line "npx pm2 restart Ameca", where Ameca is the one and only process running, it often duplicates the process.

I always have logs -f open, and in the logs it's visible that it restarts the original process, but it also duplicates the process, which i can only stop if i execute "npx pm2 kill.

For example: if i execute "npx pm2 stop Ameca", it stops the original restarted process. But the duplicate process continues going.

When i check my list with processes (id, name, mode, ?, status, cpu, memory), i do not see the duplicate process listed.

This happens +/- 2/10 times. Sometimes more frequent, sometimes less frequent.

I hope this could be fixed, or if it's a configuration on my side, I'd like to have guidance on how and what.

With kind regards, a developer who couldn't life without PM2.

Also, i see a new market for PM2.

Has PM2 considered to go into the ICD-Business (Implantable Cardioverter Defibrillator).

If HumanHeart.exe crashed, please PM2 restart HumanHeart.exe

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant