Yet another Plex media server freezes constantly for no reason

So far, after disabling Webhooks for my server I’ve not had the lockup. Not quite at 24hrs of uptime yet and it’s a few hours from when it normally happens, but if I can get another 12 hours out of it I’d be happy that doing that has solved the issue.

Will update soon.

I am also having same issues. Server crashing while watching movies and I am using PMS MAC and version is Version 1.39.1.2763-300bb607.

I will also try to disable below and try.

Settings / Server / General / “Push Notifications”
Settings / Server / Network (with Show Advance) / “Webhooks”

Previously running Plex for FreeBSD 1.23.2.4656, I had been experiencing mysterious occasional lockups requiring a server restart in the early morning hours. It might happen once or twice a week, but infuriatingly, it would often happen again shortly after a restart.

The problem manifests itself as clients going yellow-exclamation-mark on all the libraries in clients. When logged in via app.plex.tv Plex Web, the server goes from green lock-in-circle to red exclamation. The server is live on a real IP, static IPv4, on the Internet. There’s no firewall, no NAT involved. The host hasn’t been rebooted, and has been configured the same way for nearly a decade. The daemons are still running on the backside, and usually it is possible to connect to the IP:32400/web directly.

This morning, it kept locking up on a very quick cycle, and after several restarts, I updated to 1.25.3.5385, hoping for a quick and easy fix. No such luck. After letting it do its database migrations for quite some time, it came online, and then quickly locked up again. I spent some time, found this thread, disabled webhooks, killed an old iOS sync job, no joy.

So I sat there watching various things, and I noticed that the DVR was downloading its schedule, would get to about 98%, and then that was when everything was going to hell. This was consistent through several additional server restarts.

I removed the DVR. Things got substantially better. Perhaps not fixed entirely. I did see the client here go all yellow-exclamation for several minutes, but it then CAME BACK without a server restart. I wasn’t able to identify why.

this only issue being that once the server is in bad shape, I can’t get to the X-Plex-Token. So I just opened the url you want once I restarted and I’ll just have to reload the page I guess when it crashes again. I am right?

You’ll want to have your token at the ready to use when your server is misbehaving.

1 Like

I can confirm that after disabling Webhooks on my PMS, which I didn’t use for anything anyway, I’ve had no issues with uptime.

This url doesn’t answer either :smirk:

This is when your server is not responding but still running? Is there an error code? You’ve attempted this on browser that is on the same machine as your server?

Plex Media Server Logs_2022-01-08_11-05-03.zip (2.3 MB)

Disabling the options didn’t fix the issue. Can’t watch a movie fully and it crashes. This is very annoying. Used to work for years without any issues.

I have uploaded the logs and let me know when a fix is available.

yes, “localhost”. There is no error, the browser is attempting to establish the connection. I can curl to get you something more definitive (my guess is that the port listener is down.)

@Atomatth
>curl http://localhost:32400/connections\?X-Plex-Token\=…
curl: (28) Failed to connect to localhost port 32400: Operation timed out

(every time)

Any news on this?

Are you still having issues with the server access ? The logs you uploaded had debug logging disabled ! See Reporting issues with Plex Media Server | Plex Support

If you still have issues on the current releases please run with debug logging enabled - restart the server after enabling debug logging and capture logs zip and upload after next occurrence

Are you still having issues

The timeout on this indicates the server was down and not running in a deadlocked state

Please get fresh debug server logs of new occurrences of hangs / crashes when running the current release

Thanks

Could I have fresh debug server logs of the problems you have now please

Attached logs as its happened overnight by the look of it
Archive.zip (1.6 MB)

Thank You

There was a crash at Mar 23, 2022 22:01:35 and I have located the crash dump

I have also located other crash reports - do you happen to have any logs saved that cover these times
Mar 18, 2022 23:08
Mar 15, 2022 23:40
Mar 12, 2022 20:02

The dump for the 23rd does not give complete backtrace and I am hoping that it may be similar to the 18th March crash which has a better dump file

Nothing specific for those time dates but I have exported all the logs going back to Feb
There was another crash overnight aswell so you should have another fresh crash
Logs.zip (3.6 MB)

Thanks - I can see crashes occurred at these times
Mar 25, 2022 01:10:16
Mar 21, 2022 23:19:23
Mar 20, 2022 21:28:09

The Plex Media Server main log files cover Mar 24, 2022 19:27 to Mar 25, 2022 10:15:04
so covering the crash at Mar 25, 2022 01:10:15
The crash reporting uploads do not always succeed - even when logging it as successful

Could you in terminal session find the $TMPDIR for the Plex Media Server user account an see if you can find files named

40016988-60BD-4AD5-B7DE-71F27A8D9EEE
DBEFB983-6573-4551-B04F-51CFD3BAC536
49BEA53D-4D6D-45B1-B158-BD0731A43326

If you find any please zip and upload
Thanks

Please can you confirm how I do this? Looked for some kind of guide but struggled to find one