Disconnected Sessions stay active

Report bugs found in Poker Mavens

Re: Disconnected Sessions stay active

Postby mantux5 » Sat Aug 22, 2015 4:26 pm

Kent Briggs wrote:That misses the point of what has happened. The server has (likely) run out of system resources, which killed the system timers, and is now in an unstable state.

I'm sure that the server is not overloaded in my case. The resource usage never reaches even 30% of what we have allocated to our VM.

Kent Briggs wrote:Once a full minute has passed, the tournament is considered expired and won't start automatically. You could have been down for hours and the players all left. It wouldn't be fair to start a tournament and accept those buy-ins at that point.

Ok, I see your point.

Kent Briggs wrote:It shows if the problems are occurring at maximum load, indicating that you've overloaded your server with players, rather than it being some random bug or hacking attempt.

No, it does not. It would show just the number of threads and resources used increasing after the connections stopped getting closed properly. It is hard to determine when it started just from these logs.

Kent Briggs wrote:That issue will be addressed in version 5 when I convert everything to databases. In the mean time, I'd suggest you keep your own user database of players and then you can create/delete accounts on the fly as players log into and out of your web site. Otherwise Windows has to load 76K individual files into memory at startup. I suspect 90% of them are probably long abandoned anyway, right?

Well, when is Version 5 coming out? I think we could use your suggestion on handling players, but it's incorrect that 90% of these users are inactive.
mantux5
 
Posts: 70
Joined: Fri Apr 03, 2015 1:33 pm

Re: Disconnected Sessions stay active

Postby Kent Briggs » Sat Aug 22, 2015 5:07 pm

mantux5 wrote:It would show just the number of threads and resources used increasing after the connections stopped getting closed properly.


If it shows "Discon", the connection and associated thread have already closed automatically. The timer just cleans up the memory object (which is small) and clears it from the connection list.

Well, when is Version 5 coming out? I think we could use your suggestion on handling players, but it's incorrect that 90% of these users are inactive.


Probably not this year.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3826
Joined: Wed Mar 19, 2008 8:47 pm

Re: Disconnected Sessions stay active

Postby Kent Briggs » Tue Sep 22, 2015 4:08 pm

FYI, I've made a couple of changes in 4.43 that should help some of the issues you brought up. I replaced all the system timers with my own timer thread that should never stop. And I vastly improved the startup time for sites with large numbers of accounts.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3826
Joined: Wed Mar 19, 2008 8:47 pm

Re: Disconnected Sessions stay active

Postby mantux5 » Sun Sep 27, 2015 3:52 pm

Thank you! I noticed the update just today, but it's loading extremely fast. It took like 30 seconds to load all those accounts. I hope the new timer will improve the performance too :)
mantux5
 
Posts: 70
Joined: Fri Apr 03, 2015 1:33 pm

Re: Disconnected Sessions stay active

Postby Kent Briggs » Sun Sep 27, 2015 5:34 pm

mantux5 wrote:It took like 30 seconds to load all those accounts.


Note that it won't be that fast after a reboot. You're probably also getting the benefit of the Windows file cache. But it'll still be a lot faster than before.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3826
Joined: Wed Mar 19, 2008 8:47 pm

Previous

Return to Bugs

Who is online

Users browsing this forum: Bing [Bot] and 9 guests

cron