diff --git a/src/haproxy.c b/src/haproxy.c index 029b492be..601387535 100644 --- a/src/haproxy.c +++ b/src/haproxy.c @@ -856,6 +856,9 @@ void reexec_on_failure() child->failedreloads++; } + /* do not keep unused FDs retrieved from the previous process */ + sock_drop_unused_old_sockets(); + usermsgs_clr(NULL); ha_warning("Loading failure!\n"); mworker_reexec_waitmode();