Project

General

Profile

Task #227

gateways: Restart=on-failure für systemd-units

Added by Linus Lüssing over 3 years ago. Updated 6 months ago.

Status:
Closed
Priority:
High
Assignee:
-
Start date:
03/25/2016
Due date:
% Done:

100%


Description

bird und bird6, manchmal auch named, stürzen des öfteren mal ab:

[tux@burgtor ~]$ sudo systemctl status named
● named.service - Internet domain name server
   Loaded: loaded (/usr/lib/systemd/system/named.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Thu 2016-02-11 01:16:22 CET; 1 months 10 days ago
  Process: 16835 ExecStop=/usr/bin/rndc stop (code=exited, status=1/FAILURE)
  Process: 7403 ExecReload=/usr/bin/rndc reload (code=exited, status=0/SUCCESS)
  Process: 28438 ExecStart=/usr/bin/named -f -u named (code=killed, signal=KILL)
 Main PID: 28438 (code=killed, signal=KILL)

Warning: Journal has been rotated since unit was started. Log output is incomplete or unavailable.
[tux@burgtor ~]$ sudo systemctl status bird
● bird.service - BIRD routing daemon
   Loaded: loaded (/usr/lib/systemd/system/bird.service; enabled; vendor preset: disabled)
   Active: failed (Result: exit-code) since Mon 2016-02-08 01:57:31 CET; 1 months 10 days ago
  Process: 4128 ExecStop=/usr/bin/birdc down (code=exited, status=1/FAILURE)
  Process: 10167 ExecReload=/usr/bin/birdc configure (code=exited, status=0/SUCCESS)
  Process: 257 ExecStart=/usr/bin/bird (code=exited, status=0/SUCCESS)
 Main PID: 324 (code=dumped, signal=SEGV)

Daher der Vorschlag, auf den Gateways in die systemd Units ein "Restart=on-failure" einzubauen, damit z.B. ein bird automatisch nach einem segmentation fault neu gestartet wird.

History

#1 Updated by Linus Lüssing over 3 years ago

  • Project changed from Freifunk Lübeck to Infrastruktur

#2 Updated by Linus Lüssing 6 months ago

  • Status changed from New to Closed
  • % Done changed from 0 to 100

Betroffene units haben alle ein "Restart=on-failure" bekommen. (manuell eingepflegt, nicht im Ansible)

Also available in: Atom PDF