diff options
author | Justin Clarke Casey | 2008-08-25 23:27:08 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-08-25 23:27:08 +0000 |
commit | c4d6a928c94becba0eab1b1f36a284a8db4112ec (patch) | |
tree | 71305b013a9178c10fb215151eb598dedee73403 /OpenSim/Framework | |
parent | * minor: refactor thread report into a method that returns a string rather th... (diff) | |
download | opensim-SC_OLD-c4d6a928c94becba0eab1b1f36a284a8db4112ec.zip opensim-SC_OLD-c4d6a928c94becba0eab1b1f36a284a8db4112ec.tar.gz opensim-SC_OLD-c4d6a928c94becba0eab1b1f36a284a8db4112ec.tar.bz2 opensim-SC_OLD-c4d6a928c94becba0eab1b1f36a284a8db4112ec.tar.xz |
* 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
Diffstat (limited to '')
-rw-r--r-- | OpenSim/Framework/Servers/BaseOpenSimServer.cs | 7 |
1 files 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 | |||
107 | { | 107 | { |
108 | sb.Append(m_stats.Report()); | 108 | sb.Append(m_stats.Report()); |
109 | } | 109 | } |
110 | |||
111 | sb.Append(Environment.NewLine); | ||
112 | sb.Append(GetThreadsReport()); | ||
110 | 113 | ||
111 | m_log.Debug(sb); | 114 | m_log.Debug(sb); |
112 | } | 115 | } |
@@ -114,7 +117,7 @@ namespace OpenSim.Framework.Servers | |||
114 | /// <summary> | 117 | /// <summary> |
115 | /// Get a report about the registered threads in this server. | 118 | /// Get a report about the registered threads in this server. |
116 | /// </summary> | 119 | /// </summary> |
117 | protected string GetThreadReport() | 120 | protected string GetThreadsReport() |
118 | { | 121 | { |
119 | StringBuilder sb = new StringBuilder(); | 122 | StringBuilder sb = new StringBuilder(); |
120 | 123 | ||
@@ -334,7 +337,7 @@ namespace OpenSim.Framework.Servers | |||
334 | break; | 337 | break; |
335 | 338 | ||
336 | case "threads": | 339 | case "threads": |
337 | Notice(GetThreadReport()); | 340 | Notice(GetThreadsReport()); |
338 | break; | 341 | break; |
339 | 342 | ||
340 | case "uptime": | 343 | case "uptime": |