diff options
author | Justin Clark-Casey (justincc) | 2013-10-31 23:45:52 +0000 |
---|---|---|
committer | Justin Clark-Casey (justincc) | 2013-10-31 23:45:52 +0000 |
commit | 3d5a7e9b194d9d6a73091935e316b56d5302dcbb (patch) | |
tree | 1992f7f7451c216e34798df447c01efe05da5547 /OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |
parent | Merge branch 'master' of ssh://opensimulator.org/var/git/opensim (diff) | |
download | opensim-SC_OLD-3d5a7e9b194d9d6a73091935e316b56d5302dcbb.zip opensim-SC_OLD-3d5a7e9b194d9d6a73091935e316b56d5302dcbb.tar.gz opensim-SC_OLD-3d5a7e9b194d9d6a73091935e316b56d5302dcbb.tar.bz2 opensim-SC_OLD-3d5a7e9b194d9d6a73091935e316b56d5302dcbb.tar.xz |
Add OutgoingPacketsResentCount clientstack stat.
This allows one to monitor the total number of messages resent to clients over time.
A constantly increasing stat may indicate a general server network or overloading issue if a fairly high proportion of packets sent
A smaller constantly increasing stat may indicate a problem with a particular client-server connection, would need to check "show queues" in this case.
Diffstat (limited to 'OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs')
-rw-r--r-- | OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs index 03cd2b4..5d3b5b5 100644 --- a/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs +++ b/OpenSim/Region/ClientStack/Linden/UDP/LLClientView.cs | |||
@@ -3801,7 +3801,11 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
3801 | m_udpClient.NeedAcks.Remove(oPacket.SequenceNumber); | 3801 | m_udpClient.NeedAcks.Remove(oPacket.SequenceNumber); |
3802 | 3802 | ||
3803 | // Count this as a resent packet since we are going to requeue all of the updates contained in it | 3803 | // Count this as a resent packet since we are going to requeue all of the updates contained in it |
3804 | Interlocked.Increment(ref m_udpClient.PacketsResent); | 3804 | Interlocked.Increment(ref m_udpClient.PacketsResent); |
3805 | |||
3806 | // We're not going to worry about interlock yet since its not currently critical that this total count | ||
3807 | // is 100% correct | ||
3808 | m_udpServer.PacketsResentCount++; | ||
3805 | 3809 | ||
3806 | foreach (EntityUpdate update in updates) | 3810 | foreach (EntityUpdate update in updates) |
3807 | ResendPrimUpdate(update); | 3811 | ResendPrimUpdate(update); |