Project

General

Profile

Improvement #831

Worker processes should kill themself if home dies

Added by Udo Offermann over 12 years ago. Updated over 10 years ago.

Status:
Resolved
Priority:
Low
Assignee:
-
Category:
z2-base
Target version:
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.

#1

Updated by Henning Blohm over 12 years ago

  • Priority changed from High to Normal
#2

Updated by Henning Blohm over 12 years ago

  • Assignee deleted (Redmine Admin)
#3

Updated by Henning Blohm about 12 years ago

  • Category changed from z2-core to z2-base
  • Target version set to 2.2
#4

Updated by Henning Blohm over 11 years ago

  • Priority changed from Normal to Low
#5

Updated by Henning Blohm over 11 years ago

  • Tracker changed from Feature to Improvement
#6

Updated by Henning Blohm over 11 years ago

  • Target version changed from 2.2 to 14
#7

Updated by Henning Blohm almost 11 years ago

  • Target version changed from 14 to 2.3
#8

Updated by Henning Blohm over 10 years ago

  • Description updated (diff)
  • Target version changed from 2.3 to 3.0 - Experimental/Retired
#9

Updated by Henning Blohm over 10 years ago

  • Target version changed from 3.0 - Experimental/Retired to 2.3
#10

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.

Also available in: Atom PDF