diff options
author | John Hurliman | 2009-10-21 14:25:22 -0700 |
---|---|---|
committer | John Hurliman | 2009-10-21 14:25:22 -0700 |
commit | 62f1bfd136df7a68e9f829acc1db22354772bad3 (patch) | |
tree | 99795cd18019bfbec84bf24d5e70213a36648286 | |
parent | Removing the Sleep(0) call from the OutgoingPacketHandler (diff) | |
download | opensim-SC-62f1bfd136df7a68e9f829acc1db22354772bad3.zip opensim-SC-62f1bfd136df7a68e9f829acc1db22354772bad3.tar.gz opensim-SC-62f1bfd136df7a68e9f829acc1db22354772bad3.tar.bz2 opensim-SC-62f1bfd136df7a68e9f829acc1db22354772bad3.tar.xz |
Testing out a hack to identify the source of the high cpu usage
-rw-r--r-- | OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs b/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs index a43197d..de67ca7 100644 --- a/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs +++ b/OpenSim/Region/ClientStack/LindenUDP/LLUDPClient.cs | |||
@@ -552,6 +552,9 @@ namespace OpenSim.Region.ClientStack.LindenUDP | |||
552 | catch (Exception e) { m_log.Error("[LLUDPCLIENT]: OnQueueEmpty(" + type + ") threw an exception: " + e.Message, e); } | 552 | catch (Exception e) { m_log.Error("[LLUDPCLIENT]: OnQueueEmpty(" + type + ") threw an exception: " + e.Message, e); } |
553 | } | 553 | } |
554 | 554 | ||
555 | // HACK: Try spending some extra time here to slow down OnQueueEmpty calls | ||
556 | System.Threading.Thread.Sleep(100); | ||
557 | |||
555 | m_onQueueEmptyRunning[i] = false; | 558 | m_onQueueEmptyRunning[i] = false; |
556 | } | 559 | } |
557 | } | 560 | } |