after upgrading the SFS to v2.9.0 I have seen 2 huge user drops today. Once from 1,000 CCU to 650 CCU, the 2nd from 600 CCU to 250 CCU, happening within 20 minutes. The logs show these exceptions from time to time, but not in the same magnitude I see users disconnecting:
Code: Select all
11 Aug 2014 | 23:33:05,144 | WARN | SFSWorker:Ext:20 | controllers.v290.ExtensionReqController | | com.smartfoxserver.v2.exceptions.SFSExtensionException: Extension Request refused. Sender is not a User: { Id: 42385, Type: DEFAULT, Logged: No, IP: XX.XX.XX.XX:XXXXX }
com.smartfoxserver.v2.controllers.v290.ExtensionReqController.processRequest(ExtensionReqController.java:93)
com.smartfoxserver.v2.controllers.v290.ExtensionReqController$1.run(ExtensionReqController.java:68)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
11 Aug 2014 | 23:36:49,440 | WARN | SFSWorker:Sys:2 | controllers.v290.SystemReqController | | java.lang.IllegalStateException: Sender ( User Name: UGE, Id: 31546, Priv: 0, Sess: XX.XX.XX.XX:XXXXX ) is not joined the target room [ Room: gr19737, Id: 23276, Group: default, isGame: false ]
com.smartfoxserver.v2.api.SFSApi.sendPublicMessage(SFSApi.java:1093)
com.smartfoxserver.v2.api.SFSApi.sendPublicMessage(SFSApi.java:1150)
com.smartfoxserver.v2.controllers.system.GenericMessage.executePublicMessage(GenericMessage.java:249)
com.smartfoxserver.v2.controllers.system.GenericMessage.execute(GenericMessage.java:122)
com.smartfoxserver.v2.controllers.v290.SystemReqController.processRequest(SystemReqController.java:157)
com.smartfoxserver.v2.controllers.v290.SystemReqController.enqueueRequest(SystemReqController.java:114)
com.smartfoxserver.bitswarm.io.protocols.AbstractProtocolCodec.dispatchRequestToController(AbstractProtocolCodec.java:39)
com.smartfoxserver.v2.protocol.SFSProtocolCodec.dispatchRequest(SFSProtocolCodec.java:125)
com.smartfoxserver.v2.protocol.SFSProtocolCodec.onPacketRead(SFSProtocolCodec.java:90)
com.smartfoxserver.v2.protocol.binary.BinaryIoHandler$1.run(BinaryIoHandler.java:525)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
11 Aug 2014 | 23:49:43,681 | WARN | SocketWriter-1 | bitswarm.core.SocketWriter | | java.lang.IllegalStateException: AsyncContext#dispath s=ASYNCWAIT i=false a=DISPATCH
org.eclipse.jetty.server.HttpChannelState.dispatch(HttpChannelState.java:352)
org.eclipse.jetty.server.AsyncContextState.dispatch(AsyncContextState.java:114)
org.eclipse.jetty.continuation.Servlet3Continuation.resume(Servlet3Continuation.java:139)
sfs2x.bluebox.v3.data.BBClient.enqueueMessage(BBClient.java:80)
com.smartfoxserver.bitswarm.core.SocketWriter.processBlueBoxSession(SocketWriter.java:242)
com.smartfoxserver.bitswarm.core.SocketWriter.processSessionQueue(SocketWriter.java:208)
com.smartfoxserver.bitswarm.core.SocketWriter.run(SocketWriter.java:181)
java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
java.lang.Thread.run(Unknown Source)
Any idea what might be the reason for this? User drops appear to be caused by users disconnecting manually because the game does not work, this is not clear yet. The extension does not catch any exceptions, I only see the above exceptions in the smartfox.log. I will schedule a server restart for tonight but I want to ask anyway. This is happening on our live system and causing damage to our credibility.