Live deployment of SFX2x (2000+ CCU) - Report and Questions.

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
Fraggle
Posts: 62
Joined: 02 Apr 2010, 06:41
Location: Paris, France

More users than sessions

Postby Fraggle » 17 Jul 2011, 04:20

Hi again,

I would really appreciate some feedback from the smartfox team on my issues.

At the moment (after 3 days uptime) I got 1050 CCU wich is the same as the number of sessions displayed on the admin panel, but I got 2600 "users logged in". I really don't understand what can cause this issue.
When I start the server, both numbers are really close.

Thanks,

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

Postby Lapo » 18 Jul 2011, 08:24

Yes thanks,
this is a known bug with the admin tool, it's going to be fixed soon
Lapo
--
gotoAndPlay()
...addicted to flash games
User avatar
Fraggle
Posts: 62
Joined: 02 Apr 2010, 06:41
Location: Paris, France

Postby Fraggle » 18 Jul 2011, 11:47

Hi Lapo,

Thanks for the quick response, but can you also checkout my other questions ?

I have tweaked the various threads values but the server still "lock" at some point, not processing any new incoming connexion, with a bunch of:

Code: Select all

18 Jul 2011 14:40:17,474 WARN  [Scheduler1-thread-1] bitswarm.sessions.DefaultSessionManager     - Failed closing connection while removing idle Session: { Id: 164, Type: DEFAULT, Logged: No, IP: 192.168.2.82:11149 }


Those exceptions never happen when the server is running smoothly.

Can you point me in the right direction or give me some clues about where to look?

Thanks,

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

Postby Lapo » 22 Jul 2011, 07:44

If the server "locks" you should create a thread dump and see what's happening or send it to us.
Use jconsole or VisualVM to create a dump.

Those error messages are not so bad, they can happen due to network errors. They can't be responsible for any errors.

Thanks.
Lapo

--

gotoAndPlay()

...addicted to flash games
User avatar
Fraggle
Posts: 62
Joined: 02 Apr 2010, 06:41
Location: Paris, France

Postby Fraggle » 22 Jul 2011, 07:54

Hi,

Our server is running on a remote linux. I cannot run any graphical tool.
Can you explain to me exactly how I can provide you with the necessary information ?

I dont know if it's of any interrest, but we noticed using strace during an issue that one of the java thread was cycling very very quickly with E_TIMEOUT on the same memory address, nothing like other threads.
I'm not a specialist of thoses low level stuff, so I may be saying something stupid there.

Thanks,

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

Postby Lapo » 22 Jul 2011, 14:07

You can obtain a full thread dump by sending kill -SIGQUIT to the process (under Linux/Unix)
Lapo

--

gotoAndPlay()

...addicted to flash games
User avatar
Fraggle
Posts: 62
Joined: 02 Apr 2010, 06:41
Location: Paris, France

Postby Fraggle » 22 Jul 2011, 15:03

To the main process or to each threads one by one (there can be a few of them :)) ?

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

Postby Lapo » 23 Jul 2011, 10:17

Main process, threads live in the JVM and you can't see them from outside. And by "outside" I mean the OS. Ok?

You go with ---> kill -SIGQUIT <processId>
Lapo

--

gotoAndPlay()

...addicted to flash games

Return to “SFS2X Questions”

Who is online

Users browsing this forum: Bing [Bot], Google [Bot] and 30 guests