Page 1 of 1

User queues full

Posted: 16 Nov 2006, 16:27
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?

Posted: 17 Nov 2006, 10:11
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

Posted: 17 Nov 2006, 13:10
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?

Posted: 17 Nov 2006, 14:08
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

Posted: 17 Nov 2006, 14:30
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.