HuskSync icon indicating copy to clipboard operation
HuskSync copied to clipboard

Synchronization of statistics sometimes causes CPU overload

Open kforbro opened this issue 3 months ago • 1 comments

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

kforbro avatar Sep 29 '25 08:09 kforbro