soem changes on connections limits

0.9.0-post-fixes
UbitUmarov 2017-05-12 14:20:06 +01:00
parent 8bdd4c3ed9
commit 0f2ab6bddd
4 changed files with 15 additions and 3 deletions

View File

@ -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

View File

@ -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);

View File

@ -8,6 +8,13 @@
</runtime>
<appSettings>
</appSettings>
<system.net>
<connectionManagement>
<clear />
<add address = "*" maxconnection = "32" />
</connectionManagement>
</system.net>
<log4net>
<appender name="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console">
<filter type="log4net.Filter.LoggerMatchFilter">

View File

@ -8,6 +8,12 @@
</runtime>
<appSettings>
</appSettings>
<system.net>
<connectionManagement>
<clear />
<add address = "*" maxconnection = "64" />
</connectionManagement>
</system.net>
<log4net>
<appender name="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console">
<filter type="log4net.Filter.LoggerMatchFilter">