Smart-proxy 2.5.4: ipmitool / bmc high system load

Running smart proxy BMC produces high load on machine

Expected outcome:
normal system load

Foreman and Proxy versions:
2.5.4 / 2.5.4

Foreman and Proxy plugin versions:

Distribution and version:
CentOS 7.9 / 3.10.0-1160.59.1.el7.x86_64

Other relevant data:

  • I disabled BMC and the problem went away.
  • “Show host power status” setting in Foreman is false.
  • ipmitool version 1.8.18
  • I had several ‘stuck’ ipmitool processes running for the proxy user. This setup was working previously in F2.3

System load change after BMC disabled

  • ipmitool version 1.8.18; updated 4 April together with Foreman: ipmitool-1.8.18-9.el7_7.x86_64
    => 1.8.18-10.el7_9.x86_64
[root@foreman ~]# systemctl status foreman-proxy.service 
● foreman-proxy.service - Foreman Proxy
   Loaded: loaded (/usr/lib/systemd/system/foreman-proxy.service; enabled; vendor preset: disabled)
  Drop-In: /etc/systemd/system/foreman-proxy.service.d
   Active: active (running) since Wed 2022-06-29 17:16:14 CEST; 5min ago
 Main PID: 31243 (ruby)
    Tasks: 18
   CGroup: /system.slice/foreman-proxy.service
           ├─ 2396 sh -c /usr/bin/ipmitool -H <ip> -U ADMIN -I lanplus -f /tmp/20220629-31243-1dv5gxs lan print 2>&1
           ├─ 2397 /usr/bin/ipmitool -H <ip> -U ADMIN -I lanplus -f /tmp/20220629-31243-1dv5gxs lan print
           ├─ 2399 sh -c /usr/bin/ipmitool -H <ip> -U ADMIN -I lanplus -f /tmp/20220629-31243-oatskh lan print 2>&1
           ├─ 2400 /usr/bin/ipmitool -H <ip> -U ADMIN -I lanplus -f /tmp/20220629-31243-oatskh lan print
           └─31243 ruby /usr/share/foreman-proxy/bin/smart-proxy --no-daemonize