-
Notifications
You must be signed in to change notification settings - Fork 945
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
forever stop does not stop child processes #621
Comments
This is a duplicate of #544. It's because you are running as a different user and it can't find the bookkeeping files. |
forever list works fine. And it does kill the parent process, but not the
|
Oh, in that case I believe you want the |
killTree has no effect. It's already set to true in my config |
What operating system are you on? You might also consider what |
Ubuntu 14.04. Everything stops correctly if I manually pgrep for the processes and |
Hmm that is strange since |
Yea, it sends SIGKILL only to the On Mon, Nov 3, 2014 at 2:51 PM, Charlie Robbins [email protected]
|
So all of the killTree functionality is done via the It just spawns:
And then parses the output. |
For reference: https://github.com/indexzero/ps-tree/blob/master/index.js#L15 ... do you have some time to run that command exactly and see what's going on? |
Ok. To solve this, I wrote a Maybe this can be integrated into |
is |
no idea |
Any interest in finding out to help fix this issue? :) |
Yea, I'll do some research later. Thanks for your help in pointing me in the right direction. |
Thank you for bearing with me. I'm going to leave this closed, but open a corresponding issue on |
function exitHandler(options, err) { //do something when app is closing //catches ctrl+c event // catches "kill pid" (for example: nodemon restart) //catches uncaught exceptions |
If I use something like
sudo -u
in my forever script, thesudo
process is stopped but the actual process that I care about is still running after Istop
it. Is there some way to kill the entire process group?The text was updated successfully, but these errors were encountered: