* 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 agents0.6.0-stable
parent
4a475ca2be
commit
c4d6a928c9
|
@ -107,6 +107,9 @@ namespace OpenSim.Framework.Servers
|
||||||
{
|
{
|
||||||
sb.Append(m_stats.Report());
|
sb.Append(m_stats.Report());
|
||||||
}
|
}
|
||||||
|
|
||||||
|
sb.Append(Environment.NewLine);
|
||||||
|
sb.Append(GetThreadsReport());
|
||||||
|
|
||||||
m_log.Debug(sb);
|
m_log.Debug(sb);
|
||||||
}
|
}
|
||||||
|
@ -114,7 +117,7 @@ namespace OpenSim.Framework.Servers
|
||||||
/// <summary>
|
/// <summary>
|
||||||
/// Get a report about the registered threads in this server.
|
/// Get a report about the registered threads in this server.
|
||||||
/// </summary>
|
/// </summary>
|
||||||
protected string GetThreadReport()
|
protected string GetThreadsReport()
|
||||||
{
|
{
|
||||||
StringBuilder sb = new StringBuilder();
|
StringBuilder sb = new StringBuilder();
|
||||||
|
|
||||||
|
@ -334,7 +337,7 @@ namespace OpenSim.Framework.Servers
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "threads":
|
case "threads":
|
||||||
Notice(GetThreadReport());
|
Notice(GetThreadsReport());
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case "uptime":
|
case "uptime":
|
||||||
|
|
Loading…
Reference in New Issue