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

node 4.x worker exit failure #2

Closed
davidlehn opened this issue Oct 15, 2015 · 2 comments
Closed

node 4.x worker exit failure #2

davidlehn opened this issue Oct 15, 2015 · 2 comments

Comments

@davidlehn
Copy link
Member

With node 4.2+ (likely earlier 4.x too) all bedrock processes have an exiting problem.

  • api.exit() called.
  • Worker disconnect() called.
  • Cluster exit event handler gets event for same worker id but worker.suicide is false. According to https://nodejs.org/api/cluster.html it seems like it should be true.
  • Process prints critical error saying it got code 0.
  • Process exists with code 1.
@davidlehn
Copy link
Member Author

nodejs/node#3238

@davidlehn
Copy link
Member Author

Fixing by calling kill() instead of disconnect() and process.exit():
466c8a6

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