Branch: refs/heads/2.2.0
Home:
https://github.com/Checkmk/checkmk
Commit: 864ecdcf7fc4189a34f01fd3c375b3cd78faa271
https://github.com/Checkmk/checkmk/commit/864ecdcf7fc4189a34f01fd3c375b3cd7…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2023-07-10 (Mon, 10 Jul 2023)
Changed paths:
A .werks/15162
Log Message:
-----------
Read stderr in fetcher helper
We have to read from stderr because the FD is polled. The fetchers
do not use stderr explicitly but some of the 3rd party libraryies
we're using (IPMI, SNMP) might write there.
Polling without reading the FD leads to a tight loop in the poller:
1. stderr has data
2. poll stderr -> wants read
3. noop handle stderr -> data still available on stderr
4. go to 1 (tight loop in system calls)
Werk-15162
SUP-10577
SUP-12568
Change-Id: Ifadc84f04d361e3080c439e29588e01f5df04d10