diff options
author | Justin Clarke Casey | 2008-06-04 16:30:44 +0000 |
---|---|---|
committer | Justin Clarke Casey | 2008-06-04 16:30:44 +0000 |
commit | 6e2f3bd3fb88f41803376428bbffdd6aa67940c0 (patch) | |
tree | 52e6ab8fa86c8acdcac78f91e96fc777f030b74a /OpenSim/Region/ClientStack/LindenUDP | |
parent | * Added a check for a non-finite heightfield array value passed to the ODEPlu... (diff) | |
download | opensim-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')
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLClientView.cs | 4 |
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; | |||
39 | using log4net; | 39 | using log4net; |
40 | using OpenSim.Framework; | 40 | using OpenSim.Framework; |
41 | using OpenSim.Framework.Communications.Cache; | 41 | using OpenSim.Framework.Communications.Cache; |
42 | using OpenSim.Framework.Statistics; | ||
42 | using OpenSim.Region.ClientStack.LindenUDP; | 43 | using OpenSim.Region.ClientStack.LindenUDP; |
43 | using OpenSim.Region.Environment.Scenes; | 44 | using OpenSim.Region.Environment.Scenes; |
44 | using Timer=System.Timers.Timer; | 45 | using 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. |