Plex Scanner freezing during scan, server unresponsive until reboot

@Joshuaisarocker

I am seeing PMS doing a lot of matching cleanup work.

Please notice the “dead item count”.

Feb 18, 2021 17:49:43.355 [0x7fa803b43bc0] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
Feb 18, 2021 17:49:43.355 [0x7fa7f9802700] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/toggleItemActivity?librarySectionID=2&metadataItemID=8749
Feb 18, 2021 17:49:43.356 [0x7fa803b43bc0] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/library/changestamp
Feb 18, 2021 17:49:43.357 [0x7fa803b43bc0] DEBUG - Updating deletion state for metadata item 8743, is has a dead item count of 59.
Feb 18, 2021 17:49:43.357 [0x7fa803b43bc0] DEBUG - Updating deletion state for metadata item 8527, is has a dead item count of 5.
Feb 18, 2021 17:49:43.357 [0x7fa803b43bc0] DEBUG - Looking for path match for [/media/Plex/TV Shows/Pokémon/Season 05/Pokémon - S05E07 - Dueling Heroes.mkv]
Feb 18, 2021 17:49:43.358 [0x7fa803b43bc0] DEBUG - Path matched, we're reusing media item 8741
Feb 18, 2021 17:49:43.358 [0x7fa803b43bc0] DEBUG - Bringing back media item 8741 to life.
Feb 18, 2021 17:49:43.358 [0x7fa7f9802700] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/:/metadata/notify/toggleItemActivity?librarySectionID=2&metadataItemID=8749
Feb 18, 2021 17:49:43.358 [0x7fa803b43bc0] DEBUG - Updating deletion state for metadata item 8750, is has a dead item count of 0.
Feb 18, 2021 17:49:43.358 [0x7fa803b43bc0] DEBUG - Marking item 8750 as alive and well.
Feb 18, 2021 17:49:43.358 [0x7fa803b43bc0] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp
Feb 18, 2021 17:49:43.358 [0x7fa7f9802700] DEBUG - HTTP requesting GET http://127.0.0.1:32400/:/metadata/notify/toggleItemActivity?librarySectionID=2&metadataItemID=8750
Feb 18, 2021 17:49:43.359 [0x7fa803b43bc0] DEBUG - HTTP requesting GET http://127.0.0.1:32400/library/changestamp
Feb 18, 2021 17:49:43.359 [0x7fa803b43bc0] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/library/changestamp
Feb 18, 2021 17:49:43.360 [0x7fa803b43bc0] DEBUG - Updating deletion state for metadata item 8743, is has a dead item count of 58.
Feb 18, 2021 17:49:43.360 [0x7fa803b43bc0] DEBUG - Updating deletion state for metadata item 8527, is has a dead item count of 5.
Feb 18, 2021 17:49:43.360 [0x7fa803b43bc0] DEBUG - Looking for path match for [/media/Plex/TV Shows/Pokémon/Season 05/Pokémon - S05E08 - The Perfect Match.mkv]
Feb 18, 2021 17:49:43.361 [0x7fa7f9802700] DEBUG - HTTP 200 response from GET http://127.0.0.1:32400/:/metadata/notify/toggleItemActivity?librarySectionID=2&metadataItemID=8750
Feb 18, 2021 17:49:43.361 [0x7fa803b43bc0] DEBUG - Path matched, we're reusing media item 8742
Feb 18, 2021 17:49:43.362 [0x7fa803b43bc0] DEBUG - Bringing back media item 8742 to life.
Feb 18, 2021 17:49:43.362 [0x7fa803b43bc0] DEBUG - Updating deletion state for metadata item 8751, is has a dead item count of 0.
Feb 18, 2021 17:49:43.362 [0x7fa803b43bc0] DEBUG - Marking item 8751 as alive and well.
Feb 18, 2021 17:49:43.363 [0x7fa803b43bc0] DEBUG - Downloading document http://127.0.0.1:32400/library/changestamp

Have you recently moved / renamed media ?