Apps ShelfPlayer and Plappa timeout on Android and iPhone #3706
Replies: 4 comments 4 replies
-
Also interesting and maybe the problem: 2024-12-11 10:00:27.082 DEBUG Loaded 1 of 1 items for "Continue Listening/Reading" in 464.20s I guess it is not supposed to have such a long loading time? |
Beta Was this translation helpful? Give feedback.
-
How many files are in the library? Libraries with a high file count (multiple files per book) can get a lot slower. We have been working on cleaning up the database and API to make things a lot faster and there are still things to do. I haven't seen load times take that long after recent updates. Did loading time get worse on a recent update, or has it always been about this slow? Would you be willing to share your database to help us see what exactly is showing things down? You can zip the database (while the server is not running) to make it a lot smaller) and send the file or a download link via email on my GitHub profile or over Discord. |
Beta Was this translation helpful? Give feedback.
-
in all three libraries I have about 5000 books ... that makes 1.8 TB in 310868 Files in 5759 Folders (Windows Explorer File Count :-) ) I would not say the problem started with a recent update but got worse over time ... I removed 244 GB files (30484 Files in 1172 Folders) but that didn't bring any significant change. I also tried splitting the books to more different libraries but this did not help eighter should I find a way to convert the mp3 to m4b? to get just 1 file per book? would this help? I could provide a ABS-backup file with about 400 MB ... would this also help? Due to not having any idea how to get the database out from docker :-( |
Beta Was this translation helpful? Give feedback.
-
I loaded your database up. I am getting a load time of 1.05 seconds for the home page, and 0.35 seconds for loading the library page. The ABS web client and app do paginated loading, so the log shows only 30 items being loaded for the library page. In your original log, it looks like Plappa is trying to load everything for the library, which is probably what is slowing everything down. From the write-up here, multiple concurrent queries to the database slows things down a lot (so Plappa loading everything for the library may be what is slowing down all of the other queries if it is happening in parallel). It may be worth opening an issue with Plappa to implement paginated loading.
|
Beta Was this translation helpful? Give feedback.
-
I have the Docker on my Synology running version 2.17.5. I get library not available in both apps several times and if I try to reload it sometimes works and displays the books. I have currently 3 libraries with 3132 books, 1778 books and 10 books ... there have been many more but i reduced the amount of books to see if it gets better ... after adding the max_old_sace_size=10240 it got a bit better but still not fine ... got any ideas for me what to try? are this to many books? Most files are mp3 ... any advice is welcome. btw webinterface is always working fine ... takes some time to load but always works (on PC, iPhone, iPad and Android) so this seams to be only related to the apps
Beta Was this translation helpful? Give feedback.
All reactions