Issues with Lag
Good Morning,
My network is having issues with lag and seeing if anyone has any resources or plugins that can assist with determining where it is or what it is.
We're running a paper server
If any additional information is needed please let me know.
10 Replies
Thanks for asking your question!
Make sure to provide as much helpful information as possible such as logs/what you tried and what your exact issue is
Make sure to mark solved when issue is solved!!!
/close
!close
!solved
!answered
Requested by shadowolfyt#0
!spark
Spark Profiler
Spark can be used to see why your server or client is lagging.
Users can share a spark report via
/spark profiler start --timeout 300
which creates a report after 5 minutes. The spark report is useful in debugging why your server is lagging, so ideally you should always provide one while asking for support.
Download | Website | DocsAdmincraft Canned Responses
spark should be bundled in if you're on recent versions
can't remember if it was 1.20.6+ or 1.21+
Aikar's Timings Viewer
Aikar's Timings Viewer - View Timings v2 reports from Paper and Sponge
Timings Analysis
These are not magic values. Many of these settings have real consequences on your server's mechanics. See this guide for detailed information on the functionality of each setting.
❌ entity-activation-range.tick-inactive-villagers
Disable this in spigot.yml.
❌ entity-activation-range.wake-up-inactive.villagers-for
Decrease this in spigot.yml.
Recommended: 20.
❌ entity-activation-range.wake-up-inactive.flying-monsters-for
Decrease this in spigot.yml.
Recommended: 60.
❌ entity-activation-range.wake-up-inactive.villagers-max-per-tick
Decrease this in spigot.yml.
Recommended: 1.
❌ entity-activation-range.wake-up-inactive.animals-for
Decrease this in spigot.yml.
Recommended: 40.
❌ entity-activation-range.wake-up-inactive.monsters-max-per-tick
Decrease this in spigot.yml.
Recommended: 4.
❌ entity-activation-range.wake-up-inactive.flying-monsters-max-per-tick
Decrease this in spigot.yml.
Recommended: 1.
❌ entity-activation-range.wake-up-inactive.animals-max-per-tick
Decrease this in spigot.yml.
Recommended: 2.
❌ entity-activation-range.wake-up-inactive.monsters-for
Decrease this in spigot.yml.
Recommended: 60.
❌ arrow-despawn-rate
Decrease this in spigot.yml.
Recommended: 300.
❌ merge-radius.item
Increase this in spigot.yml.
Recommended: 4.0.
❌ merge-radius.exp
Increase this in spigot.yml.
Recommended: 6.0.
Requested by shadowolfyt • Page 2 of 5
Here is a timings report.
Don’t use timings. They’re legacy, paper removed them recently and spark is superior
Disable them - I’ve seen them cause lag even when not in use
I've currently got a spark profiler running at the moment, unsure if this is the right command to be using: https://spark.lucko.me/jz17dtBzPa
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Wasn’t the right command. As stated in the canned message you should use a stopped profiler that lasts at least 5 minutes
You used an open profiler which expires on server stop / restart