PMS locking up randomly - Used for Live TV & DVR only

Server Version#: 1.23.3.4692 Linux/Docker
XMLTV EPG

I have an issue where PMS will lock up randomly. This server is only used for Live TV & DVR. When this happens I can’t bring up the settings on the website or view tuner statistics / view bandwidth graph on the dashboard… can’t go to Troubleshooting or even play any content until I restart PMS manually. Been happening quite a bit for what seems like the last 5 releases at least. I am only able to fetch the logs from the web after restarting PMS.

Here is the log file showing everything that was happening up to the point where I have to manually restart PMS. Let me know if you see anything. It’s not producting any crash dumps even when disabling the option to send them to plex automatically. Unless they are kept somewhere else in docker I don’t see any. I also don’t think it’s crashing completely, just deadlocking.

Lockup happened a few minutes before 4:30.

Plex Media Server.1.log (3.7 MB)

@ChuckPa Maybe you have an idea?

1 Like

I suspect there was a deadlock that caused the hang. Requests stopped being processed around 15:42:17 on the 15th

To investigate deadlocks we would need the list of connections at the time and a forced process dump.

When this happens again, please get the connections list by making a request like this:

http://ip-of-pms:32400/connections?X-Plex-Token=xxxxxxxxxxxx

Subtitute the local IP address of the server and the plex server token

See this article for how to find the token
Finding an authentication token / X-Plex-Token | Plex Support

Copy the result of the request to a text file and save and note down the exact time

Then find the process number (pid) of the Plex Media Server process and force a process dump - using
kill -SEGV <pid>
eg kill -SEGV 721 if the process id is 721

This should generate a dump file and attempt to upload it to our back end system. This does not always succeed and so would need to locate a copy of the dump in the filesystem. The dump gets saved into a directory within the path specified by the TMPDIR environment variable

Restart the Plex Media Server and download all the logs through Plex Web and attach the logs zip and send me the connections list saved text file and link for the dump file - zip and upload to dropbox/google drive etc

@sa2000 Sent PM.

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