Server freeze if shuffling too many items #3884
Copy link
Copy link
Closed
Description
I tried shuffling my whole Jazz genre and it froze the server for several minutes, I had to restart it. Play / add to queue has the same problem.
There is nothing in the log, but I saw the CPU maxed out and the user interface (beside parts of settings) was unresponsive.
I think it tries to add everything to the queue up front so the queue can have thousands of items and isn't happy. Especially when running off HDDs.
Maybe there should be a limit for how many songs to add, configurable, say 2 hours play time default. Instant mix already uses a limit like that.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels
Activity
LukePulverenti commentedon Mar 31, 2025
Duplicate of #3858
MightyPork commentedon Mar 31, 2025
I think this freezes the backend, not (just?) the webapp. I had to restart the docker container to get it work normally again