ConSol-Monitoring / omd

OMD - Open Monitoring Distribution Labs Edition.
http://omd.consol.de
GNU General Public License v2.0
171 stars 35 forks source link

5.30 on EL9: livestatus / xinetd hang during start if started by systemd #182

Closed pbiering closed 1 month ago

pbiering commented 8 months ago

Enabled livestatus in 5.30 on EL9: xinetd is working fine on manual start of "omd" but not via "systemd".

Finally it turned out, that it works by either

Very strange, not seen on EL8 - EL9 had latest updates.

Symtom was that script started xinetd, but this hang before creating its PID file.

sni commented 8 months ago

sounds like a similar issue as in https://github.com/ConSol-Monitoring/omd/commit/4ccf937f9068c0b9197b0d633dfcb618f94a923b

in that case, the npcd tried to brute force close all filehandles on fork from 0 to max-open-files. And infinity is a pretty large number :-) Maybe xinetd is doing something similar

sni commented 1 month ago

fixed in daaba3e32a31506a6a8a766b0b9f462f2821f632