Users getting disconnected huge amount

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

Moderators: Lapo, Bax

User avatar
ekrem5353
Posts: 88
Joined: 10 Dec 2015, 15:50

Users getting disconnected huge amount

Postby ekrem5353 » 15 Nov 2018, 07:43

Hi,

Last couple of days I am having problems with users getting disconnected. I can not find the problem I look at the logs all I see by the time this happens



14 Nov 2018 | 21:57:30,027 | INFO | pool-1-thread-3 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 341555, Type: DEFAULT, Logged: Yes, IP: 37.155.28.21:16551 }
14 Nov 2018 | 21:57:30,027 | INFO | pool-1-thread-3 | entities.managers.SFSRoomManager | | Room removed: { Zone: CanakOkey }, [ SFSGame: SUZ24, Id: 51918, Group: sultanZade, public: true, minPlayers: 4 ], Duration: 3758031
14 Nov 2018 | 21:57:30,028 | INFO | pool-1-thread-3 | v2.api.SFSApi | | User disconnected: { Zone: CanakOkey }, ( User Name: 115985, Id: 285825, Priv: 1, Sess: 37.155.28.21:16551 ) , SessionLen: 95205, Type: Unity
14 Nov 2018 | 21:57:30,082 | INFO | pool-1-thread-3 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 334670, Type: DEFAULT, Logged: Yes, IP: 88.230.2.225:34436 }
14 Nov 2018 | 21:57:30,083 | INFO | pool-1-thread-3 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: 68193, Id: 280155, Priv: 1, Sess: 88.230.2.225:34436 ) , SessionLen: 2692122, Type: Flash
14 Nov 2018 | 21:57:30,209 | INFO | SFSWorker:Sys:2 | Extensions | | {inviteUser}: Gelecek false
14 Nov 2018 | 21:57:30,209 | INFO | SFSWorker:Sys:2 | Extensions | | {inviteUser}: Robot invited to the room
14 Nov 2018 | 21:57:30,226 | INFO | pool-1-thread-1 | Extensions | | {Kelime101Extension}: next player 64920 is being disconnected
14 Nov 2018 | 21:57:30,226 | INFO | pool-1-thread-1 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 338215, Type: DEFAULT, Logged: Yes, IP: 5.47.102.105:61493 }
14 Nov 2018 | 21:57:30,227 | INFO | pool-1-thread-1 | v2.api.SFSApi | | User disconnected: { Zone: CanakKelime101 }, ( User Name: 64920, Id: 283039, Priv: 1, Sess: 5.47.102.105:61493 ) , SessionLen: 1349844, Type: Unity
14 Nov 2018 | 21:57:30,270 | INFO | SocketReader | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 341739, Type: DEFAULT, Logged: No, IP: 37.155.28.21:15927 } on Server port: 9933 <---> 15927
14 Nov 2018 | 21:57:30,317 | INFO | SocketReader | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 341740, Type: DEFAULT, Logged: No, IP: 37.155.129.82:47425 } on Server port: 9933 <---> 47425
14 Nov 2018 | 21:57:30,410 | INFO | pool-1-thread-4 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 331681, Type: DEFAULT, Logged: Yes, IP: 217.131.81.219:40065 }
14 Nov 2018 | 21:57:30,412 | INFO | pool-1-thread-4 | entities.managers.SFSRoomManager | | Room removed: { Zone: Pisti }, [ SFSGame: OYZ15, Id: 51937, Group: oyunZade, public: true, minPlayers: 4 ], Duration: 3724596
14 Nov 2018 | 21:57:30,412 | INFO | pool-1-thread-4 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: 59882, Id: 277677, Priv: 1, Sess: 217.131.81.219:40065 ) , SessionLen: 3783001, Type: Flash
14 Nov 2018 | 21:57:30,458 | INFO | pool-1-thread-2 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 322114, Type: DEFAULT, Logged: Yes, IP: 88.230.29.230:22487 }
14 Nov 2018 | 21:57:30,459 | INFO | pool-1-thread-2 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: 211605, Id: 269770, Priv: 1, Sess: 88.230.29.230:22487 ) , SessionLen: 7375615, Type: Flash
14 Nov 2018 | 21:57:30,487 | INFO | pool-1-thread-4 | Extensions | | {Kelime101Extension}: There is no robot name left we cancel npcCreateScheduler
14 Nov 2018 | 21:57:30,512 | INFO | SocketReader | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 341741, Type: DEFAULT, Logged: No, IP: 5.47.102.105:60705 } on Server port: 9933 <---> 60705
14 Nov 2018 | 21:57:30,736 | INFO | pool-1-thread-3 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 340991, Type: DEFAULT, Logged: Yes, IP: 82.222.98.165:51189 }
14 Nov 2018 | 21:57:30,737 | INFO | pool-1-thread-3 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: 196013, Id: 285352, Priv: 1, Sess: 82.222.98.165:51189 ) , SessionLen: 322538, Type: Flash
14 Nov 2018 | 21:57:30,930 | INFO | SocketReader | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 341742, Type: DEFAULT, Logged: No, IP: 78.181.167.137:36536 } on Server port: 9933 <---> 36536
14 Nov 2018 | 21:57:30,964 | INFO | pool-1-thread-4 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 340827, Type: DEFAULT, Logged: Yes, IP: 178.233.107.189:42699 }
14 Nov 2018 | 21:57:30,964 | INFO | pool-1-thread-4 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: 240016, Id: 285216, Priv: 1, Sess: 178.233.107.189:42699 ) , SessionLen: 392655, Type: Unity
14 Nov 2018 | 21:57:30,976 | INFO | SocketReader | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 341743, Type: DEFAULT, Logged: No, IP: 88.227.39.113:44631 } on Server port: 9933 <---> 44631
14 Nov 2018 | 21:57:30,985 | INFO | pool-1-thread-2 | Extensions | | {Kelime101Extension}: There is no robot name left we cancel npcCreateScheduler
14 Nov 2018 | 21:57:30,985 | INFO | pool-1-thread-2 | Extensions | | {Kelime101Extension}: Robot u başka thread kullandı demek ismi : 52655
14 Nov 2018 | 21:57:31,017 | INFO | pool-1-thread-3 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 336814, Type: DEFAULT, Logged: Yes, IP: 176.218.241.195:53792 }
14 Nov 2018 | 21:57:31,018 | INFO | pool-1-thread-3 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: 27793, Id: 281941, Priv: 1, Sess: 176.218.241.195:53792 ) , SessionLen: 1818218, Type: Flash
14 Nov 2018 | 21:57:31,086 | INFO | pool-1-thread-3 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 337860, Type: DEFAULT, Logged: Yes, IP: 82.113.98.232:1748 }
14 Nov 2018 | 21:57:31,086 | INFO | pool-1-thread-3 | v2.api.SFSApi | | User disconnected: { Zone: Banko }, ( User Name: 31795, Id: 282767, Priv: 1, Sess: 82.113.98.232:1748 ) , SessionLen: 1472025, Type: Unity
14 Nov 2018 | 21:57:31,105 | INFO | SocketReader | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 341744, Type: DEFAULT, Logged: No, IP: 178.233.107.189:51418 } on Server port: 9933 <---> 51418
14 Nov 2018 | 21:57:31,123 | INFO | pool-1-thread-1 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 337444, Type: DEFAULT, Logged: Yes, IP: 88.230.156.190:29559 }
14 Nov 2018 | 21:57:31,125 | INFO | pool-1-thread-1 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: 49096, Id: 282409, Priv: 1, Sess: 88.230.156.190:29559 ) , SessionLen: 1629270, Type: Unity
14 Nov 2018 | 21:57:31,187 | INFO | SocketReader | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 340790, Type: DEFAULT, Logged: Yes, IP: 78.190.238.194:61186 }
14 Nov 2018 | 21:57:31,188 | INFO | SFSWorker:Sys:2 | v2.api.SFSApi | | User disconnected: { Zone: CanakOkey }, ( User Name: 6937, Id: 285184, Priv: 1, Sess: 78.190.238.194:61186 ) , SessionLen: 410676, Type: Flash
14 Nov 2018 | 21:57:31,309 | INFO | pool-1-thread-1 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 319977, Type: DEFAULT, Logged: Yes, IP: 95.10.3.227:13133 }
14 Nov 2018 | 21:57:31,310 | INFO | pool-1-thread-1 | entities.managers.SFSRoomManager | | Room removed: { Zone: Pisti }, [ SFSGame: OYZ1, Id: 51071, Group: oyunZade, public: true, minPlayers: 4 ], Duration: 5914772
14 Nov 2018 | 21:57:31,310 | INFO | pool-1-thread-1 | entities.managers.SFSRoomManager | | Room removed: { Zone: Pisti }, [ SFSGame: OYZ23, Id: 52944, Group: oyunZade, public: true, minPlayers: 4 ], Duration: 1541514
14 Nov 2018 | 21:57:31,311 | INFO | pool-1-thread-1 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: 153364, Id: 268010, Priv: 8, Sess: 95.10.3.227:13133 ) , SessionLen: 8240434, Type: Flash
14 Nov 2018 | 21:57:31,487 | INFO | pool-1-thread-2 | Extensions | | {Kelime101Extension}: There is no robot name left we cancel npcCreateScheduler
14 Nov 2018 | 21:57:31,491 | INFO | SocketReader | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 341745, Type: DEFAULT, Logged: No, IP: 88.230.156.190:32954 } on Server port: 9933 <---> 32954
14 Nov 2018 | 21:57:31,532 | INFO | SFSWorker:Sys:3 | v2.api.SFSApi | | Room joined: [ Room: seriSalon, Id: 5, Group: seriSalon, isGame: false ], { Zone: Pisti }, ( User Name: 58101, Id: 285690, Priv: 1, Sess: 176.218.220.17:51738 ) , asSpect: false
14 Nov 2018 | 21:57:31,621 | INFO | pool-1-thread-1 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 336227, Type: DEFAULT, Logged: Yes, IP: 176.43.228.115:39507 }
14 Nov 2018 | 21:57:31,621 | INFO | pool-1-thread-1 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: 82160, Id: 281453, Priv: 1, Sess: 176.43.228.115:39507 ) , SessionLen: 2051899, Type: Unity
14 Nov 2018 | 21:57:31,651 | INFO | pool-1-thread-1 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 338322, Type: DEFAULT, Logged: Yes, IP: 212.252.76.241:45653 }
14 Nov 2018 | 21:57:31,652 | INFO | pool-1-thread-1 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: 10219, Id: 283137, Priv: 1, Sess: 212.252.76.241:45653 ) , SessionLen: 1316980, Type: Flash
14 Nov 2018 | 21:57:31,728 | INFO | qtp51376124-444519 | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 341746, Type: WEBSOCKET, Logged: No, IP: 176.216.227.107 } on Server port: 8843 <---> 59020
14 Nov 2018 | 21:57:31,785 | INFO | SFSWorker:Sys:2 | v2.api.SFSApi | | Room joined: [ Room: seriSalon, Id: 5, Group: seriSalon, isGame: false ], { Zone: Pisti }, ( User Name: 233699, Id: 284036, Priv: 1, Sess: 78.176.240.64:39959 ) , asSpect: false
14 Nov 2018 | 21:57:31,846 | INFO | SocketReader | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 341747, Type: DEFAULT, Logged: No, IP: 176.43.228.115:36521 } on Server port: 9933 <---> 36521
14 Nov 2018 | 21:57:31,864 | INFO | SFSWorker:Sys:1 | v2.api.SFSApi | | User login: { Zone: DebugZone2 }, ( User Name: 1, Id: 285954, Priv: 0, Sess: 176.216.227.107:59020 ) , Type: JavaScript
14 Nov 2018 | 21:57:31,918 | INFO | SocketReader | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 341748, Type: DEFAULT, Logged: No, IP: 88.233.93.87:46655 } on Server port: 9933 <---> 46655
14 Nov 2018 | 21:57:31,985 | INFO | pool-1-thread-4 | Extensions | | {Kelime101Extension}: There is no robot name left we cancel npcCreateScheduler
14 Nov 2018 | 21:57:31,985 | INFO | pool-1-thread-4 | Extensions | | {Kelime101Extension}: Robot u başka thread kullandı demek ismi : 52655
14 Nov 2018 | 21:57:32,027 | INFO | SocketReader | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 339159, Type: DEFAULT, Logged: Yes, IP: 178.247.190.152:39402 }
14 Nov 2018 | 21:57:32,027 | INFO | SFSWorker:Sys:1 | v2.api.SFSApi | | Room joined: [ Room: ustaZade, Id: 23, Group: ustaZade, isGame: false ], { Zone: IhaleliBatak }, ( User Name: 20946, Id: 285883, Priv: 1, Sess: 78.190.188.206:14016 ) , asSpect: false
14 Nov 2018 | 21:57:32,027 | INFO | SFSWorker:Sys:2 | v2.api.SFSApi | | User disconnected: { Zone: CanakKelime101 }, ( User Name: 70031, Id: 283836, Priv: 1, Sess: 178.247.190.152:39402 ) , SessionLen: 1028349, Type: Unity
14 Nov 2018 | 21:57:32,102 | INFO | pool-1-thread-3 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 340791, Type: DEFAULT, Logged: Yes, IP: 37.154.81.242:37018 }
14 Nov 2018 | 21:57:32,102 | INFO | pool-1-thread-3 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: 234552, Id: 285189, Priv: 1, Sess: 37.154.81.242:37018 ) , SessionLen: 408713, Type: Unity
14 Nov 2018 | 21:57:32,248 | INFO | pool-1-thread-4 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 336361, Type: DEFAULT, Logged: Yes, IP: 46.154.63.223:26501 }
14 Nov 2018 | 21:57:32,249 | INFO | pool-1-thread-4 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: 186961, Id: 281562, Priv: 1, Sess: 46.154.63.223:26501 ) , SessionLen: 2002973, Type: Unity
14 Nov 2018 | 21:57:32,258 | INFO | SocketReader | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 341452, Type: DEFAULT, Logged: Yes, IP: 78.171.211.208:58726 }
14 Nov 2018 | 21:57:32,259 | INFO | SFSWorker:Sys:4 | v2.api.SFSApi | | User disconnected: { Zone: CanakKelime101 }, ( User Name: 54843, Id: 285738, Priv: 1, Sess: 78.171.211.208:58726 ) , SessionLen: 145946, Type: Unity
14 Nov 2018 | 21:57:32,459 | INFO | pool-1-thread-1 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 337762, Type: DEFAULT, Logged: Yes, IP: 85.106.149.146:50492 }
14 Nov 2018 | 21:57:32,460 | INFO | pool-1-thread-1 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: 201242, Id: 282674, Priv: 1, Sess: 85.106.149.146:50492 ) , SessionLen: 1519226, Type: Flash
14 Nov 2018 | 21:57:32,475 | INFO | SocketReader | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 341749, Type: DEFAULT, Logged: No, IP: 37.154.81.242:38382 } on Server port: 9933 <---> 38382
14 Nov 2018 | 21:57:32,477 | INFO | pool-1-thread-3 | Extensions | | {Kelime101Extension}: next player 72941 is being disconnected
14 Nov 2018 | 21:57:32,478 | INFO | pool-1-thread-3 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 340575, Type: DEFAULT, Logged: Yes, IP: 85.103.246.116:58936 }
14 Nov 2018 | 21:57:32,478 | INFO | pool-1-thread-3 | v2.api.SFSApi | | User disconnected: { Zone: CanakKelime101 }, ( User Name: 72941, Id: 285007, Priv: 1, Sess: 85.103.246.116:58936 ) , SessionLen: 504535, Type: Unity
14 Nov 2018 | 21:57:32,487 | INFO | pool-1-thread-4 | Extensions | | {Kelime101Extension}: There is no robot name left we cancel npcCreateScheduler
14 Nov 2018 | 21:57:32,572 | INFO | SocketReader | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 341750, Type: DEFAULT, Logged: No, IP: 46.154.63.223:26898 } on Server port: 9933 <---> 26898
14 Nov 2018 | 21:57:32,670 | INFO | SocketReader | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 341751, Type: DEFAULT, Logged: No, IP: 37.130.64.134:58213 } on Server port: 9933 <---> 58213
14 Nov 2018 | 21:57:32,707 | INFO | SocketReader | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 341751, Type: DEFAULT, Logged: No, IP: 37.130.64.134:58213 }
14 Nov 2018 | 21:57:32,763 | INFO | SocketReader | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 341752, Type: DEFAULT, Logged: No, IP: 37.130.64.134:58214 } on Server port: 9933 <---> 58214
14 Nov 2018 | 21:57:32,841 | INFO | SocketReader | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 341753, Type: DEFAULT, Logged: No, IP: 85.103.246.116:35579 } on Server port: 9933 <---> 35579
14 Nov 2018 | 21:57:32,985 | INFO | pool-1-thread-3 | Extensions | | {Kelime101Extension}: There is no robot name left we cancel npcCreateScheduler
14 Nov 2018 | 21:57:32,985 | INFO | pool-1-thread-3 | Extensions | | {Kelime101Extension}: Robot u başka thread kullandı demek ismi : 52655
14 Nov 2018 | 21:57:33,034 | INFO | pool-1-thread-4 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 334155, Type: DEFAULT, Logged: Yes, IP: 78.178.223.182:46145 }
14 Nov 2018 | 21:57:33,035 | INFO | pool-1-thread-4 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: 203796, Id: 279767, Priv: 1, Sess: 78.178.223.182:46145 ) , SessionLen: 2891175, Type: Unity
14 Nov 2018 | 21:57:33,113 | INFO | pool-1-thread-4 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 338930, Type: DEFAULT, Logged: Yes, IP: 176.54.59.49:42755 }
14 Nov 2018 | 21:57:33,114 | INFO | pool-1-thread-4 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: 230293, Id: 283710, Priv: 1, Sess: 176.54.59.49:42755 ) , SessionLen: 1087289, Type: Unity
14 Nov 2018 | 21:57:33,304 | INFO | SocketReader | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 341754, Type: DEFAULT, Logged: No, IP: 78.178.223.182:36863 } on Server port: 9933 <---> 36863
14 Nov 2018 | 21:57:33,372 | INFO | SocketReader | bitswarm.sessions.DefaultSessionManager | | Session created: { Id: 341755, Type: DEFAULT, Logged: No, IP: 176.54.59.49:42936 } on Server port: 9933 <---> 42936
14 Nov 2018 | 21:57:33,396 | INFO | pool-1-thread-4 | Extensions | | {PistiExtensions}: Robot disconnected Name : 69205
14 Nov 2018 | 21:57:33,396 | INFO | pool-1-thread-4 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 341059, Type: VOID, Logged: Yes, IP: NO_IP }
14 Nov 2018 | 21:57:33,396 | INFO | pool-1-thread-4 | entities.managers.SFSRoomManager | | Room removed: { Zone: Pisti }, [ SFSGame: SSA6, Id: 53541, Group: seriSalon, public: true, minPlayers: 2 ], Duration: 299039
14 Nov 2018 | 21:57:33,397 | INFO | pool-1-thread-4 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: 69205, Id: 285406, Priv: 0, Sess: NO_IP ) , SessionLen: 298011, Type: null
14 Nov 2018 | 21:57:33,397 | INFO | pool-1-thread-4 | Extensions | | {PistiExtensions}: Room delete Room Name : SSA6
14 Nov 2018 | 21:57:33,397 | INFO | pool-1-thread-4 | entities.managers.SFSRoomManager | | Room removed: { Zone: Pisti }, [ SFSGame: SSA6, Id: 53541, Group: seriSalon, public: true, minPlayers: 2 ], Duration: 299040
14 Nov 2018 | 21:57:33,397 | INFO | pool-1-thread-4 | Extensions | | {PistiExtensions}: Robot disconnected Name : 79175
14 Nov 2018 | 21:57:33,397 | INFO | pool-1-thread-4 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 340947, Type: VOID, Logged: Yes, IP: NO_IP }
14 Nov 2018 | 21:57:33,397 | INFO | pool-1-thread-4 | entities.managers.SFSRoomManager | | Room removed: { Zone: Pisti }, [ SFSGame: SSA3, Id: 53513, Group: seriSalon, public: true, minPlayers: 2 ], Duration: 345315
14 Nov 2018 | 21:57:33,397 | INFO | pool-1-thread-4 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: 79175, Id: 285320, Priv: 0, Sess: NO_IP ) , SessionLen: 343279, Type: null
14 Nov 2018 | 21:57:33,397 | INFO | pool-1-thread-4 | Extensions | | {PistiExtensions}: Room delete Room Name : SSA3
14 Nov 2018 | 21:57:33,397 | INFO | pool-1-thread-4 | entities.managers.SFSRoomManager | | Room removed: { Zone: Pisti }, [ SFSGame: SSA3, Id: 53513, Group: seriSalon, public: true, minPlayers: 2 ], Duration: 345315
14 Nov 2018 | 21:57:33,397 | INFO | pool-1-thread-4 | Extensions | | {PistiExtensions}: Robot disconnected Name : 164336
14 Nov 2018 | 21:57:33,397 | INFO | pool-1-thread-4 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 341027, Type: VOID, Logged: Yes, IP: NO_IP }
14 Nov 2018 | 21:57:33,398 | INFO | pool-1-thread-4 | entities.managers.SFSRoomManager | | Room removed: { Zone: Pisti }, [ SFSGame: SSA4, Id: 53535, Group: seriSalon, public: true, minPlayers: 2 ], Duration: 314679
14 Nov 2018 | 21:57:33,398 | INFO | pool-1-thread-4 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: 164336, Id: 285379, Priv: 0, Sess: NO_IP ) , SessionLen: 310650, Type: null
14 Nov 2018 | 21:57:33,398 | INFO | pool-1-thread-4 | Extensions | | {PistiExtensions}: Room delete Room Name : SSA4
14 Nov 2018 | 21:57:33,398 | INFO | pool-1-thread-4 | entities.managers.SFSRoomManager | | Room removed: { Zone: Pisti }, [ SFSGame: SSA4, Id: 53535, Group: seriSalon, public: true, minPlayers: 2 ], Duration: 314679
14 Nov 2018 | 21:57:33,398 | INFO | pool-1-thread-4 | Extensions | | {PistiExtensions}: Robot disconnected Name : 78548
14 Nov 2018 | 21:57:33,398 | INFO | pool-1-thread-4 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 340834, Type: VOID, Logged: Yes, IP: NO_IP }
14 Nov 2018 | 21:57:33,398 | INFO | pool-1-thread-4 | entities.managers.SFSRoomManager | | Room removed: { Zone: Pisti }, [ SFSGame: SSA1, Id: 53498, Group: seriSalon, public: true, minPlayers: 2 ], Duration: 393451
14 Nov 2018 | 21:57:33,399 | INFO | pool-1-thread-4 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: 78548, Id: 285224, Priv: 0, Sess: NO_IP ) , SessionLen: 392422, Type: null
14 Nov 2018 | 21:57:33,399 | INFO | pool-1-thread-4 | Extensions | | {PistiExtensions}: Room delete Room Name : SSA1
14 Nov 2018 | 21:57:33,399 | INFO | pool-1-thread-4 | entities.managers.SFSRoomManager | | Room removed: { Zone: Pisti }, [ SFSGame: SSA1, Id: 53498, Group: seriSalon, public: true, minPlayers: 2 ], Duration: 393452
14 Nov 2018 | 21:57:33,399 | INFO | pool-1-thread-4 | Extensions | | {PistiExtensions}: Robot disconnected Name : 165309
14 Nov 2018 | 21:57:33,399 | INFO | pool-1-thread-4 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 336266, Type: VOID, Logged: Yes, IP: NO_IP }
14 Nov 2018 | 21:57:33,399 | INFO | pool-1-thread-4 | entities.managers.SFSRoomManager | | Room removed: { Zone: Pisti }, [ SFSGame: SSA2, Id: 52692, Group: seriSalon, public: true, minPlayers: 2 ], Duration: 2042793
14 Nov 2018 | 21:57:33,399 | INFO | pool-1-thread-4 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: 165309, Id: 281482, Priv: 0, Sess: NO_IP ) , SessionLen: 2040767, Type: null
14 Nov 2018 | 21:57:33,399 | INFO | pool-1-thread-4 | Extensions | | {PistiExtensions}: Room delete Room Name : SSA2
14 Nov 2018 | 21:57:33,399 | INFO | pool-1-thread-4 | entities.managers.SFSRoomManager | | Room removed: { Zone: Pisti }, [ SFSGame: SSA2, Id: 52692, Group: seriSalon, public: true, minPlayers: 2 ], Duration: 2042793
14 Nov 2018 | 21:57:33,399 | INFO | pool-1-thread-4 | Extensions | | {PistiExtensions}: Robot disconnected Name : SSA9_R1
14 Nov 2018 | 21:57:33,399 | INFO | pool-1-thread-4 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 341607, Type: VOID, Logged: Yes, IP: NO_IP }
14 Nov 2018 | 21:57:33,400 | INFO | pool-1-thread-4 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: SSA9_R1, Id: 285861, Priv: 0, Sess: NO_IP ) , SessionLen: 77305, Type: null
14 Nov 2018 | 21:57:33,400 | INFO | pool-1-thread-4 | Extensions | | {PistiExtensions}: Robot disconnected Name : 78615
14 Nov 2018 | 21:57:33,400 | INFO | pool-1-thread-4 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 316951, Type: VOID, Logged: Yes, IP: NO_IP }
14 Nov 2018 | 21:57:33,400 | INFO | pool-1-thread-4 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: 78615, Id: 265457, Priv: 0, Sess: NO_IP ) , SessionLen: 9444610, Type: null
14 Nov 2018 | 21:57:33,400 | INFO | pool-1-thread-4 | Extensions | | {PistiExtensions}: Robot disconnected Name : 163397
14 Nov 2018 | 21:57:33,400 | INFO | pool-1-thread-4 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 316947, Type: VOID, Logged: Yes, IP: NO_IP }
14 Nov 2018 | 21:57:33,400 | INFO | pool-1-thread-4 | entities.managers.SFSRoomManager | | Room removed: { Zone: Pisti }, [ SFSGame: SSA9, Id: 49589, Group: seriSalon, public: true, minPlayers: 4 ], Duration: 9451628
14 Nov 2018 | 21:57:33,400 | INFO | pool-1-thread-4 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: 163397, Id: 265451, Priv: 0, Sess: NO_IP ) , SessionLen: 9445610, Type: null
14 Nov 2018 | 21:57:33,400 | INFO | pool-1-thread-4 | Extensions | | {PistiExtensions}: Room delete Room Name : SSA9
14 Nov 2018 | 21:57:33,400 | INFO | pool-1-thread-4 | entities.managers.SFSRoomManager | | Room removed: { Zone: Pisti }, [ SFSGame: SSA9, Id: 49589, Group: seriSalon, public: true, minPlayers: 4 ], Duration: 9451628
14 Nov 2018 | 21:57:33,400 | INFO | pool-1-thread-4 | Extensions | | {PistiExtensions}: Robot disconnected Name : OYZ26_R2
14 Nov 2018 | 21:57:33,400 | INFO | pool-1-thread-4 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 340483, Type: VOID, Logged: Yes, IP: NO_IP }
14 Nov 2018 | 21:57:33,401 | INFO | pool-1-thread-4 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: OYZ26_R2, Id: 284928, Priv: 0, Sess: NO_IP ) , SessionLen: 537995, Type: null
14 Nov 2018 | 21:57:33,401 | INFO | pool-1-thread-4 | Extensions | | {PistiExtensions}: Robot disconnected Name : OYZ26_R3
14 Nov 2018 | 21:57:33,401 | INFO | pool-1-thread-4 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 340484, Type: VOID, Logged: Yes, IP: NO_IP }
14 Nov 2018 | 21:57:33,401 | INFO | pool-1-thread-4 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: OYZ26_R3, Id: 284929, Priv: 0, Sess: NO_IP ) , SessionLen: 537988, Type: null
14 Nov 2018 | 21:57:33,401 | INFO | pool-1-thread-4 | Extensions | | {PistiExtensions}: Robot disconnected Name : OYZ26_R4
14 Nov 2018 | 21:57:33,401 | INFO | pool-1-thread-4 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 340485, Type: VOID, Logged: Yes, IP: NO_IP }
14 Nov 2018 | 21:57:33,401 | INFO | pool-1-thread-4 | entities.managers.SFSRoomManager | | Room removed: { Zone: Pisti }, [ SFSGame: OYZ26, Id: 53443, Group: oyunZade, public: true, minPlayers: 4 ], Duration: 547110
14 Nov 2018 | 21:57:33,402 | INFO | pool-1-thread-4 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: OYZ26_R4, Id: 284930, Priv: 0, Sess: NO_IP ) , SessionLen: 537988, Type: null
14 Nov 2018 | 21:57:33,402 | INFO | pool-1-thread-4 | Extensions | | {PistiExtensions}: Room delete Room Name : OYZ26
14 Nov 2018 | 21:57:33,402 | INFO | pool-1-thread-4 | entities.managers.SFSRoomManager | | Room removed: { Zone: Pisti }, [ SFSGame: OYZ26, Id: 53443, Group: oyunZade, public: true, minPlayers: 4 ], Duration: 547111
14 Nov 2018 | 21:57:33,402 | INFO | pool-1-thread-4 | Extensions | | {PistiExtensions}: Robot disconnected Name : OYZ33_R4
14 Nov 2018 | 21:57:33,402 | INFO | pool-1-thread-4 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 341174, Type: VOID, Logged: Yes, IP: NO_IP }
14 Nov 2018 | 21:57:33,402 | INFO | pool-1-thread-4 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: OYZ33_R4, Id: 285500, Priv: 0, Sess: NO_IP ) , SessionLen: 258422, Type: null
14 Nov 2018 | 21:57:33,402 | INFO | pool-1-thread-4 | Extensions | | {PistiExtensions}: Robot disconnected Name : OYZ33_R2
14 Nov 2018 | 21:57:33,402 | INFO | pool-1-thread-4 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 341172, Type: VOID, Logged: Yes, IP: NO_IP }
14 Nov 2018 | 21:57:33,402 | INFO | pool-1-thread-4 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: OYZ33_R2, Id: 285498, Priv: 0, Sess: NO_IP ) , SessionLen: 258429, Type: null
14 Nov 2018 | 21:57:33,402 | INFO | pool-1-thread-4 | Extensions | | {PistiExtensions}: Robot disconnected Name : OYZ33_R3
14 Nov 2018 | 21:57:33,402 | INFO | pool-1-thread-4 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 341173, Type: VOID, Logged: Yes, IP: NO_IP }
14 Nov 2018 | 21:57:33,402 | INFO | pool-1-thread-4 | entities.managers.SFSRoomManager | | Room removed: { Zone: Pisti }, [ SFSGame: OYZ33, Id: 53555, Group: oyunZade, public: true, minPlayers: 4 ], Duration: 260338
14 Nov 2018 | 21:57:33,403 | INFO | pool-1-thread-4 | v2.api.SFSApi | | User disconnected: { Zone: Pisti }, ( User Name: OYZ33_R3, Id: 285499, Priv: 0, Sess: NO_IP ) , SessionLen: 258424, Type: null
14 Nov 2018 | 21:57:33,403 | INFO | pool-1-thread-4 | Extensions | | {PistiExtensions}: Room delete Room Name : OYZ33
14 Nov 2018 | 21:57:33,403 | INFO | pool-1-thread-4 | entities.managers.SFSRoomManager | | Room removed: { Zone: Pisti }, [ SFSGame: OYZ33, Id: 53555, Group: oyunZade, public: true, minPlayers: 4 ], Duration: 260339
14 Nov 2018 | 21:57:33,413 | INFO | pool-1-thread-3 | v2.api.SFSApi | | Room joined: [ SFSGame: OYZ17, Id: 53641, Group: oyunZade, public: true, minPlayers: 4 ], { Zone: CanakKelime101 }, ( User Name: 52655, Id: 284311, Priv: 0, Sess: NO_IP ) , asSpect: false
14 Nov 2018 | 21:57:33,487 | INFO | pool-1-thread-4 | Extensions | | {Kelime101Extension}: There is no robot name left we cancel npcCreateScheduler
14 Nov 2018 | 21:57:33,715 | INFO | pool-1-thread-4 | Extensions | | {IhaleliBatakExtensions}: Robot disconnected Name : OYZ10_R2
14 Nov 2018 | 21:57:33,716 | INFO | pool-1-thread-4 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 341545, Type: VOID, Logged: Yes, IP: NO_IP }
14 Nov 2018 | 21:57:33,716 | INFO | pool-1-thread-4 | v2.api.SFSApi | | User disconnected: { Zone: IhaleliBatak }, ( User Name: OYZ10_R2, Id: 285812, Priv: 0, Sess: NO_IP ) , SessionLen: 106955, Type: null
14 Nov 2018 | 21:57:33,716 | INFO | pool-1-thread-4 | Extensions | | {IhaleliBatakExtensions}: Robot disconnected Name : OYZ10_R3
14 Nov 2018 | 21:57:33,716 | INFO | pool-1-thread-4 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 340632, Type: VOID, Logged: Yes, IP: NO_IP }
14 Nov 2018 | 21:57:33,716 | INFO | pool-1-thread-4 | v2.api.SFSApi | | User disconnected: { Zone: IhaleliBatak }, ( User Name: OYZ10_R3, Id: 285049, Priv: 0, Sess: NO_IP ) , SessionLen: 485625, Type: null
14 Nov 2018 | 21:57:33,716 | INFO | pool-1-thread-4 | Extensions | | {IhaleliBatakExtensions}: Robot disconnected Name : OYZ10_R4
14 Nov 2018 | 21:57:33,716 | INFO | pool-1-thread-4 | bitswarm.sessions.DefaultSessionManager | | Session removed: { Id: 340633, Type: VOID, Logged: Yes, IP: NO_IP }
14 Nov 2018 | 21:57:33,717 | INFO | pool-1-thread-4 | entities.managers.SFSRoomManager | | Room removed: { Zone: IhaleliBatak }, [ SFSGame: OYZ10, Id: 53465, Group: oyunZade, public: true, minPlayers: 4 ], Duration: 487437
14 Nov 2018 | 21:57:33,717 | INFO | pool-1-thread-4 | v2.api.SFSApi | | User disconnected: { Zone: IhaleliBatak }, ( User Name: OYZ10_R4, Id: 285050, Priv: 0, Sess: NO_IP ) , SessionLen: 485624, Type: null
14 Nov 2018 | 21:57:33,717 | INFO | pool-1-thread-4 | Extensions | | {IhaleliBatakExtensions}: Room delete Room Name : OYZ10
14 Nov 2018 | 21:57:33,717 | INFO | pool-1-thread-4 | entities.managers.SFSRoomManager | | Room removed: { Zone: IhaleliBatak }, [ SFSGame: OYZ10, Id: 53465, Group: oyunZade, public: true, minPlayers: 4 ], Duration: 487437
14 Nov 2018 | 21:57:33,717 | INFO |

