Slow scanning of TV Shows on remote SMB Shares

Server Version#: 1.22.1.4228
Web Player Version#: 4.53.0

This is a recall of a previous post (here) that never got resolved.

Here is a shot of the Alerts window as this started at 16h08 today.
It’s now 17h00 as I type this, and this scan is still going.

image

The issue is the same basic details as last time.

image
Although I do not have ‘Scan my library periodically’ enabled, PMS still scans the entire TV Shows library at least once a day. Sometime when it is doing this, it creates 95%+ CPU usage.

The TV shows library is made up of three SMB shares on the same external-to-PMS Windows Server 2019. I have stopped my backups to make sure it isnt that causing the file system changes.

If you look at the Plex Media Server.1.log, at Mar 30, 2021 16:07:18.950, you will see the beginning of the recognition of the need to scan due a change in files. But what is weird is that PMS logs Episode 1 for each season of each Show as having changed.

Mar 30, 2021 16:07:18.980 [5592] INFO - Library section 3 (TV Shows) will be updated because of a change in "\\Doris4\tvarchive\The 100\Season 2\The 100 - S02E01 - The 48.mkv"
Mar 30, 2021 16:07:19.023 [6044] INFO - Library section 3 (TV Shows) will be updated because of a change in "\\Doris4\tvarchive\The 100\Season 3\The 100 - S03E01 - Wanheda (1).mkv"
Mar 30, 2021 16:07:19.063 [5592] INFO - Library section 3 (TV Shows) will be updated because of a change in "\\Doris4\tvarchive\The 100\Season 4\The 100 - S04E01 - Echoes.mkv"
Mar 30, 2021 16:07:19.090 [5592] INFO - Library section 3 (TV Shows) will be updated because of a change in "\\Doris4\tvarchive\The 100\Season 5\The 100 - S05E01 - Eden.mkv"
Mar 30, 2021 16:07:19.165 [1184] INFO - Library section 3 (TV Shows) will be updated because of a change in "\\Doris4\tvarchive\The 100\Season 6\The 100 - S06E01 - Sanctum.mkv"
Mar 30, 2021 16:07:19.460 [10020] INFO - Library section 3 (TV Shows) will be updated because of a change in "\\Doris4\tvarchive\The 100\Season 7\The 100 - S07E01 - From the Ashes.mkv"

Plex Media Server Logs_2021-03-30_16-35-24.zip (4.9 MB)

I don’t know what could be causing these file system changes. I’m not aware of anything in my environment that would cause that. One thing I did to eliminate causes was to unmonitor ‘The 100’ in my Sonarr setup so it wouldn’t update metadata files. Now I’ll remove it from Sonarr altogether to see if that helps.

Does anyone else have this sort of slow scanning happening? Any ideas as to what could be causing PMS to think the file system has changed on virtually all TV Show folders?

Cheers,
G.

What folder(s) do you have set for the tv library? Your logs look like you have every show folder added separately.

When you say remote do you mean it is really at a totally different location or just on a different computer.

This is the library setup:

By ‘remote’ I mean that it is a different server on my LAN than the one PMS is running on.

I think you’re right, in that PMS appears to be detecting each individual show changes separately, and queuing them up for scanning. That’s why it shows as it does in the Alerts log, with ‘Scanning the “TV Shows” section’ between each folder. I’m guessing…

Does anyone have any ideas as to what is causing this. It reliably does it every day, and it interferes with any shows that are transcoding at the time due to maxing our the CPU.

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