-
Notifications
You must be signed in to change notification settings - Fork 24
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update Library database scans are extremely slow #71
Comments
Think this fix it a2ab4ba Found by a music RAR it takes extremely long and Kodi also Freeze during his stop and has needed a |
Thanks, I'm happy to test a fix if it will be included in a Leia build. |
Have created here a request about Leia #77, is still WIP and maybe Problems on Windows (slash and back slash thing). Here are binaries available: https://jenkins.kodi.tv/blue/organizations/jenkins/xbmc%2Fvfs.rar/detail/PR-77/1/artifacts |
There is now a newer, where the slash problem hopefully fixed: |
The new version is released:
Can you check if better now? |
Thanks, I should have time within the next day or so to run more tests. Thanks for all the continued work to get all these issues fixed! |
Sorry for the delay on getting this tested. This is still on my todo list but I unfortunately need to rebuild some servers before I can run a full test. |
My scans are very slow to. 18.7, 2.3.1. Big dif compeard to 2.0.8 |
Apologies again for the delay in testing but I was just able to run another test comparing 2.0.8 performance against 2.3.1 and I'm still seeing similar results. I was able to find the exact time taken for a full library scan in the log file. Here are the results. 2.0.8
2.3.1
So unfortunately it looks like the speculative fix didn't work. |
@AlwinEsch would you mind removing the |
I don't understand why Kodi rescans all rar files once they have already been added and scanned before. As an example one of my debug logs is 77mb and then it crashed on a .sub file. |
I have a similar problem. Looks like a scan extracts all rars (or some) into the vfs.rar-temp dir: I had to cleanup as my disk runs full.
|
+1. I almost run out of disk space and it takes around 30 minutes to perform the scan. |
I disabled the scan for now... |
I've noticed the same with anything 2.0.8+ on Leia, as well as 4.0.0 on the latest beta of Matrix, taking forever to update the library. 2.0.8 on Leia takes seconds. |
For me: in Kodi 18 with vfs.rar >2.0.8: a lot of different issues. Now in Kodi 19 different issues. If I install both Libarchive + vfs.rar - then scanning takes forever as posted in this thread. |
Updating a large .rar video library database with 2.2.2 is taking an extremely long time compared to 2.0.8.
I have a shared kodi mysql database running on a local server that multiple clients connect to. I usually update my video library manually on my fastest machine which is running Windows 10. With a large .rar video collection of 2000+ directories the update library process takes about 5 minutes with vfs.rar-2.0.8. Running the same update library scan with vfs.rar-2.2.2 takes about 1 hour and 20 minutes!
The text was updated successfully, but these errors were encountered: