SocketWriter Issue

Post here your questions about SFS2X. Here we discuss all server-side matters. For client API questions see the dedicated forums.

Moderators: Lapo, Bax

Sreelu
Posts: 22
Joined: 03 Oct 2016, 08:02

SocketWriter Issue

Postby Sreelu » 27 Jun 2017, 10:54

Iam facing this issue very frequently..Please help me in understanding what can be the issue behind this??

27 Jun 2017 | 16:29:48,126 | WARN | SocketWriter-1 | bitswarm.core.SocketWriter | | Problems in SocketWriter main loop, Thread: Thread[SocketWriter-1,5,main]
27 Jun 2017 | 16:29:48,126 | 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)
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: SocketWriter Issue

Postby Lapo » 27 Jun 2017, 14:13

Hi,
you're probably running an old version of SFS2X, older than 2.12, I suspect.

I'd recommend to install the latest:
http://www.smartfoxserver.com/download#p=installer

Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
Sreelu
Posts: 22
Joined: 03 Oct 2016, 08:02

Re: SocketWriter Issue

Postby Sreelu » 28 Jun 2017, 06:22

we are using 2.9.0 :(
Also we are facing frequent OutOfMemoryError: PermGen Space

We recently purchased license for 500 concurrent users and upgraded our server for the same in production environment
this error is happening when there are around 200 CCU.
we added vm parameters -Xms512M -Xmx2048M and -XX:MaxPermSize=512m

Still happening..Could u please suggest solution for the same?
User avatar
Lapo
Site Admin
Posts: 23008
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: SocketWriter Issue

Postby Lapo » 28 Jun 2017, 08:44

Sreelu wrote:we are using 2.9.0 :(
Also we are facing frequent OutOfMemoryError: PermGen Space

We recently purchased license for 500 concurrent users and upgraded our server for the same in production environment
this error is happening when there are around 200 CCU.

This is a different issue, typically caused by deploying your Room Extension dependencies in the same class loader.

Still happening..Could u please suggest solution for the same?

Please read here:
http://smartfoxserver.com/blog/performa ... xtensions/

Hope it helps
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: Baidu [Spider] and 77 guests