Werk #5578: Fixed process locking (pid file handling)

Komponente Event Console
Titel Fixed process locking (pid file handling)
Datum 12.12.2017
Checkmk Edition Checkmk Raw (CRE)
Checkmk-Version 1.5.0i2
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen

The PID file handling of the Event Console had the following issues:

a) The locking was only done by the init script. Manual executions could lead to multiple running EC processes. This has been fixed by adding an additional file lock to the PID file. b) The PID file was only removed in case the EC stopped without exception. In case one happened, the PID file was left over refering to the old PID.

Zur Liste aller Werks