[xSocket-develop] Possible Infinite loop
Status: Inactive
Brought to you by:
grro
|
From: John M. <joh...@gm...> - 2009-06-24 07:22:01
|
I am running a chat server with about 40 continuous users. After about 20 minutes, the cpu shoots to 100% (from about 5%) and I have tracked the problem down to what appears to be an infinite loop using JProfiler. The call stack is: java.nio.ByteBuffer.remaining IoQueue.getSize IoQueue.isEmpty IoSocketHandler.hasMoreDataToWrite IoSocketHandler.close IoSocketHandler.closeSilence IoSocketDispatcher.onReadableEvent IoSocketDispatcher.handleReadWriteKeys IoSocketDispatcher.run Eventually it stops, and then starts again some minutes later. I'm not sure what is causing this. John |