**********************************************
this goes on like this...................



I can not think of any major server side changes that can cause these much disconnection.
I can not understand why suddenly about thousend users get disconnected. How can I narrow down the problem whether it is related to network or code.

https://ibb.co/hsHQUf
https://ibb.co/j4E5Uf

Usually when this starts happening I see realtime network traffic becomes abnormal. there are too much sudden peaks.
lastly we changed server from 2.11 to 2.13 Although I am not sure if this could cause problem but we added firebase messaging features which uses too much threads when it sends messages to 300 hundred users asynchronously thread count rises to 300 hundred later it drops to about 60.

Thanks
User avatar
ekrem5353
Posts: 88
Joined: 10 Dec 2015, 15:50

Re: Users getting disconnected huge amount

Postby ekrem5353 » 15 Nov 2018, 08:11

And this is the network picture when there is no problem.


https://ibb.co/hir2QL

Thanks
User avatar
Lapo
Site Admin
Posts: 20761
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Users getting disconnected huge amount

Postby Lapo » 15 Nov 2018, 09:20

Hi,
from the screenshot it looks like the server is working perfectly fine, with very low CPU usage, normal amount of threads, and very low dropped packet rate.

From the log fragment you've sent it's also not clear what might be going on. There are 40 disconnections and 17 new connections being created. It doesn't look particularly suspicious or anomalous.

