soem changes on connections limits
parent
8bdd4c3ed9
commit
0f2ab6bddd
|
@ -74,7 +74,7 @@ namespace OpenSim
|
||||||
AppDomain.CurrentDomain.UnhandledException +=
|
AppDomain.CurrentDomain.UnhandledException +=
|
||||||
new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
|
new UnhandledExceptionEventHandler(CurrentDomain_UnhandledException);
|
||||||
|
|
||||||
ServicePointManager.DefaultConnectionLimit = 12;
|
ServicePointManager.DefaultConnectionLimit = 128;
|
||||||
ServicePointManager.UseNagleAlgorithm = false;
|
ServicePointManager.UseNagleAlgorithm = false;
|
||||||
|
|
||||||
// Add the arguments supplied when running the application to the configuration
|
// Add the arguments supplied when running the application to the configuration
|
||||||
|
|
|
@ -54,8 +54,7 @@ namespace OpenSim.Server
|
||||||
|
|
||||||
public static int Main(string[] args)
|
public static int Main(string[] args)
|
||||||
{
|
{
|
||||||
// Make sure we don't get outbound connections queueing
|
ServicePointManager.DefaultConnectionLimit = 4096;
|
||||||
ServicePointManager.DefaultConnectionLimit = 50;
|
|
||||||
ServicePointManager.UseNagleAlgorithm = false;
|
ServicePointManager.UseNagleAlgorithm = false;
|
||||||
|
|
||||||
m_Server = new HttpServerBase("R.O.B.U.S.T.", args);
|
m_Server = new HttpServerBase("R.O.B.U.S.T.", args);
|
||||||
|
|
|
@ -8,6 +8,13 @@
|
||||||
</runtime>
|
</runtime>
|
||||||
<appSettings>
|
<appSettings>
|
||||||
</appSettings>
|
</appSettings>
|
||||||
|
<system.net>
|
||||||
|
<connectionManagement>
|
||||||
|
<clear />
|
||||||
|
<add address = "*" maxconnection = "32" />
|
||||||
|
</connectionManagement>
|
||||||
|
</system.net>
|
||||||
|
|
||||||
<log4net>
|
<log4net>
|
||||||
<appender name="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console">
|
<appender name="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console">
|
||||||
<filter type="log4net.Filter.LoggerMatchFilter">
|
<filter type="log4net.Filter.LoggerMatchFilter">
|
||||||
|
|
|
@ -8,6 +8,12 @@
|
||||||
</runtime>
|
</runtime>
|
||||||
<appSettings>
|
<appSettings>
|
||||||
</appSettings>
|
</appSettings>
|
||||||
|
<system.net>
|
||||||
|
<connectionManagement>
|
||||||
|
<clear />
|
||||||
|
<add address = "*" maxconnection = "64" />
|
||||||
|
</connectionManagement>
|
||||||
|
</system.net>
|
||||||
<log4net>
|
<log4net>
|
||||||
<appender name="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console">
|
<appender name="Console" type="OpenSim.Framework.Console.OpenSimAppender, OpenSim.Framework.Console">
|
||||||
<filter type="log4net.Filter.LoggerMatchFilter">
|
<filter type="log4net.Filter.LoggerMatchFilter">
|
||||||
|
|
Loading…
Reference in New Issue