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
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
28 Replies
Admincraft Meta
Admincraft Meta7mo ago
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
Admincraft Meta
Admincraft Meta7mo ago
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
Radplayz
RadplayzOP7mo ago
Bump
Nightcraft
Nightcraft7mo ago
Bump
Snowz
Snowz7mo ago
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
Skullians
Skullians7mo ago
^^ the 1000 item frames, armor stands and 600 glow item frames aren’t helping Are you self hosting?
MrDadone
MrDadone7mo ago
Huh
No description
MrDadone
MrDadone7mo ago
:pepecross:
MrDadone
MrDadone7mo ago
dam must be a old world
No description
Radplayz
RadplayzOP7mo ago
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
MrDadone
MrDadone7mo ago
Is it selfhosted?
Radplayz
RadplayzOP7mo ago
We use bloom hosting So no
MrDadone
MrDadone7mo ago
Interesting, not sure why would they allocate 98.8gb of swap but :thonk: Well 5k entities defo don't help.
Radplayz
RadplayzOP7mo ago
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
ProGamingDk
ProGamingDk7mo ago
swap coverage is a toggleable option in settings its to prevent ooms
MrDadone
MrDadone7mo ago
:msnwhoa: Okok didn't know that's nice.
Radplayz
RadplayzOP7mo ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
MrDadone
MrDadone7mo ago
#
No description
MrDadone
MrDadone7mo ago
did the server lagg?
Radplayz
RadplayzOP7mo ago
Not in this process no, I will be running it a few times to see if we can get the place where it lagged
MrDadone
MrDadone7mo ago
just do /spark profiler start, and after it lags do /spark profiler --stop
Skullians
Skullians7mo ago
or you can do /spark profiler start --only-ticks-over 51
Snowz
Snowz7mo ago
just stop, no --
MrDadone
MrDadone7mo ago
Sometimes it doesn't like it so :/
Radplayz
RadplayzOP7mo ago
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
ProGamingDk
ProGamingDk7mo ago
paper uses bukkits settings afaik so that just stopped saving unless its manually stopped...
Radplayz
RadplayzOP7mo ago
welp So to clarify, paper doesnt use anything to save other then bukit?
Radplayz
RadplayzOP7mo ago
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.

Did you find this page helpful?