aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authorDiva Canto2013-07-15 11:27:49 -0700
committerDiva Canto2013-07-15 11:27:49 -0700
commitac73e702935dd4607c13aaec3095940fba7932ca (patch)
treea4cf65db546010bf798f7c8e1acf9499b4ed868c
parentThis might address the following observed exception: (diff)
downloadopensim-SC_OLD-ac73e702935dd4607c13aaec3095940fba7932ca.zip
opensim-SC_OLD-ac73e702935dd4607c13aaec3095940fba7932ca.tar.gz
opensim-SC_OLD-ac73e702935dd4607c13aaec3095940fba7932ca.tar.bz2
opensim-SC_OLD-ac73e702935dd4607c13aaec3095940fba7932ca.tar.xz
Trying to hunt the CPU spikes recently experienced.
Revert "Comment out old inbound UDP throttling hack. This would cause the UDP" This reverts commit 38e6da5522a53c7f65eac64ae7b0af929afb1ae6.
-rw-r--r--OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs2
1 files changed, 0 insertions, 2 deletions
diff --git a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
index 85270a6..e20a194 100644
--- a/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
+++ b/OpenSim/Region/ClientStack/Linden/UDP/LLUDPServer.cs
@@ -1615,7 +1615,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1615 { 1615 {
1616 IncomingPacket incomingPacket = null; 1616 IncomingPacket incomingPacket = null;
1617 1617
1618 /*
1619 // HACK: This is a test to try and rate limit packet handling on Mono. 1618 // HACK: This is a test to try and rate limit packet handling on Mono.
1620 // If it works, a more elegant solution can be devised 1619 // If it works, a more elegant solution can be devised
1621 if (Util.FireAndForgetCount() < 2) 1620 if (Util.FireAndForgetCount() < 2)
@@ -1623,7 +1622,6 @@ namespace OpenSim.Region.ClientStack.LindenUDP
1623 //m_log.Debug("[LLUDPSERVER]: Incoming packet handler is sleeping"); 1622 //m_log.Debug("[LLUDPSERVER]: Incoming packet handler is sleeping");
1624 Thread.Sleep(30); 1623 Thread.Sleep(30);
1625 } 1624 }
1626 */
1627 1625
1628 if (packetInbox.Dequeue(100, ref incomingPacket)) 1626 if (packetInbox.Dequeue(100, ref incomingPacket))
1629 { 1627 {