Safe reloads not working

we use this command to restart our HAProxy when the config file changes:
/usr/sbin/haproxy -f /etc/haproxy/haproxy.cfg -p /run/ -sf $(cat /run/
recently we’ve been seeing some weird issues, and noticed that the main process is not going away.

If I kill the main process manually and start a new process, everything seems to work fine, it’s just the safe reloads that are not working.

$ haproxy -v
HA-Proxy version 2.0.26-051d585 2021/12/03 -
$ rpm -qa |grep haproxy
$ rpm -q haproxy20
cat /etc/redhat-release
CentOS Linux release 7.9.2009 (Core)
$ haproxy -c -f /etc/haproxy/haproxy.cfg
Configuration file is valid

  • update
    – downgrading to 2.0.24 appears to fix the problem
    – upgrading to 2.2.20 appears to fix the problem but safe reloads are taking multiple minutes instead of 10s of seconds