From c4d6a928c94becba0eab1b1f36a284a8db4112ec Mon Sep 17 00:00:00 2001 From: Justin Clarke Casey Date: Mon, 25 Aug 2008 23:27:08 +0000 Subject: * Append thread information on to the end of period diagnostics information * This is working towards finding out why many more client threads are hanging about on wright plaza than there are actual agents --- OpenSim/Framework/Servers/BaseOpenSimServer.cs | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/OpenSim/Framework/Servers/BaseOpenSimServer.cs b/OpenSim/Framework/Servers/BaseOpenSimServer.cs index ea3eed1..b26d397 100644 --- a/OpenSim/Framework/Servers/BaseOpenSimServer.cs +++ b/OpenSim/Framework/Servers/BaseOpenSimServer.cs @@ -107,6 +107,9 @@ namespace OpenSim.Framework.Servers { sb.Append(m_stats.Report()); } + + sb.Append(Environment.NewLine); + sb.Append(GetThreadsReport()); m_log.Debug(sb); } @@ -114,7 +117,7 @@ namespace OpenSim.Framework.Servers /// /// Get a report about the registered threads in this server. /// - protected string GetThreadReport() + protected string GetThreadsReport() { StringBuilder sb = new StringBuilder(); @@ -334,7 +337,7 @@ namespace OpenSim.Framework.Servers break; case "threads": - Notice(GetThreadReport()); + Notice(GetThreadsReport()); break; case "uptime": -- cgit v1.1