From 0f2ab6bddd3faed35f6845e09461f818c74fa0eb Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 12 May 2017 14:20:06 +0100 Subject: soem changes on connections limits --- OpenSim/Server/ServerMain.cs | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'OpenSim/Server/ServerMain.cs') diff --git a/OpenSim/Server/ServerMain.cs b/OpenSim/Server/ServerMain.cs index c343044..74bb163 100644 --- a/OpenSim/Server/ServerMain.cs +++ b/OpenSim/Server/ServerMain.cs @@ -54,8 +54,7 @@ namespace OpenSim.Server public static int Main(string[] args) { - // Make sure we don't get outbound connections queueing - ServicePointManager.DefaultConnectionLimit = 50; + ServicePointManager.DefaultConnectionLimit = 4096; ServicePointManager.UseNagleAlgorithm = false; m_Server = new HttpServerBase("R.O.B.U.S.T.", args); -- cgit v1.1 From 948138a3a4ed08b96b12a31049e658c570345a10 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 12 May 2017 16:45:58 +0100 Subject: lower connection limits again --- OpenSim/Server/ServerMain.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'OpenSim/Server/ServerMain.cs') diff --git a/OpenSim/Server/ServerMain.cs b/OpenSim/Server/ServerMain.cs index 74bb163..6938db7 100644 --- a/OpenSim/Server/ServerMain.cs +++ b/OpenSim/Server/ServerMain.cs @@ -54,7 +54,7 @@ namespace OpenSim.Server public static int Main(string[] args) { - ServicePointManager.DefaultConnectionLimit = 4096; + ServicePointManager.DefaultConnectionLimit = 64; ServicePointManager.UseNagleAlgorithm = false; m_Server = new HttpServerBase("R.O.B.U.S.T.", args); -- cgit v1.1 From 086eb28a9183cd0896fefc51d1a689162bd96299 Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 12 May 2017 22:03:53 +0100 Subject: a bit more on ServicePointManager --- OpenSim/Server/ServerMain.cs | 1 + 1 file changed, 1 insertion(+) (limited to 'OpenSim/Server/ServerMain.cs') diff --git a/OpenSim/Server/ServerMain.cs b/OpenSim/Server/ServerMain.cs index 6938db7..96b0a82 100644 --- a/OpenSim/Server/ServerMain.cs +++ b/OpenSim/Server/ServerMain.cs @@ -55,6 +55,7 @@ namespace OpenSim.Server public static int Main(string[] args) { ServicePointManager.DefaultConnectionLimit = 64; + ServicePointManager.Expect100Continue = false; ServicePointManager.UseNagleAlgorithm = false; m_Server = new HttpServerBase("R.O.B.U.S.T.", args); -- cgit v1.1