Difference between revisions of "Haproxy hitless reload"
Jump to navigation
Jump to search
Line 8: | Line 8: | ||
``` | ``` | ||
nbproc to 3 | nbproc to 3 | ||
+ | haproxy_1 | [ALERT] (7) : config : parsing [/usr/local/etc/haproxy/haproxy.cfg:10] : nbproc is not supported any more since HAProxy 2.5. Threads will automatically be used on multi-processor machines if available. | ||
``` | ``` | ||
Revision as of 16:40, 26 July 2022
https://www.haproxy.com/blog/haproxy-process-management/
echo "show proc" | socat stdio tcp4-connect:192.168.48.2:1234 echo "reload" | socat stdio tcp4-connect:192.168.48.2:1234
https://www.haproxy.com/blog/get-to-know-the-haproxy-process-manager/
nbproc to 3 haproxy_1 | [ALERT] (7) : config : parsing [/usr/local/etc/haproxy/haproxy.cfg:10] : nbproc is not supported any more since HAProxy 2.5. Threads will automatically be used on multi-processor machines if available.
More
https://www.haproxy.com/documentation/hapee/latest/api/runtime-api/overview/
https://www.haproxy.com/blog/haproxy-process-management/
https://github.com/snorwin/haproxy-reload-wrapper/blob/main/main.go
https://cdn.haproxy.com/wp-content/uploads/2020/04/20.-Master-CLI_Configuration.png
https://www.haproxy.com/blog/truly-seamless-reloads-with-haproxy-no-more-hacks/