Checking lag sources on a spigot server
We are running a public vanilla minecraft server through oracle cloud. With 10+ people the tps can drop down to 12 without anybody doing anything resource intensive like exploring or running any big farms. Through spark we can see that the server isnt utilizing all the resources, using only 6-10 GB of ram out of the available 24 it should have, any the CPU is usually around 30%, rarely going up to 60%. Spark says the biggest source of the lag is guard.EntityTick() but we cant figure out what it actually means by that or where would we find that inside the world. We would rather not install fabric/forge.
So the question is, how can I find the source of the lag, or figure out why the server isnt utilizing all the resources it has?
So the question is, how can I find the source of the lag, or figure out why the server isnt utilizing all the resources it has?