Random crashing

Server Version#: 1.29.1.6276
Player Version#: NA

Ubuntu server 18.04 bare metal install

A similar issue was happening on the previous version, server runs butter smooth for days (typically weeks if not months) then will decide to crap out randomly.
Before I was seeing a lot of SQL sleeping for 200ms due to a busy db (odd on an ssd) and still required a restart of the service in order to come back, now I just watched my server crash after being good for a few weeks. Server wasn’t busy and nothing else was happening with it at the time.

Plex Media Server Logs_2022-10-14_18-01-51.zip (5.1 MB)

Thanks for attaching the logs

There is no evidence of a crash. All I can see is that the server was sent a signal to shutdown at 18:01 on the 14th October

If it was not you shutting down the server, do you have a script that may be shutting it down?

Oct 14, 2022 18:01:02.824 [0x7f6844a79b38] DEBUG - Shutting down with signal 15 (Terminated)
Oct 14, 2022 18:01:02.824 [0x7f6844a79b38] DEBUG - Ordered to stop server.
Oct 14, 2022 18:01:02.824 [0x7f68485ab6f0] DEBUG - Stopping server...
Oct 14, 2022 18:01:02.824 [0x7f68485ab6f0] DEBUG - HttpServer: Stopping server.

There’s no script that shuts down the server, the web UI may very well have just become responsive, so I restarted the service - but it’s been doing that quite a bit lately. Last night, then a few nights ago. Streams were still occurring according to the logs and my shield client was ok, but I couldn’t access the web UI at all.

I effectively constitute the webUI being inaccessible as a crash since there’s no rhyme or reason for it that I can tell.

Sometimes it’ll become available again after a few minutes, then all the streams pop back up in Tautulli as well, but sometimes it requires a service restart. No slow query entries in the logs or anything, network is rock solid, I assume it’s issues on Plex’s end when this happens (like last night).

Thanks for clarifying this. I refer to these as hangs/deadlocks

For such issues (hangs if transient / deadlocks if permanent) would need process dump and also list of connections at the time and the logs - FYI this is a post describing the diagnostics for deadlocks and also covers linux

But I suggest waiting for 1.30.1 to be available as that will have a fix for a recently discovered deadlock - if that does not resolve the issue, please provide the deadlocks diagnostics

Thanks

I’ll definitely wait for 1.30.1, things have been okay recently - the only times Plex has “gone down” in the last few weeks was due to the mount no longer being available which media was on. That issue I’m still working out, but I believe it’s unrelated to Plex.

Thank you for sharing the link to the other issue thread though, I’ll give it a read just for my own knowledge.

This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.