Also, disconnections are not preceded by other exceptions that may suggest server side issues, so at least from what we can see everything looks very normal and healthy.

Isn't it possible you're misinterpreting normal server activity with maybe a different rate of players coming and going?
Thanks
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
ekrem5353
Posts: 88
Joined: 10 Dec 2015, 15:50

Re: Users getting disconnected huge amount

Postby ekrem5353 » 15 Nov 2018, 13:56

between 21:57:24 and 21:58:03 639 disconnection happened at this rate more than 50.000 disconnection should be happening but whole hour 7.871 user got disconnected. Business owners are following user count every day of the minutes and seconds. When user count drops more than 500
this fast, something must be going wrong either in network or somewhere I can say it should be normal. This was not happening up until this saturday only thing different I did saturday I was I made new jks file under jetty/etc file.

thanks
User avatar
Lapo
Site Admin
Posts: 20761
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Users getting disconnected huge amount

Postby Lapo » 15 Nov 2018, 14:58

ekrem5353 wrote:between 21:57:24 and 21:58:03 639 disconnection happened at this rate more than 50.000 disconnection should be happening but whole hour 7.871 user got disconnected. Business owners are following user count every day of the minutes and seconds.

I am sorry, I am not sure what you're trying to say here.
In an hour you counted 7.871 disconnections. Did you also count the new connections?

