Site Freezing and Odd Behavior
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Site Freezing and Odd Behavior
Change it to 2 and see if that makes any difference.
Re: Site Freezing and Odd Behavior
We will.
We just experienced an extended outage as our admins were unavailable for a period of about 20-25 minutes. It's safe to say that [a] the server never recovers and the PM_timer thread dies without any stack trace, error logging, etc.
The latter seems very odd to me, particularly given what you said about expecting there to be a stack trace in the error log. What could possibly be causing a quiet death on that thread? Is there any way to ensure that this thread dying actually logs something so we can begin to unravel this issue???
We just experienced an extended outage as our admins were unavailable for a period of about 20-25 minutes. It's safe to say that [a] the server never recovers and the PM_timer thread dies without any stack trace, error logging, etc.
The latter seems very odd to me, particularly given what you said about expecting there to be a stack trace in the error log. What could possibly be causing a quiet death on that thread? Is there any way to ensure that this thread dying actually logs something so we can begin to unravel this issue???
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Site Freezing and Odd Behavior
Don't know (yet) but I'll be looking closer at that clean-up code especially if changing it back to the default setting makes a difference for you.
Re: Site Freezing and Odd Behavior
Thanks. We'll keep an eye on it and let you know if we run clean for a while.
Re: Site Freezing and Odd Behavior
The change on the timeout has not stopped the behavior. We have built a watchdog that now monitors for that thread to die and then alert, which we'll soon have automatically restart the service. This is far from ideal, but at least minimizes our downtime, in theory -- although I believe your server still requires a manual restart through the admin, i.e., the API doesn't support stop/start, yet.
That said, I would still like to understand how that thread is dying without an error being logged. You mentioned moving to a new logging approach -- might it simply be failing? Or, is there something unexpected in your code path? Having a stack trace would be extremely useful. Have you made any progress on understanding this?
That said, I would still like to understand how that thread is dying without an error being logged. You mentioned moving to a new logging approach -- might it simply be failing? Or, is there something unexpected in your code path? Having a stack trace would be extremely useful. Have you made any progress on understanding this?
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Site Freezing and Odd Behavior
There is an "Auto start at bootup" setting but it requires an actual reboot, not just an manual service start.
That makes two of us.That said, I would still like to understand how that thread is dying without an error being logged.
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Site Freezing and Odd Behavior
Please contact me via email with your license key and mention this thread. I've prepared a beta update with extra error trapping in the timer thread and would like to see if it gets triggered.
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Site Freezing and Odd Behavior
Correction: manually starting the service by any method other than the PM Service Manager will cause the poker server to go online if that setting is enabled. From a command line/batch file (under Windows Administrator privileges):Kent Briggs wrote: ↑Thu Sep 08, 2022 9:42 am There is an "Auto start at bootup" setting but it requires an actual reboot, not just an manual service start.
net start PokerMavens7
The service must have already been registered/installed. That can also be done from the command line:
PMService.exe /INSTALL /SILENT
Re: Site Freezing and Odd Behavior
Ah. That would explain some of the differences I'm seeing between our automatic restart of the service, which is done through Task Scheduler, and when I restart manually using the Service Manager because of a crash.
Thanks! We'll test this out.
Thanks! We'll test this out.