Since the last version of SFS 2.7.0 sometimes one thread start to consume the 100% of his CPU. At this time the server, drops to users and avoid the connections to the mobile clients but not to the flash clients.
The thread at 100% is:
Code: Select all
"SocketReader" prio=10 tid=0x00007fd6b1ba7000 nid=0x67ce runnable [0x00007fd5952d1000]
java.lang.Thread.State: RUNNABLE
at java.util.zip.Inflater.inflateBytes(Native Method)
at java.util.zip.Inflater.inflate(Unknown Source)
- locked <0x000000074751b220> (a java.util.zip.ZStreamRef)
at java.util.zip.Inflater.inflate(Unknown Source)
at com.smartfoxserver.v2.protocol.binary.DefaultPacketCompressor.uncompress(DefaultPacketCompressor.java:92)
at com.smartfoxserver.v2.protocol.binary.BinaryIoHandler.handlePacketData(BinaryIoHandler.java:468)
at com.smartfoxserver.v2.protocol.binary.BinaryIoHandler.handleRead(BinaryIoHandler.java:231)
at com.smartfoxserver.v2.protocol.SFSIoHandler.onDataRead(SFSIoHandler.java:131)
at com.smartfoxserver.bitswarm.core.SocketReader.readTcpData(SocketReader.java:338)
at com.smartfoxserver.bitswarm.core.SocketReader.readIncomingSocketData(SocketReader.java:222)
at com.smartfoxserver.bitswarm.core.SocketReader.run(SocketReader.java:173)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
This month two of our servers had this problem.
Let me know if I could provide you more information in order to resolve the problem.
Regards