Help troubleshoot PMS slowdown

Server Version#: 1.23.5.4862-0f739d462
Player Version#: various
Server OS: Ubuntu 20.04 5.4.0-1041-raspi

Plex Media Server Logs_2021-07-31_19-28-49.zip (4.2 MB)
I have been using PMS on a Raspberry Pi 4 (4gb) for about 2 years now, no problems at all until the last week or so.
My primary device is a 2nd gen Fire TV but in troubleshooting I’ve used the web app and the iOS app on my iPhone 12.
For the last week or so I have experienced buffering quite often but for no obvious reason- the Pi and the Fire TV are connected via ethernet, they’re connected directly, it’s direct play, no transcoding, no system load that I can find. I do not get the message that your connection to the server is too slow, I just get a spinning circle for 30-60 seconds, every 2-3 minutes.
During this time the UI was fast enough (normal speed as compared to before) but now for the last 2 days the UI (on Fire TV, web, iOS) is unbearably slow and stopped loading videos at all.
I run (and have always run) other services on the RPi (smb & qbittorrent primarily) and they work completely normally.
The RPi runs Ubuntu off of a 16gb SD card and the media is on a 5tb external HDD. I have bind mounted /var/lib/plexmediaserver to a folder on the external HDD. The HDD is connected via USB 3 with a splitter cable to give it extra power.
I first suspected the sd card was going out so the first troubleshooting step I did was move the installation to a USB 3 drive (different from the media drive) but no change so the sd card was moved back into place
Then I suspected that a second HDD I had connected (which only held the Plex database) might be going bad so I moved the database onto the 5tb disk & removed the second HDD, but no change.
Then I suspected that my media was streaming at too high bitrate for the FTV to handle (100mb ethernet) so I reencoded to a lower bitrate. I thought this was the solution for a couple hours but a short while later the UI started acting up on me and started being completely unresponsive. I also tried wifi on the FTV (faster than ethernet) but that didn’t make any difference.
At this point bc no other service on the RPi is showing issues I suspect the PMS itself, but the only change I made to the server (after issues started appearing) was I enabled database backup to a remote location (a drive mounted over sshfs on a remote server). QBT & SMB both also use the 5tb drive with normal performance. I believe I did an update to the PMS version but again after issues appeared.
Any help is appreciated.

Edit: updated PMS to Version 1.23.6.4881, no change

more experimentation leads me to believe that for some reason there’s incredibly slow rw but afaics it’s exclusively limited to the Plex folder…

First screenshot with downloader running at full speed, second with download paused


Something about the PMS data folder structure is incredibly slow
I noticed this when I copied from the second HDD to the primary HDD too, at that point I blamed it on the source disk but now I’m not sure

Sounds like the same problem I’ve been having for the past week.

Plex was working normally, now I might get 10 seconds of normal play, then the spinning circle. Happening on Nvidia Shield Pro, Samsung Galaxy S20, Samsung tablet, PC.

No changes to my setup or devices. Which leads me to assume that a plex server update has goosed something somewhere.

I agree, I hadn’t made any changes to my setup for months before this started, only then did I start changing a bunch of stuff in troubleshooting
Except I also don’t think there was any update installed either…

Tonight I installed Jellyfin on the same setup. Everything plays as it should, across all devices.

Which further supports my theory that this is a Plex, rather than network, issue.

I was able to revert to Version 1.21.4.4079 from a backup sd card image

I’ve noticed that the UI has come back to normal but I still can’t play media that I used to be able to play

One movie got super jittery that I was able to play last week

I suppose it might be time to try a different platform and see what happens

I have a strong suspicion that my media drive is causing the slowdown, whether that means it’s dying or just slow idk (probably dying)
Jellyfin didn’t help but moving the data to an SSD did
Then I moved the data from the SSD to a larger (than the SSD) HDD and I got transfer rates 3x the speed of the original HDD > SSD

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