Plex causing high disk activity on Synology DS 415+

Server Version#: 1.19.5.3112
Player Version#: Latest Xbox

Hi

Plex Media Server Logs_2020-08-12_08-48-13.zip (4.0 MB)

I recently updated quite a few items to my Plex library about a month ago and since then Plex has been causing very high disk (Volume) activity on my Synology NAS. At first I thought is was the Synology NAS that was causing this and I am in contact with Synology support about this and as soon as I stop the Plex service running on my Synology all the disk activity stops and starts again when I restart the Plex service.

This activity is causing issues while using Plex. Menu’s take longer to load, buffering keeps happening when I am watching Plex.

All Scheduled tasks are set to run between 2 and 5 am.

Any help would be appreciated.

I’ve had the same issue and I’ve managed to link it to the Intro Detecting feature. Even though scheduled tasks may run between specific hours, for me most days the Intro Detecting task might keep running well beyond those hours, sometimes even 12 hours later. I’ve confirmed it’s definitely Intro Detecting that’s the culprit as I can see it working in the Plex Dashboard in the web app; it says what show it’s working on, and it’s always the same files that are open and causing a high load on the file server.

I can’t use Plex while detecting intros is stuck, but the high load on the file server drops instantly as soon as I stop or restart the Plex service.

It would work better if detecting intros gave up and failed on some files rather than getting stuck for too long on one file. It would also be better if there were an option to only ‘generate intro video markers’ when media is added instead of as a scheduled task of old media, that way you can have intro detection for new files at least.

Try turning off intro video markers as a scheduled task and see if you still get the high disk activity.

Thanks for the reply!

Not to hijack the thread if the problem isn’t detecting intros for @Diav70, but I just checked a couple files with ffmpeg which were just now stuck on detecting intros and they showed no errors at all, so not sure what the problem might be.

Hi

Thank you for your quick detailed response. I will do everything that you have advised and see if that does the trick.

Thank you

Steven

Hi

Thanks for your detailed response.

I have removed all of the old sync files that I had, about 10 of them.

I did notice the [Notify] Failed to add watch errors. I have added the s2s_watches_max = 98304 to the synoinfo.conf file using shh as the scheduled task was not working due to root permissions. I have checked and it is there but I am still getting lots and lots of those watch errors. Permission denied.

Plex is able to scan some media folders but not others because of permissions? Well I just click the scan library files in libraries under settings and it goes through all of the libraries.

I have had a big clear out of all my files and these are what I now have.

TV Folders

.mkv 19325 – .avi 11334 – .mp4 8726 – .m4v 226 – .wmv 15 – .divx 1
.mov 1 – .mpeg 1 – .rmvb 5 – .flv 1 – .jpg 345 (TV Covers)

Movie Folders

.mp4 1935 – .avi 879 – .mkv 234 – .wmv 502 – .mov 71 – .mpg 69
.flv 21 – .mpeg 4 – .mvb 1 – .asf 1

Music Folders

.flac 5513 – .mp3 8075

Photo Folders

.jpg 10347 – ,png 227 – .gif 79 – .jpeg 247

Home Movies Folders

.mp4 225 – .mpg 152 – .avi 186 – .vob 5 – .mov 53 – .3pg 1

Stand up Comedy Folders (Done as home videos)

.avi 431 – .divx 12 – .mp4 60 – .mpg 15 --.flv 75
.mkv 1 – .wmv 6 – .asf 1

The high disk activity is still going, below are all the times that there was high disk activity. When this happens the whole system slows down and sometimes I can even access the system and have to reboot. At the times mentioned below the only thing I had running on the server apart form the operating system was Plex. Whenever I stop plex running the disk activity stops.

17:47 -> 18:01
18:13 -> 18:28
18:40 -> 18:55
19:07 -> 19:22
19:34 -> 19:49
20:00 -> 20:16

It looks to me like it is on some sort of loop stops for about 12 minuses then very high disk activity for 15. Also when I looked into the console every time I had high disk activity I saw things keep repeating. I have attached a picture of the volume activity for the last 24 hours and as you can see it is up and down all the time at those intervals. In the chart you can see 3 times it stopped for a while. The first time is when I had Plex shut down. The second time is when I installed the RAM and the third time is when I rebooted Plex again.

If I change the name of the Video folder that my complete Plex library is in then will that not affect my whole library in Plex and have to re-scan and update every file in the DB with the new location? How important is this?

I downloaded and had a look at ffmpeg seems though you have to go through each file one by one. This is very difficult when you have 40000+ video files. I saw you mentioned that Plex has an ffmpeg, can I use that to check which files are corrupted and how?

I do use Filebot and all my files for TV shows and Movies have been named by Filebot.

TV Shows
Show Name (date)
Season 1
Showname - S01E01 - Episode Name

Movies
Movie Name (year) (Folder)
Movie Name (year).avi

I think the server crashed because I ran out of electricity on the metre. I have been rebooting the server as it gets so slow when I get the high disk activity.

Finally I threw 8gb of Ram under the hood from 2gb hoping that would help.

Logs are attached

Thank you for your help.

Steven

Plex Media Server Logs_2020-08-14_07-30-16.zip (4.4 MB)

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