SFS process data very slowly

Need help with SmartFoxServer? You didn't find an answer in our documentation? Please, post your questions here!

Moderators: Lapo, Bax

FWG
Posts: 1
Joined: 23 Oct 2011, 08:52

SFS process data very slowly

Postby FWG » 23 Oct 2011, 10:21

Hi,

We use SFS for our multiplayer game server side defelopment. On Friday the online and running game suddenly found was very slow on data processing by SFS. Players communicate data of any in game steps or activities in a very very slow mode. It happens whenever the number of players rise more than 30-50.

We checked:
1, JAVA coding, any major petiential errors that could cause system run slow has been refixed, incl. socket related etc, also any major problematic issues refixed
2, MYSQL, didnt find anything
3, configures of Nginx, didnt find anything causing problems
4, license server, license is on assigned status

At the moment, we think it might be SFS is having bugs or something similar. We really need some official opnions on SFS's responding time. Under what situation/problems SFS could go very slow?

Looking forward to hearing from you.

:cry:
User avatar
BigFIsh
Posts: 1698
Joined: 25 Feb 2008, 19:26
Location: New Zealand

Postby BigFIsh » 25 Oct 2011, 23:21

We use SFS for our multiplayer game server side defelopment. On Friday the online and running game suddenly found was very slow on data processing by SFS. Players communicate data of any in game steps or activities in a very very slow mode. It happens whenever the number of players rise more than 30-50.


Does it happen at other times? Is it repeatable? What kind of 'slowness' are your client experiencing? Delay of incoming packages? Flash running out of CPU resources? Have you monitored the server activity using the provided Admin tool? Any dropped out/in packages? JVM status?

At the moment, we think it might be SFS is having bugs or something similar.


Not likely. SFS have many customers with thousands of concurrent users and they don't have problems. So it's likely to be related to your code or your server.

Under what situation/problems SFS could go very slow?


Here's some I can think of from the top of my head:
- Possible memory leak
- Bandwidth limitation
- Server or Client internet provider
- Not enough JVM
- Low thread pool resource (try increase number of threads)
- CPU spec low (not likely)
- Frequency of data exchange too high
- Too many users in a single room
- DOS attack
- Clients not being able to keep up with incoming data which leads to dropped out packages
- Database overload

You might need to set up some connection simulation testing in order to narrow down the problem. It's not too hard to implement this. You would simply create a number of SmartFoxClients within one flash application and simulate logging in, sending of data, etc
Smartfox's forum is my daily newspaper.

Return to “SmartFoxServer 1.x Discussions and Help”

Who is online

Users browsing this forum: No registered users and 9 guests