WSServerConnect error: Out of memory

Report bugs found in Poker Mavens
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: WSServerConnect error: Out of memory

Post by Kent Briggs »

BitingBummer wrote:I'm running Poker Mavens 4.04 Gold.
Patch up to 4.36 immediately. I've made several security enhancements since 4.04 that should help.
Max FP connections per IP 2
I would raise this to at least 6 since a lot of browsers will make that many connections to retrieve all the various media files.
BitingBummer
Posts: 66
Joined: Thu Feb 13, 2014 1:15 pm

Re: WSServerConnect error: Out of memory

Post by BitingBummer »

Kent Briggs wrote:
BitingBummer wrote:I'm running Poker Mavens 4.04 Gold.
Patch up to 4.36 immediately. I've made several security enhancements since 4.04 that should help.
Max FP connections per IP 2
I would raise this to at least 6 since a lot of browsers will make that many connections to retrieve all the various media files.
Can you list some of the changes? So I'll know what are the impacts.

Also, have you heared about CloudFlare? Is it relevant to our case?
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: WSServerConnect error: Out of memory

Post by Kent Briggs »

BitingBummer wrote:Can you list some of the changes? So I'll know what are the impacts.
Revision history: http://www.briggsoft.com/pmavens_rh.htm
Also, have you heared about CloudFlare? Is it relevant to our case?
Yes, they are a well known anti-DOS service.
BitingBummer
Posts: 66
Joined: Thu Feb 13, 2014 1:15 pm

Re: WSServerConnect error: Out of memory

Post by BitingBummer »

Kent Briggs wrote:
BitingBummer wrote:Can you list some of the changes? So I'll know what are the impacts.
Revision history: http://www.briggsoft.com/pmavens_rh.htm
Also, have you heared about CloudFlare? Is it relevant to our case?
Yes, they are a well known anti-DOS service.
Does their service work well with poker mavens?
I read on their website that they don't normally support websockets but their enterprise version. Poker mavens uses websockets, right?
Moreover, Since they route the packets to the server, I assume that the received packet is received from their IP and not the real IP of the client. More than that,
everybody are going to have the same IP address. Am I wrong?
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: WSServerConnect error: Out of memory

Post by Kent Briggs »

BitingBummer wrote:I read on their website that they don't normally support websockets but their enterprise version. Poker mavens uses websockets, right?
Moreover, Since they route the packets to the server, I assume that the received packet is received from their IP and not the real IP of the client. More than that,
everybody are going to have the same IP address. Am I wrong?
You definitely need a service that supports websocket connections. Poker Mavens has a "Proxy IP header" setting so if you get your proxy service to include a header with the user's actual IP address then you can still enforce the no duplicate IP feature. I don't know what CloudFlare's capabilities are, however, in regards to either of those things.
BitingBummer
Posts: 66
Joined: Thu Feb 13, 2014 1:15 pm

Re: WSServerConnect error: Out of memory

Post by BitingBummer »

Another issue,
How can I run the server with more than 200 people online?
When the server reaches 200 people that are logged in, it crashes.
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: WSServerConnect error: Out of memory

Post by Kent Briggs »

BitingBummer wrote:How can I run the server with more than 200 people online?
You would likely need a dedicated server with fast, multi-core CPU, lots of memory, and a gigabit internet connection. You might be able to get around 500 connections that way. Otherwise, you would need to split your site across multiple servers with additional licenses and some kind of central login system (that you would need to code yourself).
BitingBummer
Posts: 66
Joined: Thu Feb 13, 2014 1:15 pm

Re: WSServerConnect error: Out of memory

Post by BitingBummer »

Kent Briggs wrote:
BitingBummer wrote:How can I run the server with more than 200 people online?
You would likely need a dedicated server with fast, multi-core CPU, lots of memory, and a gigabit internet connection. You might be able to get around 500 connections that way. Otherwise, you would need to split your site across multiple servers with additional licenses and some kind of central login system (that you would need to code yourself).
I have a very strong server.
Xeon X5630
48GB Ram
1Gbit

Maybe it's because I'm running the 32bit client?
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: WSServerConnect error: Out of memory

Post by Kent Briggs »

BitingBummer wrote:Maybe it's because I'm running the 32bit client?
You said earlier that you were running the 64-bit Gold version.
BitingBummer
Posts: 66
Joined: Thu Feb 13, 2014 1:15 pm

Re: WSServerConnect error: Out of memory

Post by BitingBummer »

Kent Briggs wrote:
BitingBummer wrote:Maybe it's because I'm running the 32bit client?
You said earlier that you were running the 64-bit Gold version.
I didn't notice I misled you.
Post Reply