Hello there,
First of all: I am unsure whether this issue belongs in the community or as a github issue. Feel free to tell me to open this on github.
I am facing the issue that my openhab installation produces a huge cpu load if I try to use the network binding to ping devices. As soon as I define a thing like
network:pingdevice:Netzwerk_System_Asterix "Netzwerk_System_Asterix"@"System" hostname="192.168.1.115", timeout=1000, refreshInterval=2000, retry=2]
and enable the binding the load on my system jumps from 0.4
to 2
-3
.
I looked where the issue might lie, this is what I found:
- Using an IP instead of the hostname doesn’t help, so its not a DNS problem
- Every combination of parameters of the binding
don’t help. I also tried to setbinding.network:allowSystemPings=true binding.network:allowDHCPlisten=false binding.network:arpPingToolPath=arping
/bin/ping
instead ofairping
. Still the high usage. - If I open the docker container openHAB runs in and manually execute a bunch of
airping
s the cpu doesn’t seem to take the same effect
So it has to/I suspect it has to do with the openHAB instance itself.
I am running openHAB 3.4.5
inside a Docker container on Ubuntu 22.04
.
Did anyone else experience this issue?
Greetings Felix