User queues full

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

Moderators: Lapo, Bax

Post Reply
milosh6
Posts: 27
Joined: 06 Sep 2006, 14:09

User queues full

Post by milosh6 »

Hello,

what does it mean when I can see this message in the log file?

2006/11/14 17:19:28.447 - [ WARNING ] [id: 13] (EventWriter.handleEvent): Found user queues full: messages were dropped

Using the Remote Administration and looking at the "Server Status" screen, it happened to us couple times, that the server was showing certain number in "Outgoing messages queue", server load was around 6% although only couple of users (12) were online chatting at the time.

What does this mean?
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

This error was already discussed here:
http://forums.smartfoxserver.com/viewto ... ?p=777#777
http://forums.smartfoxserver.com/viewto ... =3521#3521
server load was around 6% although only couple of users (12) were online chatting at the time.
A load of 6% is pretty low but with only 12 users you should never really see a value higher than 1% unless you're running short of resources (cpu / bandwidth)

hope it helps
Lapo
--
gotoAndPlay()
...addicted to flash games
patso
Posts: 380
Joined: 13 Nov 2006, 13:44
Location: Sofia, Bulgaria

Post by patso »

For example if we have room variable which is updated, but the user queue is full is this means that the user will not recieve this update?
User avatar
Lapo
Site Admin
Posts: 23438
Joined: 21 Mar 2005, 09:50
Location: Italy

Post by Lapo »

Yes. The server can queue any number of messages for each client. This can be configured.
If the client has a very slow connection or if you're running out of bandwidth, the outgoing messages are queued up until there's space available. When the queue is full any new message that should be enqueued (and then sent) is discarded.
By default each client is assigned a queue with a capacity of 50 messages.

hope it helps
Lapo
--
gotoAndPlay()
...addicted to flash games
patso
Posts: 380
Joined: 13 Nov 2006, 13:44
Location: Sofia, Bulgaria

Post by patso »

So for turn based(like chess, backgammon) games,even if they have public chat, 50 messages means connection troubles. I mean with the today connections, with well configured flood filter, it's almost imposible to have 50 messages queue if there is no problem. So such a user will be disconnected for a idle.
This is theoretical. Is this true in real life? I don't have a expirience with multiuser servers, so Lapo, as someone with expirience(and someone that knows how SFS works), I'll be grateful share you opinion.
Thanks in advance.
Post Reply