Kill orphaned workers and prune monitor state space. #4

Merged
merged 3 commits into from Sep 30, 2011

Projects

None yet

2 participants

@skeltoac

If a process checks out a worker and then dies, the DOWN message dismisses the worker without regard for the pool state. This can leave a pool with too few workers. There are also places where monitors are not removed from state. This branch fixes both problems, adds a new test, and adds monitor state checking to other tests.

@skeltoac

Sorry for the mess... I'm still green at git.

@skeltoac skeltoac Fix demonitored pids being left in state space and check monitor list…
… length in all tests. Add user_death test to check that an orphaned worker is killed when a monitored user is reported 'DOWN'.
d27c012
@devinus
Owner

Looking into this as well...

@devinus devinus merged commit d27c012 into devinus:master Sep 30, 2011
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment