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

Improved worker-master connection failure handling #39

Open
wants to merge 4 commits into
base: master
Choose a base branch
from

Conversation

Ceraunograph
Copy link
Contributor

@riteshnoronha @goose42

Improvements to chore:

  • Non blocking accepts on worker connection attempts
  • Max number of successive worker connection failures before the master shuts down
  • Workers are now killed via process group id rather than by individual id's.

Workers should now avoid hanging indefinitely if the master fails to establish a connection to it.

Previously this would cause the master to continuously try to fork new worker processes indefinitely. This change should resolve situations where new workers are unable to connect to the master for any reason causing the master to be stuck.

@Ceraunograph Ceraunograph force-pushed the supmoney-418/chore_improvements branch from c0a8e1d to 5b7c651 Compare July 14, 2016 18:18
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

Successfully merging this pull request may close these issues.

None yet

1 participant