pmserver crashes when tournaments are running

Report bugs found in Poker Mavens
elia.nm07
Posts: 32
Joined: Tue Jun 18, 2019 3:58 am

pmserver crashes when tournaments are running

Post by elia.nm07 »

Hello friends
I have pmserver 6.09 gold
running on this vps configuration

windows server 2016 r2
6core cpu
16 gig ram
250 GB ssd

ssl with cloudflare

i have 150 cash games online and about 48 online tournament that each will run each 2weeks(has recure time)
tournaments have disconnect protection

these picture shows the log file
and the status of reources at crash time
i really dont know how to solve this issue please help me
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: pmserver crashes when tournaments are running

Post by Kent Briggs »

Too many threads running is often the cause of server crashes, not CPU or Memory use. So keep an eye on the thread count for PMServer.exe, which is affected by logins, ring tables, tournaments, and each table in a running tournament.
elia.nm07
Posts: 32
Joined: Tue Jun 18, 2019 3:58 am

Re: pmserver crashes when tournaments are running

Post by elia.nm07 »

i reduce the ring game and tourney and now thing are better ,tnx alot
but in the error log i have a few log
timerThread.Execute Error
or
WSServerExecute error vilation access at address 0000000000008D4CDB

what are these ?
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: pmserver crashes when tournaments are running

Post by Kent Briggs »

elia.nm07 wrote:WSServerExecute error vilation access at address 0000000000008D4CDB
That address in 6.09 points to some Indy socket code related to OpenSSL. Are these ongoing errors or just an isolated incident?
elia.nm07
Posts: 32
Joined: Tue Jun 18, 2019 3:58 am

Re: pmserver crashes when tournaments are running

Post by elia.nm07 »

no this error doesnt make any crashes , but i have an eye on the log ,i want toknow that can these error make a crash ?
or these are noraml ?
does these has any solutions ?
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: pmserver crashes when tournaments are running

Post by Kent Briggs »

Haven't seen that OpenSSL error before so no idea what that is about. I've had a few reports of the timerthread error. Seems to happen on player disconnects during some cleanup code. I'm still trying to hunt that down. Doubtful either one would cause a crash, though.
elia.nm07
Posts: 32
Joined: Tue Jun 18, 2019 3:58 am

Re: pmserver crashes when tournaments are running

Post by elia.nm07 »

to day without any TimerThread.Execute or wssserver error
i suddenly crashed ,
i didnt set
max fp connections
max fp connections per ip
max pp connections per ip
max pp connections
dallow duplicateips
allow dupluicate pc

can these configrations make any sense ?

i also have
log balance change call back and hand event callback , can these call backs cause a not responding(crash)
i use both primary currency and secondary currency ,can use both currency together cause this issue ?
i use gold v6.09 , is there any change that v6.10 patch can solve the issue ?
Kent Briggs
Site Admin
Posts: 5878
Joined: Wed Mar 19, 2008 8:47 pm

Re: pmserver crashes when tournaments are running

Post by Kent Briggs »

Try setting to Max FP Connections to 1500 and Max PP Connections to 500. That will limit your connections to 2000 threads. If the callbacks had any issues you would see messages in the error log. Dual currencies would have no effect on server performance. You should always patch up to latest version available at http://www.briggsoft.com/patches.htm. By the way, you exposed your IP address in one of the screenshots above so I removed those. That kind of defeats the main benefit of using Cloudflare for DDOS protection. Speaking of that, check your Cloudflare anaytics log to see if there was an increase in activity around the time your server crashed.
elia.nm07
Posts: 32
Joined: Tue Jun 18, 2019 3:58 am

Re: pmserver crashes when tournaments are running

Post by elia.nm07 »

tnq very much but at the crash time my threads was only 950
elia.nm07
Posts: 32
Joined: Tue Jun 18, 2019 3:58 am

Re: pmserver crashes when tournaments are running

Post by elia.nm07 »

Hello dear , i set your config and now thing are much better , i had a few error log for but after that i switch off log event to file they are gone :)
i want to know that can the source issue of timerthread and wssserver excute error is logging event to file ? i had a lot of acitvities and i think may be writing to file from multiple threads can cause the error and finally the crash
when i switch them off all of them are gone
i want to know one another thing , does your product goes to not responding when we hahve nothing in error log ?
Post Reply