CivClassic / CivModCore

Plugin Core and general purpose API for Civ Plugins - Updated for Paper 1.16.5
BSD 3-Clause "New" or "Revised" License
2 stars 20 forks source link

CMC thread dump #74

Open wingzero54 opened 3 years ago

wingzero54 commented 3 years ago

Paper dumped a CMC thread that caused a massive server lag spike, ChunkMetaManager https://pastebin.com/dQU3HSaZ

Maxopoly commented 3 years ago

This is because it can't acquire a lock on the unloading queue, while it is being flushed. Could fix it architecturally or just lower the timer to reduce the symptoms.

https://github.com/CivClassic/CivModCore/pull/103 attempts to address it, but was never fixed