komga
komga copied to clipboard
DataAccessException triggered when handling a large number of CBZ files
Steps to reproduce
- Place 2,788 CBZ files, totaling 59 GB, in a single directory.
- Add the directory to libraries, unchecking all settings.
- Click on "Scan library files" (the scan does not start automatically after adding).
- A certain number of CBZ files will be scanned, and the scanned files will appear as "To be analyzed" in Komga.
- The scan interrupts, and an error is displayed in the logs (see Logs). *. Repeating steps 3 to 5 multiple times eventually allows the entire library to be scanned.
Expected behavior
The scan should complete after a single click of the scan button.
Actual behavior
Please refer to the Steps to reproduce.
Logs
Komga version
v1.11.3-master
Operating system
Linux
Installation method
Docker
Other details
No.
Acknowledgements
- [X] I have searched the existing issues (open AND closed) and this is a new ticket, NOT a duplicate or related to another open issue.
- [X] I have written a short but informative title.
- [X] I have checked the FAQ.
- [X] I have updated the app to the latest version.
- [X] I will fill out all of the requested information in this form.
your database is not reachable or too slow:
SqliteMainPool - Connection is not available, request timed out after 30000ms
I understand. However, could this possibly be due to a one-time insertion of too much data into the "local" database?
no, Komga processes data sequentially, people have been successfully processing TBs of data in Komga without any problem. Most likely the issue lies in how you host Komga.
Can you share your dockerfile, and provide details on how the drives are mapped, and what is the underlying hardware and storage infrastructure ?
I understand that Komga can handle TBs of data without issues, as I successfully processed 2 TB of data with the older version (v1.10.4-master) without any problems. I believe this issue might be related to the new version of Komga.
Dockerfile: docker-compose.yml Drives: Synology DS1520+
Nothing has changed on that front for quite some time. On Synology you may need to check that the config folder is not indexed / managed by Synology in any way. Syno media indexing can be very taxing on some folders.
I have the same issue but on ubuntu with komga, version 1.14.1, via docker. Did you find a solution for this?
I have the same issue but on ubuntu with komga, version 1.14.1, via docker.
Did you find a solution for this?
No.