Plex takes 5 seconds to scan every file when partial scans are enabled

Server Version#:1.21.3.4021
Player Version#:N/A

Setup information:
Plex is running on a windows VM on a 3x R710 cluster with 24 cores and 12GB of RAM assigned and 200GB HD with only 35% used. CPU usage while scanning is less than 10%. Media is stored on an Unraid Server with a SMB share with full access mapped as drive "S:"

Every time I add media, Plex runs a scan that covers the entire library. As I watch, it takes 4-5 seconds per movie to scan. I checked the Plex Media Scanner log and for all the existing movies, the logs state that nothing has changed:

Feb 12, 2021 07:39:29.188 [2716] DEBUG - Skipping over directory 'Black and Blue (2019)', as nothing has changed; removing 1 media items from map.
Feb 12, 2021 07:39:29.188 [2716] DEBUG - HTTP requesting PUT http://127.0.0.1:32400/activities/2fedb352-84ca-4038-862c-6053464c9b68?percentComplete=%2B0%2E0422354937&subtitle=Black%20and%20Blue%20%282019%29
Feb 12, 2021 07:39:29.189 [1604] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/updateProgressMessage?message=Scanning%20Black%20and%20Blue%20%282019%29
Feb 12, 2021 07:39:29.190 [1604] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/:/metadata/updateProgressMessage?message=Scanning%20Black%20and%20Blue%20%282019%29
Feb 12, 2021 07:39:29.191 [2716] DEBUG - HTTP 200 response from PUT http://127.0.0.1:32400/activities/2fedb352-84ca-4038-862c-6053464c9b68?percentComplete=%2B0%2E0422354937&subtitle=Black%20and%20Blue%20%282019%29

The problem is, since it’s taking 5 seconds per movie, another movie will get added in the 3hrs it takes to scan (2300 movies, 5 seconds each) and it will miss the recently added movie. Then, since I have daily scans disabled, it won’t get added until Radarr finishes another download and forces the scan to start over again. The Plex will catch the missing movie.

I keep missing movies and if it’s in a scan when a movie gets added that I want to watch, I have to manually stop the current scan and start a new scan and then about 50% of the time, it’ll catch the movie right away, but the other half of the time, it’ll take 30min to catch the movie.

These are my settings. I thought I might have fixed it by unchecking everything, saving, leaving the page, then going back to the page and setting it as shown, but it still has the same behavior.

If it’s latency between the Unraid server and Plex, I would notice that in playback, right? I consistently have 4 users with no problems. last week I tested it by having 3x remote users with transcode and a local user doing a 4k transcode and the server handled it just fine.

Should have included more of the log, but here you can see that after it finishes Black and Blue, it process Palmer and that’s where the several second delay is coming from.

Feb 12, 2021 07:39:25.294 [2716] DEBUG - Scanner: Processing directory S:\MediaTank\Movies\Black and Blue (2019) (parent: yes)
Feb 12, 2021 07:39:25.301 [1604] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/:/metadata/updateProgressMessage?message=Scanning%20The%20Aeronauts%20%282019%29
Feb 12, 2021 07:39:29.188 [2716] DEBUG - Skipping over directory 'Black and Blue (2019)', as nothing has changed; removing 1 media items from map.
Feb 12, 2021 07:39:29.188 [2716] DEBUG - HTTP requesting PUT http://127.0.0.1:32400/activities/2fedb352-84ca-4038-862c-6053464c9b68?percentComplete=%2B0%2E0422354937&subtitle=Black%20and%20Blue%20%282019%29
Feb 12, 2021 07:39:29.189 [1604] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/updateProgressMessage?message=Scanning%20Black%20and%20Blue%20%282019%29
Feb 12, 2021 07:39:29.190 [1604] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/:/metadata/updateProgressMessage?message=Scanning%20Black%20and%20Blue%20%282019%29
Feb 12, 2021 07:39:29.191 [2716] DEBUG - HTTP 200 response from PUT http://127.0.0.1:32400/activities/2fedb352-84ca-4038-862c-6053464c9b68?percentComplete=%2B0%2E0422354937&subtitle=Black%20and%20Blue%20%282019%29
Feb 12, 2021 07:39:29.191 [2716] DEBUG - Scanner: Processing directory S:\MediaTank\Movies\Palmer (2021) (parent: yes)
Feb 12, 2021 07:39:32.713 [2716] DEBUG - Skipping over directory 'Palmer (2021)', as nothing has changed; removing 1 media items from map.
Feb 12, 2021 07:39:32.713 [2716] DEBUG - HTTP requesting PUT http://127.0.0.1:32400/activities/2fedb352-84ca-4038-862c-6053464c9b68?percentComplete=%2B0%2E0422354937&subtitle=Palmer%20%282021%29
Feb 12, 2021 07:39:32.713 [1604] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/updateProgressMessage?message=Scanning%20Palmer%20%282021%29
Feb 12, 2021 07:39:32.715 [1604] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/:/metadata/updateProgressMessage?message=Scanning%20Palmer%20%282021%29
Feb 12, 2021 07:39:32.715 [2716] DEBUG - HTTP 200 response from PUT http://127.0.0.1:32400/activities/2fedb352-84ca-4038-862c-6053464c9b68?percentComplete=%2B0%2E0422354937&subtitle=Palmer%20%282021%29

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