mirror of
https://github.com/opensim/opensim.git
synced 2026-08-05 17:05:55 +08:00
soem changes on connections limits
This commit is contained in:
@@ -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
|
||||
|
||||
@@ -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);
|
||||
|
||||
@@ -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">
|
||||
|
||||
@@ -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">
|
||||
|
||||
Reference in New Issue
Block a user