advplyr / audiobookshelf

Self-hosted audiobook and podcast server
https://audiobookshelf.org
GNU General Public License v3.0
6.39k stars 451 forks source link

[Bug]: UI so slow it's unusable #2448

Closed MoSattler closed 9 months ago

MoSattler commented 9 months ago

Describe the issue

It worked in the beginning, but with time it got slower and slower. The UI is insanely slow now or not working at all. Sometimes restarting the container seems to make it slightly more usable, but not always.

I am running the Docker container on a Synology.

I don't think it's a hardware issue, as CPU utilisation is not more than 30%, RAM not more than 20%. The Container has no resource limitation.

My library has maybe 20 audiobooks, and 20 podcasts with maybe 3000 episodes.

Steps to reproduce the issue

Not sure what the root issue is, so it's hard for me to say what the root cause could be. Here are the logs.

logs don't show anything useful

Screenshot 2023-12-25 at 16 07 14

I had the issue originally on 2.5.0, but updating to 2.7.0 did not fix the issue.

Audiobookshelf version

2.7.0

How are you running audiobookshelf?

Docker

advplyr commented 9 months ago

Duplicate of #1549

advplyr commented 9 months ago

Specific to podcasts with around 1000+ episodes. Could be a little less or more depending on the server

MoSattler commented 9 months ago

Is that a problem inherent to having such a library size, or is there room for optimisation? Would be happy to take a swing at it if given a few pointers.

advplyr commented 9 months ago

There is plenty of room for optimization but the data model, API and frontend need a major overhaul