diff options
Diffstat (limited to 'OpenSim/Framework/Servers/BaseOpenSimServer.cs')
-rw-r--r-- | OpenSim/Framework/Servers/BaseOpenSimServer.cs | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs index 6a3135e..1534899 100644 --- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs +++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs | |||
@@ -272,12 +272,8 @@ namespace OpenSim.Framework.Servers | |||
272 | sb.Append(Environment.NewLine); | 272 | sb.Append(Environment.NewLine); |
273 | } | 273 | } |
274 | 274 | ||
275 | int workers = 0, ports = 0, maxWorkers = 0, maxPorts = 0; | 275 | sb.Append("\n*** Main threadpool (excluding script engine)***\n"); |
276 | ThreadPool.GetAvailableThreads(out workers, out ports); | 276 | sb.Append(Util.GetThreadPoolReport()); |
277 | ThreadPool.GetMaxThreads(out maxWorkers, out maxPorts); | ||
278 | |||
279 | sb.Append(Environment.NewLine + "*** ThreadPool threads ***" + Environment.NewLine); | ||
280 | sb.Append("workers: " + (maxWorkers - workers) + " (" + maxWorkers + "); ports: " + (maxPorts - ports) + " (" + maxPorts + ")" + Environment.NewLine); | ||
281 | 277 | ||
282 | return sb.ToString(); | 278 | return sb.ToString(); |
283 | } | 279 | } |