Page 1 of 4

Tournament thread exception

Posted: Mon Jan 06, 2014 2:27 pm
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?

Re: Tournament thread exception

Posted: Mon Jan 06, 2014 2:34 pm
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.

Re: Tournament thread exception

Posted: Mon Jan 06, 2014 2:39 pm
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?

Re: Tournament thread exception

Posted: Mon Jan 06, 2014 3:18 pm
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?

Re: Tournament thread exception

Posted: Mon Jan 06, 2014 3:21 pm
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.

Re: Tournament thread exception

Posted: Mon Jan 06, 2014 3:22 pm
by aldoraine80
Which setting is recommended?

Re: Tournament thread exception

Posted: Mon Jan 06, 2014 3:37 pm
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.

Re: Tournament thread exception

Posted: Tue Jan 07, 2014 6:49 am
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?

Re: Tournament thread exception

Posted: Tue Jan 07, 2014 10:36 am
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.

Re: Tournament thread exception

Posted: Tue Jan 07, 2014 11:58 am
by aldoraine80
Okay Kent, thank you. ;)