Purpur 1.20.1 Server having massive lag spikes during world save
I am a admin in a minecraft server that, around earlier last month, started having lag spikes whenever the world saved. We previously used paper, so we decided to try and switch to purpur and see if that + removing any citizens npc's that we placed down around that time would work, however sadly it did not. We have tried many things, such as different configs, removing datapacks, and nothing we try works. So maybe one of yall might have a idea on what's causing it?
This is spark with flags that only log when the server saves:
https://spark.lucko.me/cAdJX1vQac
This is spark with no flags (forced world save):
https://spark.lucko.me/brZcEgPQdU
28 Replies
Spark Profile 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.
✅ Your server isn't lagging
Your server is running fine with an average TPS of 20.
Requested by radplayz#0
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 radplayz#0
Bump
Bump
use ZNPCSPlus, better performance compared to Citizens
You have quite a few item frames and armour stands, consider removing some
try running
/spark profiler start --only-ticks-over 51 --timeout 600
and send the result (it will stop after 10 mins)
@Radplayz
Any reason to still be on 1.20.1?
I'd update to at least 1.20.4 and just use Pufferfish instead of purpur^^
the 1000 item frames, armor stands and 600 glow item frames aren’t helping
Are you self hosting?
Huh

:pepecross:
dam must be a old world

About a year old
Also just got back to this stuff today lol
Plugin support. We may need to bump it to 1.20.4 so we can take care of it
We use bloom host
Will set this once we get the chance
We do not have that much memory xD more like 16 gb
Is it selfhosted?
We use bloom hosting
So no
Interesting, not sure why would they allocate 98.8gb of swap but :thonk:
Well 5k entities defo don't help.
Yeah, it's something we are gonna have to figure out how in the world to cut back on. Every single custom entity/block/plush/whatever is a entity
Also this person (nightcraft) is one of the owners of the server, so he can butt in if I don't respond quick enough
swap coverage is a toggleable option in settings
its to prevent ooms
:msnwhoa:
Okok didn't know that's nice.
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
#

did the server lagg?
Not in this process no, I will be running it a few times to see if we can get the place where it lagged
just do /spark profiler start, and after it lags do /spark profiler --stop
or you can do
/spark profiler start --only-ticks-over 51
just stop, no --
Sometimes it doesn't like it so :/
So we changed bukkit to basicly never save so that paper would take care of it, so that seemed to fix it? Still ongoing
Gonna do this either way
paper uses bukkits settings afaik
so that just stopped saving unless its manually stopped...
welp
So to clarify, paper doesnt use anything to save other then bukit?
Did this and forced the server to save, unsure how helpful it is
https://spark.lucko.me/5ocwfN6XGL
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.