-
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
PM2 stop causes restart of process #929
Comments
Did you update PM2 in memory?
|
I am experiencing this problem as well, node v0.10.35, npm v1.4.28, pm2 v0.12.3. However, it appears to only appear if the script has a server socket running.
For me, I had to |
Hi, @ruquay Maybe it is too later, but could you provide any sample codes to help me reproduce this? (gists will be fine). |
@Tjatse I have made a few efforts to reliably reproduce this, but have been unable to do so. I think this occurred for me between upgrading and restarting a server, since then the problem has -- at least for me -- disappeared. Perhaps @ibrahimab can still come up with something? |
I have been unable to reproduce this as I deleted all my processes, remove pm2 completely from my system en did a clean install and added the processes again. Since then they cleanly close. I did update pm2 with the updatePM2 command. I'll try it again when a new update for pm2 is available! |
This is fixed on the last version of |
Hi,
I am using node v0.10.24, npm version 1.3.21, pm2 version 0.12.3
I just updated pm2 and want to stop a process, but pm2 keeps respawning the process:
pm2 list
Process Name | 0 | fork | 32122 | online | 0 | 15m | 23.334 MB | disabled
pm2 stop 0
Process Name | 0 | fork | 32122 | online | 0 | 0 | 0 B | disabled
pm2 list
Process Name | 0 | fork | 24768 | online | 0 | 3s | 22.562 MB | disabled
The text was updated successfully, but these errors were encountered: