Reduce the default pool threads to 15 (from 30) and the minimum from 5 to 2

prioritization
Melanie 2009-10-22 04:02:26 +01:00
parent 8a336c6860
commit 8ce4fd7234
3 changed files with 3 additions and 3 deletions

View File

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

View File

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

View File

@ -43,7 +43,7 @@
clientstack_plugin="OpenSim.Region.ClientStack.LindenUDP.dll"
; Max threads to allocate on the FireAndForget pool
MaxPoolThreads = 30
MaxPoolThreads = 15
; ##
; ## REGIONS