I've had some occasional weirdness lately where the server stops accepting new connections.
Anyone still connected is fine but anyone trying to make a new connection (or restore a dropped connection) is refused.
Nothing weird in the logs. A restart fixes it.
Like my stuck tournament bug, it's not a recurring thing.
There was only 12 logged in, 51 threads, 1 table running and 6 days uptime (since it last happened).
Any thoughts?
Server stopped responding
-
- Site Admin
- Posts: 5880
- Joined: Wed Mar 19, 2008 8:47 pm
Re: Server stopped responding
Do you have any connection/session limits set in your Server Settings group on the System tab?
Re: Server stopped responding
hxe - also replied to your other post about taking the server offline regarding this same problem.
Believe you're also running your server on linux in the cloud. On my unix server, I see this happen when the server has been running for 3+ days. Can't find a reason why this is happening, but I'm mitigating this issue by restarting the poker server in the morning before a poker night happens.
- J
Believe you're also running your server on linux in the cloud. On my unix server, I see this happen when the server has been running for 3+ days. Can't find a reason why this is happening, but I'm mitigating this issue by restarting the poker server in the morning before a poker night happens.
- J
Re: Server stopped responding
I don't. Based on @setspike's response though it may be an artifact of hosting on Linux.Kent Briggs wrote:Do you have any connection/session limits set in your Server Settings group on the System tab?
Is there a clean way via API to restart the server?
I noticed there's a restart function but it says that it doesn't orderly shut down.
Re: Server stopped responding
Thanks for this by the way.setspike wrote:hxe - also replied to your other post about taking the server offline regarding this same problem.
Believe you're also running your server on linux in the cloud. On my unix server, I see this happen when the server has been running for 3+ days. Can't find a reason why this is happening, but I'm mitigating this issue by restarting the poker server in the morning before a poker night happens.
- J
I honestly figured it was something like that since I didn't have any issues running it on Windows.
The fun of trying to avoid running Windows eh?
Do you have a clean way of restarting or do you do it by hand?
Re: Server stopped responding
Also if there's a way to edit posts I completely missed it.
Since this is running on something completely unsupported I don't expect you to try to figure out what's breaking.
But if you're curious I'll give you anything you like in terms of logs, access, etc.
Since this is running on something completely unsupported I don't expect you to try to figure out what's breaking.
But if you're curious I'll give you anything you like in terms of logs, access, etc.
Re: Server stopped responding
I don’t have a clean way of restarting by hand. And not sure how we would restart it via API as shutting down the server would also shutdown API access. I think for those of us running the server on linux, we’re going to be a little challenged in automating or restarting programmatically.
Re: Server stopped responding
There is an API call to restart the entire computer, but it doesn't cleanly shutdown PM.setspike wrote:I don’t have a clean way of restarting by hand. And not sure how we would restart it via API as shutting down the server would also shutdown API access. I think for those of us running the server on linux, we’re going to be a little challenged in automating or restarting programmatically.
I might have to resort to using something like that because it happened again after a day and Cloudflare never sent me an alert.
I was down for like 3 hours.
Either that or switch back to Windows *barf*
Re: Server stopped responding
I think I might rig something up with UptimeRobot where the linux server crons an API call into UptimeRobot to queue the status of PM.setspike wrote: I think for those of us running the server on linux, we’re going to be a little challenged in automating or restarting programmatically.
If it it's down, then just restart the linux server (since I have PM set to run automatically anyways)
The next time it happens I might see if PM's API works locally. If it does, I could easily just iterate anything that's running and shut it down cleanly (or as cleanly as I can). But I think if PM is "down" it's really "down" so it wouldn't respond to local API calls.
Also Kent, if you have a way of editing the title please feel free to add Linux to it. I don't think I have the capability to edit titles.
Re: Server stopped responding
hxe - Thought I would give you a quick update.
I noticed in the WINE logs some errors regarding the audio subsystem, so I set "Play login chime" to "No". Since then no server stalls. Running almost a week now without seeing the dreaded Websocket connection error. Not sure this was the culprit, but just wanted to let you know.
- setspike
I noticed in the WINE logs some errors regarding the audio subsystem, so I set "Play login chime" to "No". Since then no server stalls. Running almost a week now without seeing the dreaded Websocket connection error. Not sure this was the culprit, but just wanted to let you know.
- setspike