Server crashing after the windows update

Report bugs found in Poker Mavens

Re: Server crashing after the windows update

Postby mantux5 » Mon Jun 08, 2015 2:27 pm

Kent Briggs wrote:I found the code where this address is. It may or may not have anything to do with your issues but I see a potential problem there so I'll clean that up and put it in 4.40 later this week.


I believe, this is not the cause of the crash. Now the server crashed again, and nothing at all in the Error Log.
mantux5
 
Posts: 70
Joined: Fri Apr 03, 2015 1:33 pm

Re: Server crashing after the windows update

Postby mantux5 » Mon Jun 08, 2015 2:45 pm

Also, could you tell me what is the difference between 32-bit and 64-bit versions of the software regarding performance and capability of using more resources if needed. Another thing that interests me - are API requests multi-threaded? Or is there only one thread serving all the API requests?
mantux5
 
Posts: 70
Joined: Fri Apr 03, 2015 1:33 pm

Re: Server crashing after the windows update

Postby Kent Briggs » Mon Jun 08, 2015 2:50 pm

mantux5 wrote:Also, could you tell me what is the difference between 32-bit and 64-bit versions of the software regarding performance and capability of using more resources if needed. Another thing that interests me - are API requests multi-threaded? Or is there only one thread serving all the API requests?


The 64-bit edition (Gold only) has access to all available memory whereas the 32-bit edition can't use more than 4 GB (actually less than 3 after reserved areas are taken into account). That's the only difference between 32-bit and 64-bit.

Everything is multi-threaded, including the API.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3803
Joined: Wed Mar 19, 2008 8:47 pm

Re: Server crashing after the windows update

Postby mantux5 » Mon Jun 08, 2015 3:09 pm

Thank you for your response :) So upgrading to a Gold license and 64-bit server won't really improve anything, as server never uses more than 1GB of RAM :/

I hope eventually you will be able to find the cause of this constant crashing. I wish I could help more...

The only reasonable explanation would be some sort of corrupted data sent from the client which causes the server to freeze. Well, but this is just my thought, as I never created something like this software.
mantux5
 
Posts: 70
Joined: Fri Apr 03, 2015 1:33 pm

Re: Server crashing after the windows update

Postby Kent Briggs » Mon Jun 08, 2015 4:18 pm

mantux5 wrote:I wish I could help more...


One thing you could do is use Perfmon (the performance monitor included in Windows) to log the CPU, memory, and thread count used by PMServer every second. And then see if there is any correlation between those numbers and a crash. The instructions for setting that up are as follows:

Start > Run > Perfmon

Select "Performance Monitor" under "Monitoring Tools".
Right-click that item and select New > Data Collector Set.
Name it "PMavens" (or whatever you want) and select the folder to save the data. Click Finish.

That will now appear under Data Collector Sets > User Defined.
Select PMavens and then double-click on "System Monitor Log" in the right pane.

Remove the default item in the list and click the Add button.
In the upper list, expand the list under "Process" and Ctrl-click to select the following three items:

%Process Time
Working Set-Private (memory)
Thread Count

In the lower list, find PMServer and select it.
Click Add then Ok.
Under Log format, change the format to comma separated so the log file can be viewed with a text editor.
Click Ok.
Right-click on "PMavens" and select Start.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3803
Joined: Wed Mar 19, 2008 8:47 pm

Re: Server crashing after the windows update

Postby Kent Briggs » Mon Jun 08, 2015 4:19 pm

mantux5 wrote:The only reasonable explanation would be some sort of corrupted data sent from the client which causes the server to freeze.


Or an intentional attack by a hacker that knows how to do that.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3803
Joined: Wed Mar 19, 2008 8:47 pm

Re: Server crashing after the windows update

Postby mantux5 » Mon Jun 08, 2015 4:35 pm

I've set up the Performance Monitor, so we'll see what it gives when server crashes again.

Kent Briggs wrote:Or an intentional attack by a hacker that knows how to do that.

Might be, but I highly doubt it, as it occurs just randomly, no specific time patterns or something. And if it would be an attack, I suppose that I won't be able to make the server working at all. (If I forgot to mention, everything seems to be working right now, only after some time of usage API keeps getting slower and slowed and eventually the server itself crashes)
mantux5
 
Posts: 70
Joined: Fri Apr 03, 2015 1:33 pm

Re: Server crashing after the windows update

Postby mantux5 » Wed Jun 10, 2015 3:12 pm

And it crashed again... This time I had Performance Monitor Running, and I hope it somehow will show you the problem hidden here.

The file is here: [deleted for privacy]
mantux5
 
Posts: 70
Joined: Fri Apr 03, 2015 1:33 pm

Re: Server crashing after the windows update

Postby Kent Briggs » Wed Jun 10, 2015 4:00 pm

mantux5 wrote:And it crashed again... This time I had Performance Monitor Running, and I hope it somehow will show you the problem hidden here.


Something started happening shortly after the 23:02:00 mark on 06/10/2015. Your thread count had consistently been in the 400's and 500's the previous 24 hours but it start rising about then for a minute and a half until it hit 1365 at the 23:03:45 mark. At that point your CPU% shot up from single digits to 3 digits. Were you monitoring your site at the time of the crash? What was the player load at the time? I'd like to see your error log and event log from the time of the last restart to the crash. But send the link via email.

Also keep that perfmon going (but you can delete the existing file to start fresh). If it crashes again we can see if the same pattern occurs.
Kent Briggs - [email protected]
Briggs Softworks - http://www.briggsoft.com
Kent Briggs
Site Admin
 
Posts: 3803
Joined: Wed Mar 19, 2008 8:47 pm

Re: Server crashing after the windows update

Postby mantux5 » Wed Jun 10, 2015 4:47 pm

I've sent you the event log and error log of that day. You can easily find the times by looking at the ones at the Perfmon file.

I have never thought about monitoring the amount of users playing on the site at that moment. However, I have google analytics on my website, however, it does not show any big traffic increase.
mantux5
 
Posts: 70
Joined: Fri Apr 03, 2015 1:33 pm

Previous

Return to Bugs

Who is online

Users browsing this forum: No registered users and 2 guests

cron