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

Komponente Event Console
Titel Fixed process locking (pid file handling)
Datum 12.12.2017
Level Kleine Änderung
Klasse Bugfix
Kompatibilität Kompatibel - benötigt kein manuelles Eingreifen
Checkmk versions & editions
1.5.0i2 Checkmk Raw (CRE), Checkmk Enterprise (CEE), Checkmk MSP (CME)

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