Need some help identifying the cause of latency
Recently, we've been experiencing some lag spikes in our server, so we made Spark report to try and identify the cause of this issue.
Though these tasks are handled async, it seems like CoreProtect (alongside Skript's saving variables) are the more resource-intensive ones. Unsure if this has an actual performance hit on the server
My server is rocking ~50 MSPT and sometimes over, but the spark report doesn't seem to point out anything.
I am hoping someone can point me to a direction of what I should investigate
https://spark.lucko.me/iR4xw2Y0r4 - main thread
https://spark.lucko.me/K5n5TMIDP0 - all threads
3 Replies
thats alot of item displays
- if possible replace citizens with znpcs
- if possible replace protocollib with packetevents any plugins not supporting packetevents find alterntive plugins if possible
- (optional) replace skript with a plugin or datapack (as you are on paper go with plugin)
- figure out what plugin is causing item_display: 3762 and text_display: 325 I think it might be a skript or a custom plugin or citizens though ive never used any of theses in a server so might be incorrect.
- follow this guide paper chans little guide to minecraft server optimization! to better fix lag and to learn more about a papermc server
SpigotMC - High Performance Minecraft Community
ZNPCs
SpigotMC - High Performance Minecraft Community
PacketEvents API
Paper Chan hideout
Paper chan's Little Guide to Minecraft Server Optimization!
The most complete Minecraft server optimization guide with everything you need to know about running a Paper Minecraft server plus Paper Chan!
if all fails upgrade your server to newer hardware
any issues just ping I might be up