diff options
author | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-07-11 15:03:32 +0000 |
---|---|---|
committer | Viacheslav Hletenko <v.gletenko@vyos.io> | 2022-08-29 10:54:47 +0000 |
commit | be48e153be982d88b2d09a9a8e3c09f8c1b620e9 (patch) | |
tree | 221ebf8ac24164b42cc9261d93b132f2c8169b51 /src/lbdecision.cc | |
parent | a831f22d4c34bf947b0335e55573280b75c2bde0 (diff) | |
download | vyatta-wanloadbalance-be48e153be982d88b2d09a9a8e3c09f8c1b620e9.tar.gz vyatta-wanloadbalance-be48e153be982d88b2d09a9a8e3c09f8c1b620e9.zip |
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
Diffstat (limited to 'src/lbdecision.cc')
-rw-r--r-- | src/lbdecision.cc | 4 |
1 files changed, 3 insertions, 1 deletions
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); } |