Tournament thread exception

For discussion of the Poker Mavens server module and other administration topics
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Tournament thread exception

Post by Kent Briggs »

aldoraine80 wrote:should I simply write it down and post it here in your support forum?
Just jot down multiple load snapshots and email them to me. Enough data points to plot a graph to see if it's linear. Something like:

Time: 12:00 pm, Logins: 0, CPU: 0%, Memory: 4910K, Threads: 7
Time: xx:xx pm, Logins: 20, CPU: x%, Memory: xxxxK, Threads: xx
...
Time: xx:xx pm, Logins: 160, CPU: xx%, Memory: xxxxxK, Threads: xxx
Time: xx:xx pm, Logins: 180, CPU: xx%, Memory: xxxxxK, Threads: xxx

They don't have to be spaced evenly apart like that, but should be in chronological order. It would also be good to see the numbers after a big tournament to see if they go back down as players leave.
aldoraine80
Posts: 30
Joined: Mon Feb 11, 2013 9:33 am

Re: Tournament thread exception

Post by aldoraine80 »

Time: 18:30 pm, Logins: 1, CPU: <0,1%, Memory: 65676K, Threads: 158
Time: 18:45 pm, Logins: 4, CPU: <0,1%, Memory: 65732K, Threads: 170
Time: 19:00 pm, Logins: 4, CPU: <0,1%, Memory: 65728K, Threads: 166
Time: 19:15 pm, Logins: 5, CPU: <0,1%, Memory: 65716K, Threads: 162
Time: 19:30 pm, Logins: 8, CPU: <0,1%, Memory: 66740K, Threads: 174
Time: 19:45 pm, Logins: 12, CPU: <0,1%, Memory: 66784K, Threads: 176
Time: 20:00 pm, Logins: 16, CPU: <0,1%, Memory: 67372K, Threads: 185
Time: Beginn, Logins: 16, CPU: <0,1%, Memory: 88520K, Threads: 357
Time: 20:05 pm, Logins: 16, CPU: <0,1%, Memory: 83592K, Threads: 281
Time: 20:15 pm, Logins: 16, CPU: <0,1%, Memory: 83048K, Threads: 273
Time: 20:30 pm, Logins: 13, CPU: <0,1%, Memory: 82924K, Threads: 271
Time: 20:45 pm, Logins: 9, CPU: <0,1%, Memory: 82788K, Threads: 269
Time: 21:00 pm, Logins: 8, CPU: <0,1%, Memory: 82528K, Threads: 265
Time: 21:15 pm, Logins: 8, CPU: <0,1%, Memory: 82644K, Threads: 269
Time: 21:30 pm, Logins: 7, CPU: <0,1%, Memory: 82256K, Threads: 263
Time: 21:45 pm, Logins: 5, CPU: <0,1%, Memory: 82192K, Threads: 262
Time: 22:00 pm, Logins: 4, CPU: <0,1%, Memory: 82124K, Threads: 261
Time: 22:15 pm, Logins: 1, CPU: <0,1%, Memory: 75352K, Threads: 159
Time: 22:30 pm, Logins: 0, CPU: <0,1%, Memory: 75160K, Threads: 156
Time: 23:00 pm, Logins: 0, CPU: <0,1%, Memory: 75160K, Threads: 159
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Tournament thread exception

Post by Kent Briggs »

aldoraine80 wrote:Time: 18:30 pm, Logins: 1, CPU: <0,1%, Memory: 65676K, Threads: 158
How many ring games and tournaments do you have online?
aldoraine80
Posts: 30
Joined: Mon Feb 11, 2013 9:33 am

Re: Tournament thread exception

Post by aldoraine80 »

There are 84 Ring Game tables online. The tables are always empty.

But what's up with the memory usage.

Before: 65676K
After tournament: 75160K
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Tournament thread exception

Post by Kent Briggs »

aldoraine80 wrote:There are 84 Ring Game tables online. The tables are always empty.
Each one still has a running thread, even if no one is seated. Each tournament also uses a thread plus one for each table when running.
But what's up with the memory usage.

Before: 65676K
After tournament: 75160K
How many players were logged in at those two times?
aldoraine80
Posts: 30
Joined: Mon Feb 11, 2013 9:33 am

Re: Tournament thread exception

Post by aldoraine80 »

Okay, I think it's better to delete the ring game tables.
Kent Briggs wrote:
But what's up with the memory usage.

Before: 65676K
After tournament: 75160K
How many players were logged in at those two times?
Time: 18:30 pm, Logins: 1, CPU: <0,1%, Memory: 65676K, Threads: 158
Time: 23:00 pm, Logins: 0, CPU: <0,1%, Memory: 75160K, Threads: 159

Oh sorry, that was german time format.
Time: 06:30 pm, Logins: 1, CPU: <0,1%, Memory: 65676K, Threads: 158
Time: 11:00 pm, Logins: 0, CPU: <0,1%, Memory: 75160K, Threads: 159
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Tournament thread exception

Post by Kent Briggs »

aldoraine80 wrote: Time: 06:30 pm, Logins: 1, CPU: <0,1%, Memory: 65676K, Threads: 158
Time: 11:00 pm, Logins: 0, CPU: <0,1%, Memory: 75160K, Threads: 159
Could be a memory leak. I would have expected the memory usage to follow along with the thread count. Keep an eye on that over time to see if it keeps increasing.
aldoraine80
Posts: 30
Joined: Mon Feb 11, 2013 9:33 am

Re: Tournament thread exception

Post by aldoraine80 »

Three small tournaments later it looks like that:

That was friday:
Time: 06:30 pm, Logins: 1, CPU: <0,1%, Memory: 65676K, Threads: 158
Time: 11:00 pm, Logins: 0, CPU: <0,1%, Memory: 75160K, Threads: 159

And this is now (monday):
Time: 06:00 pm, Logins: 3, CPU: <0,1%, Memory: 89984K, Threads: 164

It's increasing. Maybe there is really a memory leak. Our regular league tournaments are pausing because the last two big league tournaments crashed.

Today at 8pm is a bigger test tournament. I hope that we have much participants. I will collect data from now on.
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Tournament thread exception

Post by Kent Briggs »

aldoraine80 wrote:It's increasing. Maybe there is really a memory leak.
I'll run some tests and see if I can duplicate that.
aldoraine80
Posts: 30
Joined: Mon Feb 11, 2013 9:33 am

Re: Tournament thread exception

Post by aldoraine80 »

More data from yesterday and today morning:

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