Branch: refs/heads/master
Home:
https://github.com/tribe29/checkmk
Commit: a93e5c64ec7ed8bd7013a3c2d2fbeb65b4eb436d
https://github.com/tribe29/checkmk/commit/a93e5c64ec7ed8bd7013a3c2d2fbeb65b…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-03-08 (Mon, 08 Mar 2021)
Changed paths:
A .werks/12286
M cmk/gui/sites.py
M cmk/gui/wsgi/applications/checkmk.py
M livestatus/api/python/livestatus.py
Log Message:
-----------
12286 FIX Fix GUI connection issues in distributed setups
In distributed setups where one site has a connection problem, the number of
open connections to other sites could stack up and lead to a 100% livestatus
usage which may result in a not responding GUI. Normally this issue was
resolved automatically after some minutes but was then causing trouble again
after some time.
Change-Id: Iea2a26eee172d61f7d22c2b0f44ffe61b092d261
Commit: cc7b179fb5fe6ac113ecffeffe707eb6119ae1e5
https://github.com/tribe29/checkmk/commit/cc7b179fb5fe6ac113ecffeffe707eb61…
Author: Lars Michelsen <lm(a)tribe29.com>
Date: 2021-03-08 (Mon, 08 Mar 2021)
Changed paths:
M cmk/gui/wsgi/middleware.py
Log Message:
-----------
REST API: Cleanup same ressources as regular GUI
The GUI is cleaning up locks that were not cleaned explicitly by the
application code.
And also livesatus sockets and connection object references are cleaned
up.
Since the API is also using application code that involves locks and
livestatus connections, it should run the same cleanup logic.
Change-Id: I67d92776925b3abb4b95d3ce73d9c915cc5affc6
Compare:
https://github.com/tribe29/checkmk/compare/25d1671586a2...cc7b179fb5fe