Reduce the default pool threads to 15 (from 30) and the minimum from 5 to 2
parent
8a336c6860
commit
8ce4fd7234
|
@ -1302,7 +1302,7 @@ namespace OpenSim.Framework
|
|||
STPStartInfo startInfo = new STPStartInfo();
|
||||
startInfo.IdleTimeout = 2000; // 2 seconds
|
||||
startInfo.MaxWorkerThreads = maxThreads;
|
||||
startInfo.MinWorkerThreads = 5;
|
||||
startInfo.MinWorkerThreads = 2;
|
||||
startInfo.StackSize = 524288;
|
||||
startInfo.ThreadPriority = ThreadPriority.Normal;
|
||||
|
||||
|
|
|
@ -67,7 +67,7 @@ namespace OpenSim
|
|||
|
||||
IConfig startupConfig = m_config.Source.Configs["Startup"];
|
||||
|
||||
Util.SetMaxThreads(startupConfig.GetInt("MaxPoolThreads", 30));
|
||||
Util.SetMaxThreads(startupConfig.GetInt("MaxPoolThreads", 15));
|
||||
|
||||
if (startupConfig != null)
|
||||
{
|
||||
|
|
|
@ -43,7 +43,7 @@
|
|||
clientstack_plugin="OpenSim.Region.ClientStack.LindenUDP.dll"
|
||||
|
||||
; Max threads to allocate on the FireAndForget pool
|
||||
MaxPoolThreads = 30
|
||||
MaxPoolThreads = 15
|
||||
|
||||
; ##
|
||||
; ## REGIONS
|
||||
|
|
Loading…
Reference in New Issue