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

Child processes are no longer terminated after upgrade forever v0.10.2 -> v0.14.1 #696

Open
srlowe opened this issue Apr 8, 2015 · 6 comments

Comments

@srlowe
Copy link

srlowe commented Apr 8, 2015

We have a node script that spawns a number of child processes using child_process.fork(). We were using forever to manage this parent script, and issuing a forever restart would kill the process and the children before restarting everything. Since we upgraded to forever 0.14.1 the child processes are no longer killed, but rather are left running, resulting in duplicated processes running on the server after a forever restart.

Could anyone shed any light on this behaviour change?

Thank you.

Additional Info:

I've tried --killSignal=SIGTERM (this seems to be a new option), but it doesn't change the behaviour.

@srlowe srlowe changed the title Child processes are no longer terminated after upgrade from forever 0.10.2 -> 0.14.1 Child processes are no longer terminated after upgrade from forever v0.10.2 -> v0.14.1 Apr 8, 2015
@srlowe srlowe changed the title Child processes are no longer terminated after upgrade from forever v0.10.2 -> v0.14.1 Child processes are no longer terminated after upgrade forever v0.10.2 -> v0.14.1 Apr 8, 2015
@srlowe
Copy link
Author

srlowe commented Apr 8, 2015

Looks like it might be related to this issue (which doesn't seem to have received much attention) #420

@neebz
Copy link

neebz commented May 10, 2015

it doesn't occur when I run forever(0.14.1) on Yosemite.

however my child processes are not killed when I use forever on Amazon EC2 instances.

@przemyslawpluta
Copy link

Same issue here.

@resteinbock
Copy link

same here

@indexzero
Copy link
Member

Can you try with forever@0.15.2 and try again?

@Agamnentzar
Copy link

This is still an issue in forever@0.15.3

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

No branches or pull requests

6 participants