aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
-rw-r--r--OpenSim/Region/Framework/Scenes/Scene.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/OpenSim/Region/Framework/Scenes/Scene.cs b/OpenSim/Region/Framework/Scenes/Scene.cs
index 35e57e5..d0dc021 100644
--- a/OpenSim/Region/Framework/Scenes/Scene.cs
+++ b/OpenSim/Region/Framework/Scenes/Scene.cs
@@ -963,11 +963,10 @@ namespace OpenSim.Region.Framework.Scenes
963 while (!shuttingdown) 963 while (!shuttingdown)
964 { 964 {
965#if DEBUG 965#if DEBUG
966 int w = 0, io = 0, maxw=0, maxio=0; 966 int w = 0, io = 0;
967 ThreadPool.GetAvailableThreads(out w, out io); 967 ThreadPool.GetAvailableThreads(out w, out io);
968 ThreadPool.GetMaxThreads(out maxw, out maxio); 968 if ((w < 10) || (io < 10))
969 if ((maxw - w < 10) || (maxio - io < 10)) 969 m_log.DebugFormat("[WARNING]: ThreadPool reaching exhaustion. workers = {0}; io = {1}", w, io);
970 m_log.DebugFormat("[WARNING]: ThreadPool reaching exhaustion. workers = {0}({1}); io = {2}({3})", w, io, maxw, maxio);
971#endif 970#endif
972 maintc = Environment.TickCount; 971 maintc = Environment.TickCount;
973 972