When user count drops more than 500
this fast, something must be going wrong either in network or somewhere I can say it should be normal. This was not happening up until this saturday only thing different I did saturday I was I made new jks file under jetty/etc file.

Are you receiving complaints from your users saying that they loose connection unexpectedly?

Thanks
Lapo

--

gotoAndPlay()

...addicted to flash games
User avatar
ekrem5353
Posts: 88
Joined: 10 Dec 2015, 15:50

Re: Users getting disconnected huge amount

Postby ekrem5353 » 26 Nov 2018, 06:35

Yes, I get complaints that they get disconnected unexpectedly. Sometimes it happens to me too out of nowhere I get disconnected. At disconnection server event I write trace

ClientDisconnectionReason reason =(ClientDisconnectionReason) params.getParameter(SFSEventParam.DISCONNECTION_REASON);
trace("User ",user.getName() , " disconnected because of ", reason);

it says UNKNOWN this is one problem but there is a bigger problem that is sometimes this happens around 1000+ users in a minute. And I can not tell the reason whether it is related to hosting or software related. I need to find the reason is there any suggestions how I could find it.

Thanks
User avatar
Lapo
Site Admin
Posts: 20761
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Users getting disconnected huge amount

Postby Lapo » 26 Nov 2018, 09:02

In the log excerpt you showed us, there are no other exceptions that suggest ongoing server issues so I don't see any reason to think the server is actively killing connections (which is something it never does, to begin with)

