Tournament thread exception

For discussion of the Poker Mavens server module and other administration topics

Tournament thread exception

Postby aldoraine80 » Mon Jan 06, 2014 2:27 pm

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?
aldoraine80
 
Posts: 30
Joined: Mon Feb 11, 2013 9:33 am

Re: Tournament thread exception

Postby Kent Briggs » Mon Jan 06, 2014 2:34 pm

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.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3820
Joined: Wed Mar 19, 2008 8:47 pm

Re: Tournament thread exception

Postby aldoraine80 » Mon Jan 06, 2014 2:39 pm

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?
aldoraine80
 
Posts: 30
Joined: Mon Feb 11, 2013 9:33 am

Re: Tournament thread exception

Postby Kent Briggs » Mon Jan 06, 2014 3:18 pm

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?
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3820
Joined: Wed Mar 19, 2008 8:47 pm

Re: Tournament thread exception

Postby aldoraine80 » Mon Jan 06, 2014 3:21 pm

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

Postby aldoraine80 » Mon Jan 06, 2014 3:22 pm

Which setting is recommended?
aldoraine80
 
Posts: 30
Joined: Mon Feb 11, 2013 9:33 am

Re: Tournament thread exception

Postby Kent Briggs » Mon Jan 06, 2014 3:37 pm

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.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3820
Joined: Wed Mar 19, 2008 8:47 pm

Re: Tournament thread exception

Postby aldoraine80 » Tue Jan 07, 2014 6:49 am

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?
aldoraine80
 
Posts: 30
Joined: Mon Feb 11, 2013 9:33 am

Re: Tournament thread exception

Postby Kent Briggs » Tue Jan 07, 2014 10:36 am

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.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3820
Joined: Wed Mar 19, 2008 8:47 pm

Re: Tournament thread exception

Postby aldoraine80 » Tue Jan 07, 2014 11:58 am

Okay Kent, thank you. ;)
aldoraine80
 
Posts: 30
Joined: Mon Feb 11, 2013 9:33 am

Next

Return to Site Administration

Who is online

Users browsing this forum: No registered users and 6 guests