Re: Disconnected Sessions stay active
Posted: Sat Aug 22, 2015 4:26 pm
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: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.
Ok, I see your point.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.
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: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.
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.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?