aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
diff options
context:
space:
mode:
authorJustin Clarke Casey2008-06-04 16:30:44 +0000
committerJustin Clarke Casey2008-06-04 16:30:44 +0000
commit6e2f3bd3fb88f41803376428bbffdd6aa67940c0 (patch)
tree52e6ab8fa86c8acdcac78f91e96fc777f030b74a /OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
parent* Added a check for a non-finite heightfield array value passed to the ODEPlu... (diff)
downloadopensim-SC_OLD-6e2f3bd3fb88f41803376428bbffdd6aa67940c0.zip
opensim-SC_OLD-6e2f3bd3fb88f41803376428bbffdd6aa67940c0.tar.gz
opensim-SC_OLD-6e2f3bd3fb88f41803376428bbffdd6aa67940c0.tar.bz2
opensim-SC_OLD-6e2f3bd3fb88f41803376428bbffdd6aa67940c0.tar.xz
* Start recording abnormal client thread terminations
Diffstat (limited to 'OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs')
-rw-r--r--OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs4
1 files changed, 4 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
index 230fe3c..af23660 100644
--- a/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
+++ b/OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs
@@ -39,6 +39,7 @@ using libsecondlife.Packets;
39using log4net; 39using log4net;
40using OpenSim.Framework; 40using OpenSim.Framework;
41using OpenSim.Framework.Communications.Cache; 41using OpenSim.Framework.Communications.Cache;
42using OpenSim.Framework.Statistics;
42using OpenSim.Region.ClientStack.LindenUDP; 43using OpenSim.Region.ClientStack.LindenUDP;
43using OpenSim.Region.Environment.Scenes; 44using OpenSim.Region.Environment.Scenes;
44using Timer=System.Timers.Timer; 45using Timer=System.Timers.Timer;
@@ -729,6 +730,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP
729 if (e is ThreadAbortException) 730 if (e is ThreadAbortException)
730 throw e; 731 throw e;
731 732
733 if (StatsManager.SimExtraStats != null)
734 StatsManager.SimExtraStats.AddAbnormalClientThreadTermination();
735
732 // Don't let a failure in an individual client thread crash the whole sim. 736 // Don't let a failure in an individual client thread crash the whole sim.
733 // FIXME: could do more sophisticated cleanup since leaving client resources around may 737 // FIXME: could do more sophisticated cleanup since leaving client resources around may
734 // cause instability for the region server over time. 738 // cause instability for the region server over time.