Improvement #831
Worker processes should kill themself if home dies
Start date:
Due date:
% Done:
100%
Estimated time:
origin:
Description
Suggestion 1:
- home sends a ping every n seconds
- if worker has not received the ping after 5*n seconds, it commits suicide.
However... under heavy load this may be more damaging than helpful.
Suggestion 2:
- the home process conveys its PID to the worker at start
- the worker checks for a process with PID once in a while. If not found, it commits suicide
However, checking for a process in an OS-independent way is not very reliable either.
Updated by Henning Blohm about 12 years ago
- Category changed from z2-core to z2-base
- Target version set to 2.2
Updated by Henning Blohm over 10 years ago
- Description updated (diff)
- Target version changed from 2.3 to 3.0 - Experimental/Retired
Updated by Henning Blohm over 10 years ago
- Target version changed from 3.0 - Experimental/Retired to 2.3
Updated by Henning Blohm over 10 years ago
- Status changed from New to Resolved
- % Done changed from 0 to 100
Applied in changeset z2-base:base|commit:f0a35f447675fbeabbca9d0e93ab92a7220b5e99.