No.
Sqlite3 is too slow for our needs.
I’m running NVMe drives, it doesn’t get much faster than that pal.
No.
Sqlite3 is too slow for our needs.
I’m running NVMe drives, it doesn’t get much faster than that pal.
It is true that SQLite cannot compete with full client/server database setups, but that’s not what it’s meant for. Also, Plex is designed for residential use where the user doesn’t need to setup a full client/server database on their own. If you’ve exceeded the abilities of SQLite, then you are using Plex well beyond it’s intended target. You may want to consider switching to a more rebust commercial product.
There is always RAM drives.
But you are right, not much else faster.
MovieFan is also right, if your library is so large and so busy that it exceeds the performance of sqlite on nvme drives, then perhaps plex isn’t for you.
Just a question…is everyone that’s having this problem running on unRAID? Would this be tied to the sqlite/docker issues with the latest unRAID?
i have this problem since last update yess never have this before and my setup doesn’t change and number of user doesn’t change too
you run unraid under a nvme drive ? not on usb key ?
Please provide your PMS logs so we can see what’s causing the slowness.
juste a question ! in my plex edit
Host Path 3: /mnt/disk3/.Plex/
Container Path: /data
the .Plex for the /data supose to be at the same place of the plex appdata ???
cause my
[PlexMediaServer] /mnt/user/appdata/PlexMediaServer) are on Disk 4
just for knowing if this be make my sqlite3 lag ?
I’ve had this problem for awhile, on unRAID. Very well could be tied to last big OS update I did to 6.7 long ago.
My docker containers updated/restarted every Saturday night, and often by Thursday Plex would hang. I’ve changed to daily restarts as a bandaid, however this week I’ve had a larger than normal amount of content adds, and every evening I’m having to restart.
Definitely possibility unRAID related!
Hello I have the same error here,
plex at newest beta Version 1.18.1.1973 running as docker:
2019-10-17T18:04:18.469579106Z [fix-attrs.d] done.,
2019-10-17T18:04:18.470697626Z [cont-init.d] executing container initialization scripts...,
2019-10-17T18:04:18.471652404Z [cont-init.d] 40-plex-first-run: executing... ,
2019-10-17T18:04:18.487472623Z [cont-init.d] 40-plex-first-run: exited 0.,
2019-10-17T18:04:18.488088988Z [cont-init.d] 50-plex-update: executing... ,
2019-10-17T18:04:19.055337779Z [cont-init.d] 50-plex-update: exited 0.,
2019-10-17T18:04:19.055899144Z [cont-init.d] done.,
2019-10-17T18:04:19.056390668Z [services.d] starting services,
2019-10-17T18:04:19.058208824Z [services.d] done.,
2019-10-17T18:04:19.059644297Z Starting Plex Media Server.,
2019-10-17T18:09:30.228682458Z Connection to 85.90.246.82 closed by remote host.
,
2019-10-17T18:09:47.684193888Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684212968Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684216708Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684219748Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684225968Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684228598Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684231068Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684233548Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684235968Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684238318Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684240709Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684243079Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684245459Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684247779Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684250099Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684252469Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684254799Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684257129Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684272479Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684275269Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684277669Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684279959Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684282209Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684284419Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684286629Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684288809Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684290969Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684293129Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684295299Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684297449Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684299619Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684301799Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684303989Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684306169Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684308339Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684310499Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684312709Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684314869Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684317039Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684319229Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684322149Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684324999Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684327159Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684329359Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684332169Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684334399Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684336559Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684338729Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684341059Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684343249Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684345419Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684347679Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684349859Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684355000Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684357320Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684359560Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684361780Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684363960Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684366180Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684368350Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684370550Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684372740Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684374920Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684377120Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684379300Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684381520Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684385150Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684387440Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684389600Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684391800Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684394020Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684396200Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684398440Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684400600Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684402790Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684404940Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684407120Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684409280Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684411460Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684413610Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684415780Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684417960Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684420150Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684422330Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684424500Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684426660Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684428840Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684431000Z Sqlite3: Sleeping for 200ms to retry busy DB.,
2019-10-17T18:09:47.684433190Z Sqlite3: Sleeping for 200ms to retry busy DB.,
I repaired database according to your settings, but did not help.
After a while plex does not respond anymore. What the hell is going on?
Since 2017 its running more or less fine!
Best regards,
Stefan
I am having this same issue. I am running unraid 6.8.0 was there ever resolution that people have found?
AFAIK in 6.8.0 after a lot of back and forth with limetech on the unraid forums, they finally patched what was causing database corruption with most things sqlite. Are you having issues with other sqlite apps or just plex?
Also getting this issue multiple times per day on Version 1.18.4.2171.
Never had these issues on 1.17.x.
About time Plex started using a modern database. ![]()
To zombie this thread and help anyone else experiencing this issue I recommend the following.
I used this method over a week ago and have quite a few users and very large libraries.
Back up your DB first, and YMMV.
Concurrent streams are up quite a bit after this change for me, so users seem to like this change as well. 
https://github.com/Cloudbox/Community/wiki/Speed-up-Plex
1. Stop Plex
2. Locate your Plex DB. cd plex/Library/Application Support/Plex Media Server/Plug-in Support/Databases
3. sqlite3 com.plexapp.plugins.library.db
PRAGMA default_cache_size = 6000000;
Press CTRL + D
4. Start Plex.
Sorry for reviving a dead thread. But I’ve been looking forever for another product aside from Emby/Jellyfin that could do what Plex could do. You seem to be knowledgeable of alternatives, commercial or otherwise. I can’t seem to find anything that comes close. If there is another product that has the similar functionality please tell us! I do not mind how hard it is to set it up, even if it requires some programming/scripting! Even if it’s spendy I still want to know what the product is. Thanks!
I was actually referring to using whatever streaming companies like Netflix use. I’m guessing these are proprietary and custom built, which might be what’s needed. My comment was mainly that Plex is designed for home/residential usage. If Plex can’t keep up then you are probably no longer in the home/residential space and need something else.
I’m only aware of one other high end solution similar to how Plex works and yes it is very pricey. https://www.kaleidescape.com/
Thanks it seems to make it better on my side.
This topic was automatically closed 90 days after the last reply. New replies are no longer allowed.