Tournament thread exception

For discussion of the Poker Mavens server module and other administration topics
aldoraine80
Posts: 30
Joined: Mon Feb 11, 2013 9:33 am

Tournament thread exception

Post by aldoraine80 »

Hi, today when our tournaments started we got the following exceptions and the tournaments were offline:

2014-01-06 20:00:20|Tournament thread exception for PPBL 2.Bundesliga 1/22: Thread creation error: Not enough storage is available to process this command
2014-01-06 20:00:29|Tournament thread exception for PPBL 1.Bundesliga 1/22: Thread creation error: Not enough storage is available to process this command

We are running Poker Mavens Pro 4.11.

Server:
AMD Athlon 64 X2 Dual Core 6000+
6 GB RAM
675 GB free disk space

Any suggestions?
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Tournament thread exception

Post by Kent Briggs »

Error message indicates out of memory. Check the Windows Task Manager and see what the actual memory usage and thread count is for PMServer.exe.
aldoraine80
Posts: 30
Joined: Mon Feb 11, 2013 9:33 am

Re: Tournament thread exception

Post by aldoraine80 »

163.000k and 432 threads at the moment, but I don't know how it was when the tournaments started. Approximately 200 players were online. Maybe we found the maximum player count for the 32bit version?
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Tournament thread exception

Post by Kent Briggs »

aldoraine80 wrote:163.000k and 432 threads at the moment, but I don't know how it was when the tournaments started. Approximately 200 players were online. Maybe we found the maximum player count for the 32bit version?
If you have enough bandwidth and CPU power you can get up to 400 or 500 players on 32-bit. Could be a rogue connection issue (connections create threads which use up memory). What do you have set for your "Max FP/PP connection" settings in the Server Settings group?
aldoraine80
Posts: 30
Joined: Mon Feb 11, 2013 9:33 am

Re: Tournament thread exception

Post by aldoraine80 »

Is there any thread limit? I can't believe that we have reached the limit of 4GB RAM.

Both values (Max FP/PP connections) are 0 in the server settings.
aldoraine80
Posts: 30
Joined: Mon Feb 11, 2013 9:33 am

Re: Tournament thread exception

Post by aldoraine80 »

Which setting is recommended?
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Tournament thread exception

Post by Kent Briggs »

There's no thread limit. You'll simply run out of ram if too many threads (a few thousand) are created. There should only be 1 packet port connection per player so you might set "Max PP connections" at 500. The browsers will open multiple file port connections for retrieving html and media files but they should be short lived. So something like 1000 or 1500 on the "Max FP connections" should be fine.
aldoraine80
Posts: 30
Joined: Mon Feb 11, 2013 9:33 am

Re: Tournament thread exception

Post by aldoraine80 »

Thank you very much Kent. I will try these settings on Thursday.

I can't check my setting for KeepAlive connections at the moment because I am at work. I think we use "No". Which one would you prefer or recommend in our situation?
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: Tournament thread exception

Post by Kent Briggs »

aldoraine80 wrote: I can't check my setting for KeepAlive connections at the moment because I am at work. I think we use "No". Which one would you prefer or recommend in our situation?
A well behaved browser will drop the file port connections after a couple of minutes of inactivity even with KeepAlive turned on so it probably doesn't matter. That particular setting just sends a return header and it's up to the browser to obey it or not. I would suggest enabling Connection Sweep Minutes to something like 10 or 15 minutes. That one will kill lingering connections from the server side.
aldoraine80
Posts: 30
Joined: Mon Feb 11, 2013 9:33 am

Re: Tournament thread exception

Post by aldoraine80 »

Okay Kent, thank you. ;)
Post Reply