Page 1 of 1

Some idle users can not be disconnected

Posted: 13 Jan 2012, 02:14
by king3200
Here are some users had connected more than 10 hours, and Write data never changed at all...I think they are all disconected, but user instance still there, is any other met this problem? :(
I have to create a thread to check user whio logined more than 10 hours...
ps: user max idle time is 300~~~seems like it dosen't work... :cry:

Posted: 14 Jan 2012, 13:30
by rjgtav
Hi.

Lets see if I understood all correctly. What do you mean with "Write Data never changed at all"? Which data are you referring to?

Well, I don't remember any problem regarding users not being disconnected after being idle for more than the permitted time... Maybe in your application you're pinging the server all the time, which prevents disconnection?

Please provide more details about the problem and make sure you're running the latest SFS2x with the RC3 Patch

Posted: 15 Jan 2012, 15:03
by Lapo
What you are referring to is "Ghost connections". This topic is common to any Server that use sockets and it's been discussed at great length all over the forums.
Please read here:
http://forums.smartfoxserver.com/viewto ... 3278#43278