I’ve been having a new issue where I notice very high disk activity on my Synology. Logging in to check, the CPU is at 98% and Plex is unresponsive. Restarting the Plex server fixes the problem temporarily. This started a few weeks ago so I downgraded to 1.19.5.3035. I’ve tried optimizing my database both via the gui and ssh.
Error messages include the following:
Held transaction for too long (…/Library/MetadataItem.cpp:1020): 0.260000 seconds
SLOW QUERY: It took 240.000000 ms to retrieve 24 items.
These fixes only seem to work for about day and then the problem returns. Checking the Synology right now for example, the CPU is at 99% and RAM at 82%, the Plex server is running but I’m not using any clients currently. Checking the logs the scanner activity is all music related.
My Synology is located in my office, so as I’m working I can hear the disk activity. When it suddenly ramps up I’ll go into DSM and check the Task Manager in the Resource Monitor. If the CPU is up really high I’m often not able to open the Plex user interface at that point.