From 0f2ab6bddd3faed35f6845e09461f818c74fa0eb Mon Sep 17 00:00:00 2001 From: UbitUmarov Date: Fri, 12 May 2017 14:20:06 +0100 Subject: [PATCH] soem changes on connections limits --- OpenSim/Region/Application/Application.cs | 2 +- OpenSim/Server/ServerMain.cs | 3 +-- bin/OpenSim.exe.config | 7 +++++++ bin/Robust.exe.config | 6 ++++++ 4 files changed, 15 insertions(+), 3 deletions(-) diff --git a/OpenSim/Region/Application/Application.cs b/OpenSim/Region/Application/Application.cs index 5cb6a88e94..7b9d35d447 100644 --- a/OpenSim/Region/Application/Application.cs +++ b/OpenSim/Region/Application/Application.cs @@ -74,7 +74,7 @@ namespace OpenSim AppDomain.CurrentDomain.UnhandledException += new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException); - ServicePointManager.DefaultConnectionLimit = 12; + ServicePointManager.DefaultConnectionLimit = 128; ServicePointManager.UseNagleAlgorithm = false; // Add the arguments supplied when running the application to the configuration diff --git a/OpenSim/Server/ServerMain.cs b/OpenSim/Server/ServerMain.cs index c3430440a3..74bb163ffb 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); diff --git a/bin/OpenSim.exe.config b/bin/OpenSim.exe.config index 3f718d28f1..ba84d3b64a 100755 --- a/bin/OpenSim.exe.config +++ b/bin/OpenSim.exe.config @@ -8,6 +8,13 @@ + + + + + + + diff --git a/bin/Robust.exe.config b/bin/Robust.exe.config index 025555ecca..fa4f46728e 100644 --- a/bin/Robust.exe.config +++ b/bin/Robust.exe.config @@ -8,6 +8,12 @@ + + + + + +