Page 4 of 4

Re: Tournament thread exception

Posted: Tue Jan 28, 2014 2:16 am
by aldoraine80
Sorry, I forgot the threads:

Time: 06:30 pm, Logins: 6, CPU: <0,1%, Memory: 90244K, Threads: 168
Time: 06:45 pm, Logins: 8, CPU: <0,1%, Memory: 90372K, Threads: 169
Time: 07:00 pm, Logins: 12, CPU: 0,1%, Memory: 91220K, Threads: 183
Time: 07:15 pm, Logins: 21, CPU: 0,1%, Memory: 91744K, Threads: 190
Time: 07:30 pm, Logins: 39, CPU: 0,2%, Memory: 95648K, Threads: 218
Time: 07:40 pm, Logins: 56, CPU: 0,2%, Memory: 93604K, Threads: 248
Time: 07:45 pm, Logins: 79, CPU: 0,5%, Memory: 101380K, Threads: 325
Time: 07:50 pm, Logins: 106, CPU: 0,4%, Memory: 103264K, Threads: 356
Time: 07:55 pm, Logins: 130, CPU: 0,3%, Memory: 105856K, Threads: 401
Time: 07:58 pm, Logins: 145, CPU: 0,4%, Memory: 106864K, Threads: 413
Time: 08:00 pm, Logins: 156, CPU: 0,6%, Memory: 106936K, Threads: 411
Time: Start of tournament, Logins: 161, CPU: 37%, Memory: 218048K, Threads: 1179
Time: 08:01 pm, Logins: 167, CPU: 54%, Memory: 220624K, Threads: 1235
Time: 08:05 pm, Logins: 174, CPU: 1,8%, Memory: 178060K, Threads: 611
Time: 08:30 pm, Logins: 146, CPU: 0,2%, Memory: 161432K, Threads: 437
Time: 09:00 pm, Logins: 117, CPU: 3,6%, Memory: 163252K, Threads: 473
Time: 00:30 am (after tournament), Logins: 0, CPU: 0,1%, Memory: 140980K, Threads: 156
Time: 06:00 am (this morning), Logins: 0, CPU: <0,1%, Memory: 140972K, Threads: 156

Re: Tournament thread exception

Posted: Tue Jan 28, 2014 3:55 pm
by Kent Briggs
What do you have set for "Max log items" in your Log Settings group?

Re: Tournament thread exception

Posted: Wed Jan 29, 2014 1:55 am
by aldoraine80
The default value 10000. After reducing it to 100 memory usage decreases from 140000KB to 139000KB. Not really much.

There is something I do not understand. Last year we had 66 tournaments with 160 to 198 participants. Always without any problems. With unlimited connection settings in PM.

This year we had 5 tournaments with similar participant count and it always crashed. Something must be different.

I am software developer and I am familiar with computers. One of the players in our league is a Windows system administrator who checked our server. he did not find any problems with the server itself.

Re: Tournament thread exception

Posted: Wed Jan 29, 2014 10:27 am
by Kent Briggs
aldoraine80 wrote:There is something I do not understand. Last year we had 66 tournaments with 160 to 198 participants. Always without any problems. With unlimited connection settings in PM.
What version were you using at that time? So far I've not been able to duplicate a memory leak by running tournaments. Next time you are down to 0 logins, take the server offline but leave the program running and check the numbers again. If the memory load stays high then just close and restart the program.

Re: Tournament thread exception

Posted: Wed Jan 29, 2014 11:08 am
by aldoraine80
Always the newest version. From 3.16 to 4.10 in 2013, but only two tournaments with 158 and 79 participants with 4.10. And in 2014 we use 4.11.

With 3.16 to 4.09: Everything worked fine.

4.11: does not work.

4.10: I don't know because we did not have enough participants.

--------------------------------------------------------------------------------------------------------------------------------------------

Before taking server offline: 140.972KB

After taking server offline: 129.688KB

After putting server online again: 142.108KB

After closing and restarting server: 25.380KB

After putting server online: 64228KB

Re: Tournament thread exception

Posted: Wed Jan 29, 2014 11:50 am
by Kent Briggs
aldoraine80 wrote:With 3.16 to 4.09: Everything worked fine.
Do you still have your 4.09 setup file so that you can go back? If not, email me with your license number. I'd like to confirm that the memory load did not grow over time under 4.09.
After putting server online: 64228KB
What is the total number of accounts, ring games, and tournaments (both offline and online)?

Re: Tournament thread exception

Posted: Wed Jan 29, 2014 12:08 pm
by aldoraine80
Kent Briggs wrote:What is the total number of accounts, ring games, and tournaments (both offline and online)?
1.137 accounts, 84 ring games and 94 tournaments (94 online)

Re: Tournament thread exception

Posted: Fri Jan 31, 2014 3:23 am
by aldoraine80
Same behavior with 4.10. From monday on we will try 4.09.

Re: Tournament thread exception

Posted: Fri Jan 31, 2014 5:07 pm
by Kent Briggs
aldoraine80 wrote:Same behavior with 4.10. From monday on we will try 4.09.
I found the memory leak. It's related to the login session of each player and goes all the way back to version 3.20. So I'll have a 3.xx and 4.xx fix out this weekend.

Re: Tournament thread exception

Posted: Mon Feb 03, 2014 8:00 am
by aldoraine80
Thank you Kent. We will try 4.12 today on our new (more powerful) server.