From be48e153be982d88b2d09a9a8e3c09f8c1b620e9 Mon Sep 17 00:00:00 2001 From: Viacheslav Hletenko Date: Mon, 11 Jul 2022 15:03:32 +0000 Subject: load-balancing: T1311: Delete load-balancing connections Load-balancing WAN with conntrackd cannot flush connection properly. It cause high CPU utilization and and hang after commit Replace Flush to Delete --- src/lbdecision.cc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'src/lbdecision.cc') diff --git a/src/lbdecision.cc b/src/lbdecision.cc index bdfe2eb..119d0de 100644 --- a/src/lbdecision.cc +++ b/src/lbdecision.cc @@ -316,7 +316,9 @@ LBDecision::run(LBData &lb_data) //new request, bug 4112. flush conntrack tables if configured if (lb_data._flush_conntrack == true) { - execute("conntrack -F", stdout); + //execute("conntrack -F", stdout); + // Bug T1311 with "conntrack -F" and "conntrack-sync" + execute("conntrack --delete", stdout); execute("conntrack -F expect", stdout); } -- cgit v1.2.3