You posted two pictures of the admin tool but they were cut and we could not see all the values in the boxes on the right side.
I would like to see the "server queues" tab of the dashboard too, before and after the disconnections.

Can you describe how the Firebase integration work with SFS2X?

Thanks
Lapo

--

gotoAndPlay()

...addicted to flash games
User avatar
ekrem5353
Posts: 88
Joined: 10 Dec 2015, 15:50

Re: Users getting disconnected huge amount

Postby ekrem5353 » 26 Nov 2018, 10:50

Hi,

I wanted to make a singleton Firebase class so I put it under SmartFoxServer_2X\SFS2X\extensions\__lib__ named it FireBaseMessage.jar
so I can call it from all zones. But I see it creates lots of threads


Class has this method

Code: Select all

public  ApiFuture<String> sendPushNotification(String topic, String title, String content, MobileApps appName) {


        Notification pushNotification  = new Notification(title, content);
        Message message= Message.builder().setNotification(pushNotification)
                .setAndroidConfig(AndroidConfig.builder().setNotification(AndroidNotification.builder().setSound("default").build()).build())
                .setApnsConfig(ApnsConfig.builder().setAps(Aps.builder().setSound("default").build()).build())
                .setTopic(topic)
                .build();

        ApiFuture<String> response = null;
        try {
            FirebaseApp app = FirebaseApp.getInstance(appName.getAppname());
            response = FirebaseMessaging.getInstance(app).sendAsync(message);
        } catch (Exception e) {
            e.printStackTrace();
            //response = e.getMessage();
        }
        return response;
    }
   


