-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Processes are sometimes restarted after pm stop
#1043
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
Comments
Does this solve the problem here ? :) |
Can't make any process restart after But while spamming |
Strange, works like a charm on my pc :/ |
https://gist.github.com/morkai/aad717dd1f5737d2894f |
Could someone try the PM2 development version, there are some Windows fixes
|
Now on EDIT: |
+1 with @morkai
Ubuntu |
+1 2016-01-07 16:02:16: Stopping app:ourselves-test-serv-app id:0 [webuser@test71 ourselves]$ ps aux|grep www |
I've just restarted 10 processes over 1000 times without any issues (using this script).
Windows 10 |
closing in favor of #2061 |
Sometimes after
pm2 stop all
processes may be restarted. See this gist (10 running processes, afterpm2 stop all
thetest-1
process is online and its restart count is 1).You can see that when it works, the process enters
God.handleExit()
with statusstopping
and when it doesn't work the status isstopped
, because sometimesGod.stopProcessId()
finishes before the process emits theclose
event.Windows 8.1 64-bit, Node.js v0.10.35, pm2 0.12.6 & development.
Couldn't reproduce it on Ubuntu 14.
The text was updated successfully, but these errors were encountered: