diff options
author | Justin Clark-Casey (justincc) | 2012-03-12 21:16:05 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2012-03-12 21:16:05 +0000 |
commit | 25592bbd852e9350bca25f240d6d54c7a54e28a0 (patch) | |
tree | 193f54e17fe4f87c77bc3abba2087a05143afdac /OpenSim | |
parent | Rename the stream extension method WebUtil.CopyTo() to WebUtil.CopyStream(). (diff) | |
download | opensim-SC_OLD-25592bbd852e9350bca25f240d6d54c7a54e28a0.zip opensim-SC_OLD-25592bbd852e9350bca25f240d6d54c7a54e28a0.tar.gz opensim-SC_OLD-25592bbd852e9350bca25f240d6d54c7a54e28a0.tar.bz2 opensim-SC_OLD-25592bbd852e9350bca25f240d6d54c7a54e28a0.tar.xz |
Add max thread and min thread information to "xengine status" region console command
Diffstat (limited to 'OpenSim')
-rw-r--r-- | OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | 3 | ||||
-rw-r--r-- | OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | 2 |
2 files changed, 5 insertions, 0 deletions
diff --git a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs index bc1902b..4010167 100644 --- a/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs +++ b/OpenSim/Region/ScriptEngine/Shared/Instance/ScriptInstance.cs | |||
@@ -578,7 +578,10 @@ namespace OpenSim.Region.ScriptEngine.Shared.Instance | |||
578 | return true; | 578 | return true; |
579 | 579 | ||
580 | if (!m_InSelfDelete) | 580 | if (!m_InSelfDelete) |
581 | { | ||
582 | // m_log.ErrorFormat("[SCRIPT INSTANCE]: Aborting script {0} {1}", ScriptName, ItemID); | ||
581 | result.Abort(); | 583 | result.Abort(); |
584 | } | ||
582 | 585 | ||
583 | lock (m_EventQueue) | 586 | lock (m_EventQueue) |
584 | { | 587 | { |
diff --git a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs index b433430..66349e3 100644 --- a/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs +++ b/OpenSim/Region/ScriptEngine/XEngine/XEngine.cs | |||
@@ -384,6 +384,8 @@ namespace OpenSim.Region.ScriptEngine.XEngine | |||
384 | 384 | ||
385 | sb.AppendFormat("Unique scripts : {0}\n", m_uniqueScripts.Count); | 385 | sb.AppendFormat("Unique scripts : {0}\n", m_uniqueScripts.Count); |
386 | sb.AppendFormat("Scripts waiting for load : {0}\n", m_CompileQueue.Count); | 386 | sb.AppendFormat("Scripts waiting for load : {0}\n", m_CompileQueue.Count); |
387 | sb.AppendFormat("Max threads : {0}\n", m_ThreadPool.MaxThreads); | ||
388 | sb.AppendFormat("Min threads : {0}\n", m_ThreadPool.MinThreads); | ||
387 | sb.AppendFormat("Allocated threads : {0}\n", m_ThreadPool.ActiveThreads); | 389 | sb.AppendFormat("Allocated threads : {0}\n", m_ThreadPool.ActiveThreads); |
388 | sb.AppendFormat("In use threads : {0}\n", m_ThreadPool.InUseThreads); | 390 | sb.AppendFormat("In use threads : {0}\n", m_ThreadPool.InUseThreads); |
389 | sb.AppendFormat("Work items waiting : {0}\n", m_ThreadPool.WaitingCallbacks); | 391 | sb.AppendFormat("Work items waiting : {0}\n", m_ThreadPool.WaitingCallbacks); |