I am using it to call all users to game. Come and play again. There are about million registered users so I cant use it for all the zones. This is actually a problem too.
If I send couple of thousands users messages (obviously if I send all users million threads would crush everything). It creates new threads and after that those threads disappears.
But sometimes they stuck. (dont get distroyed maybe something causes them to stick around)

Actually I need to find a solution for this too. When user enters to room I need to send his/her friends message saying your friend is playing at such game. Basically I need to send lots of messages but
Firebase creates lots of threads.


And another thing sometimes when I stop and start server that day I get lots of complaints that they are getting disconnected and I stop and start server againg complaints stop.For example this saturday morning
I stopped and started the server I got lots of complaints and even huge amount of disconnections at night but next morning (sunday morning) I stopped and started the server again after that complaints stopped till now even
there is not huge disconnections (thousand+ users disconnecting in a minute)

Thanks
User avatar
Lapo
Site Admin
Posts: 20761
Joined: 21 Mar 2005, 09:50
Location: Italy

Re: Users getting disconnected huge amount

Postby Lapo » 26 Nov 2018, 15:06

Unfortunately I have no experience with Firebase but it seems it's causing some problems, and it's likely the cause of your issues if interferes with SmartFoxServer.

One suggestion would be not to integrate Firebase with SFS2X directly (i.e. via Extension) but rather run it in its own JVM and then simply exchange messages between the two. In other words when you need to trigger messages from SFS2X to Firebase you just send a request to it.

This way you could even run Firebase on a separate machine so that it can eat up as many resources as it needs :)

Hope it helps
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: No registered users and 14 guests