Skip to content

Server freeze if shuffling too many items #3884

Closed

Description

@MightyPork

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.

Activity

  1. LukePulverenti commented on Mar 31, 2025

    @LukePulverenti
    Member

    Duplicate of #3858

  2. MightyPork commented on Mar 31, 2025

    @MightyPork
    Author

    I think this freezes the backend, not (just?) the webapp. I had to restart the docker container to get it work normally again

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions