Hi,
It's interesting to have in the section "4. Stopping and restarting HAProxy" in the management.txt document some information related to the behaviour of the stats when a restart is done. As suggestion, here is my patch. Thanks, Ricardo F.
diff --git a/doc/management.txt b/doc/management.txt index dd886de..2d7f2c4 100644 --- a/doc/management.txt +++ b/doc/management.txt @@ -484,6 +484,11 @@ don't have enough load to trigger the race conditions. And for most high traffic users, the failure rate is still fairly within the noise margin provided that at least SO_REUSEPORT is properly supported on their systems. +Note that when a "restart" is doing, the new process have the listening ports +but the old process continue with the existing connections until they close. +All the active connections that the old process did are still working but not +reported in the statistics, which are only reported from the new process. + 5. File-descriptor limitations ------------------------------