Add max thread and min thread information to "xengine status" region console command
parent
1de29fb362
commit
1b4ea4f178
|
@ -578,7 +578,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance
|
||||||
return true;
|
return true;
|
||||||
|
|
||||||
if (!m_InSelfDelete)
|
if (!m_InSelfDelete)
|
||||||
|
{
|
||||||
|
// m_log.ErrorFormat("[SCRIPT INSTANCE]: Aborting script {0} {1}", ScriptName, ItemID);
|
||||||
result.Abort();
|
result.Abort();
|
||||||
|
}
|
||||||
|
|
||||||
lock (m_EventQueue)
|
lock (m_EventQueue)
|
||||||
{
|
{
|
||||||
|
|
|
@ -384,6 +384,8 @@ namespace OpenSim.Region.ScriptEngine.XEngine
|
||||||
|
|
||||||
sb.AppendFormat("Unique scripts : {0}\n", m_uniqueScripts.Count);
|
sb.AppendFormat("Unique scripts : {0}\n", m_uniqueScripts.Count);
|
||||||
sb.AppendFormat("Scripts waiting for load : {0}\n", m_CompileQueue.Count);
|
sb.AppendFormat("Scripts waiting for load : {0}\n", m_CompileQueue.Count);
|
||||||
|
sb.AppendFormat("Max threads : {0}\n", m_ThreadPool.MaxThreads);
|
||||||
|
sb.AppendFormat("Min threads : {0}\n", m_ThreadPool.MinThreads);
|
||||||
sb.AppendFormat("Allocated threads : {0}\n", m_ThreadPool.ActiveThreads);
|
sb.AppendFormat("Allocated threads : {0}\n", m_ThreadPool.ActiveThreads);
|
||||||
sb.AppendFormat("In use threads : {0}\n", m_ThreadPool.InUseThreads);
|
sb.AppendFormat("In use threads : {0}\n", m_ThreadPool.InUseThreads);
|
||||||
sb.AppendFormat("Work items waiting : {0}\n", m_ThreadPool.WaitingCallbacks);
|
sb.AppendFormat("Work items waiting : {0}\n", m_ThreadPool.WaitingCallbacks);
|
||||||
|
|
Loading…
Reference in New Issue