Skip to content

Synchronization of statistics sometimes causes CPU overload #588

@kforbro

Description

@kforbro

Synchronization can sometimes stop working, I think this is due to statistics (thread dump -> getItemTypeStatistic), which is why HuskSync starts creating hundreds of non-stopping threads, CPU usage grows to 100%.

This does not always happen and only in the first minutes after the server is turned on after the restart, after which I have to kill the server process and restart it.

Paper 1.21.8, HuskSync 16d4a8f

I have just temporarily disabled syncing statistics so that I can confirm this reason in a few days.

Image

Metadata

Metadata

Assignees

No one assigned

    Labels

    status: needs testingThis needs video proof and testingtype: bugThis issue is about something that isn't working as intended

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions