Branch: refs/heads/2.0.0
Home:
https://github.com/Checkmk/checkmk
Commit: 47410249642890a56a75142ab3655f4ba05623d2
https://github.com/Checkmk/checkmk/commit/47410249642890a56a75142ab3655f4ba…
Author: Mathias Laurin <mathias.laurin(a)checkmk.com>
Date: 2023-07-11 (Tue, 11 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