Server Version#: 1.29.0.6244
Synology DSM Version#: DSM 6.2.4-25556 Update 6
Problem Description
When I scan my music library, Plex Scanner almost instantly gets stuck and just spins. It doesn’t appear to make any progress, even when I leave it for a long while.
To stop the scan, I have to actually stop PMS, but it just gets stuck again on the next scan. It’s constantly using 30% of my CPU doing this.
If I remove whatever album/directory it’s stuck on then stop-restart-rescan, it just gets stuck on some other album, sometimes one I haven’t even touched.
Entries in Logs
The “Plex Media Server.log” file shows a ton of rows like this.
Oct 06, 2022 13:50:05.093 [0x7f0da2f23b00] DEBUG - R
Plex Media Server.log (313.3 KB)
equest: [xxx.xx.xx.16:50141 (Subnet)] GET /library/sections/9/all?type=8&sort=titleSort&includeCollections=1&includeExternalMedia=1 (8 live) #251 TLS Page 0-289 GZIP Signed-in Token (Redacted-Username) (Chrome)
Oct 06, 2022 13:50:05.094 [0x7f0da2f23b00] DEBUG - [Req#251] Setting container serialization range to [0, 289] (total=-1)
Oct 06, 2022 13:50:05.129 [0x7f0da2f23b00] DEBUG - [Req#251] It took 40.000000 ms to retrieve 290 items.
Oct 06, 2022 13:50:05.132 [0x7f0da2f23b00] DEBUG - [Req#251] Setting container serialization range to [0, 289] (total=487)
Oct 06, 2022 13:50:05.340 [0x7f0da5ed2b00] DEBUG - Completed: [xxx.xx.xx.16:50141] 200 GET /library/sections/9/all?type=8&sort=titleSort&includeCollections=1&includeExternalMedia=1 (8 live) TLS GZIP Page 0-289 247ms 491054 bytes (pipelined: 3)