From 8b48e2da31a5f5af6b5615ef2f4fa891230c40f9 Mon Sep 17 00:00:00 2001 From: zhipengl Date: Mon, 9 Sep 2019 20:04:03 +0800 Subject: [PATCH] Revert "Fix Periodic message loss between VIM and Openstack REST APIs" This reverts commit 171c43dca8b419c5ac579e289002ff4fdb1aee3f. It causes LP 1841833 SX horizon home page :31000 can't be reached Enable net.ipv4.tcp_tw_recycle = 1 might cause a lot of tcp sync packages loss in NAT environment. Below test done! 1) Set this flag to 1, then access to http://10.10.10.3:31000/ timeout 2) Set it to 0, it works! 3) Set it to 1 again, access timeout. Closes-Bug: 1841833 Change-Id: Ie4d6130c48b50e4302924dbd7868ac667483a0d1 Signed-off-by: zhipengl --- initscripts-config/files/sysctl.conf | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/initscripts-config/files/sysctl.conf b/initscripts-config/files/sysctl.conf index db939cc..eee0bd7 100644 --- a/initscripts-config/files/sysctl.conf +++ b/initscripts-config/files/sysctl.conf @@ -69,8 +69,7 @@ net.ipv4.conf.all.rp_filter=1 # Limit local port range net.ipv4.ip_local_port_range = 49216 61000 net.ipv4.tcp_tw_reuse = 1 -# Fix https://bugs.launchpad.net/starlingx/+bug/1817936 -net.ipv4.tcp_tw_recycle = 1 + # WRL # set max socket memory ; default was 212992 net.core.rmem_max=425984