Plex database locks/Busy

Server Version#: 1.22.3.4392

Hello All,
I keep getting an issue lately with my plex server. I am seeing that the database is locking and constantly staying in a state of busy database or database is locked starting about 2 months agoish. For clarity I have been using the plugin’s XBMCnfoTVImporter or XBMCnfoMoviesImporter to read from NFO for the metadata instead of having to constantly load from plex. This does not appear to be the issue from what I can see.
I have thumbnails and Intro skip turned off on the libraries as well.

I have since also moved my metadata to raid 0 SSD and the database is now on its own ssd as well to help try and limit the issue. But it is still locking. I have attached logs. I am hoping someone can help

Plex Media Server Logs_2021-04-22_04-18-53.zip (466.4 KB)

For now I have removed all libraries. Cleaned bundles and optimized the database. Now I am adding the all back to see if this will make a difference

1 Like

Update:
So I removed all libraries and readded them. I am no longer getting database locks. Going to start turning on the thumbnails as that is when it got the worst

Fixed. I ended up have to delete the data and start over from scratch. Before doing so I followed the insturctions on pulling the playstate data from the old database. Deleted the database. Reimported my library with the XBMCnfoTVImporter and XBMCnfoMoviesImporter plugins. Then imported the playstate. It is working better than ever. And intro detection is finally working

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