Server having TPS drops even though no one is online
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
91 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.
❌ mobs.villager.spawn-iron-golem.radius
Increase this in purpur.yml.
Recommended: 5.
Requested by landeryt#0 • Page 5 of 5
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 landeryt#0
Unable to load the spark data
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
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.
❌ Outdated
You are using
Purpur-1990 (1.20)
. Update to 1.20.1
.❌ Threads
You only have 2 thread(s).
❌ chunk-gc.period-in-ticks
Decrease this in bukkit.yml.
Recommended: 400.
❌ ticks-per.monster-spawns
Increase this in bukkit.yml.
Recommended: 4.
❌ spawn-limits.monsters
Decrease this in bukkit.yml.
Recommended: 15.
❌ spawn-limits.water-ambient
Decrease this in bukkit.yml.
Recommended: 5.
❌ spawn-limits.ambient
Decrease this in bukkit.yml.
Recommended: 1.
❌ spawn-limits.animals
Decrease this in bukkit.yml.
Recommended: 5.
❌ entity-activation-range.animals
Decrease this in spigot.yml.
Recommended: 16.
❌ entity-activation-range.monsters
Decrease this in spigot.yml.
Recommended: 16.
❌ entity-activation-range.misc
Decrease this in spigot.yml.
Recommended: 12.
❌ entity-activation-range.water
Decrease this in spigot.yml.
Recommended: 12.
✅ Your server isn't lagging
Plus 37 more recommendations
Click the buttons below to see more
Requested by landeryt#0 • Page 1 of 5
should i follow the bot's guide to make my spark better?
Yea
Unable to fetch data 😭😭😭
Wow what is wrong with my link
Do I stop the profiler and get it, or just do profiler open
Do a normal profiler and share it like normal
When it gives you a link after stopping
Okay
profilers expire after like 5 mins
After 5 mins of not opening?
I see
no
they just expire after 5 mins
It seems like the server is just a lot more laggy after I update to 1.20
if you use the download icon ( 📄 ➡️ ) you can download a .sparkProfile
Before, I was on 1.19.3 and it was holding 20 people easily
Now with around 7 and mspt is like double the average
spark.lucko.me/vNLfmlceLT
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
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.
❌ Outdated
You are using
Purpur-1990 (1.20)
. Update to 1.20.1
.❌ Threads
You only have 2 thread(s).
❌ chunk-gc.period-in-ticks
Decrease this in bukkit.yml.
Recommended: 400.
❌ ticks-per.monster-spawns
Increase this in bukkit.yml.
Recommended: 4.
❌ spawn-limits.monsters
Decrease this in bukkit.yml.
Recommended: 15.
❌ spawn-limits.ambient
Decrease this in bukkit.yml.
Recommended: 1.
❌ spawn-limits.animals
Decrease this in bukkit.yml.
Recommended: 5.
❌ entity-activation-range.monsters
Decrease this in spigot.yml.
Recommended: 16.
❌ entity-activation-range.misc
Decrease this in spigot.yml.
Recommended: 12.
❌ entity-activation-range.water
Decrease this in spigot.yml.
Recommended: 12.
❌ entity-activation-range.villagers
Decrease this in spigot.yml.
Recommended: 16.
❌ entity-activation-range.wake-up-inactive.villagers-for
Decrease this in spigot.yml.
Recommended: 20.
Plus 26 more recommendations
Click the buttons below to see more
Requested by who1ssus#0 • Page 1 of 4
Update to 1.20.1 is recommended
Sim distance should be 4 or 5
Listen to the bot
@LanderYT
1. update to 1.20.1
2. follow the guide below im going to link about optimization
3. do you have any mob farms? might be causing lag
You can follow these guides to optimize your server
Admincraft Canned Responses
The server is frequently spiking when someone opens a loot chest
Yes I will check out the link
It feels like a few of my plugins are unstable in 1.20.1
That's so little, wouldn't that break farms?
which loot chest?
if it gives treasure maps as items, then that's a known bug that paper has been bugging mojang to fix for pretty long
Exactly that chest
your only options are to
1. Completely stop the generation of treasure maps using a datapack
2. Disable the functioning of treasure maps
one side-option that's not very convenient for the situation is removing shipwrecks altogether
Mojang optimizing their game (IMPOSSIBLE) (3:00 AM CHALLENGE)
I disabled treasure maps
quick question, if simulation distance is lower, would that break farms?
Perhaps the farm size
that would not be good, my server's been running for some time now
that shouldn't matter too much, right?
Sim distance is exponential
sim distance is basically ticking things within the area, i think that has a bigger impact than render even
I updated the server to 1.20.1, it can generally withstand the lag much better now.
However, the lag spikes are still there
it feels like it happens whenever people teleport back to their bases as well
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
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.
❌ Threads
You only have 2 thread(s).
❌ chunk-gc.period-in-ticks
Decrease this in bukkit.yml.
Recommended: 400.
❌ ticks-per.monster-spawns
Increase this in bukkit.yml.
Recommended: 4.
❌ spawn-limits.monsters
Decrease this in bukkit.yml.
Recommended: 15.
❌ spawn-limits.ambient
Decrease this in bukkit.yml.
Recommended: 1.
❌ spawn-limits.animals
Decrease this in bukkit.yml.
Recommended: 5.
❌ entity-activation-range.monsters
Decrease this in spigot.yml.
Recommended: 16.
❌ entity-activation-range.misc
Decrease this in spigot.yml.
Recommended: 12.
❌ entity-activation-range.water
Decrease this in spigot.yml.
Recommended: 12.
❌ entity-activation-range.villagers
Decrease this in spigot.yml.
Recommended: 16.
❌ 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.
Plus 22 more recommendations
Click the buttons below to see more
Requested by landeryt#0 • Page 1 of 3
server's still running out of memory and crashes after too frequent spikes
Did this also appeared in 1.20? Well maybe this is not relevant
Why do you have 133 of area effect cloud?
That's so strange where can I even get that..
@LanderYT
landeryt has reached level 2!
Roles Added:
Level 2
Yeah I'm aware of that, just that a lot of plugins are dependent on it
You're on budget enviromc?
Correct
I'm on the fence about going to premium with lower RAM or staying in budget for higher RAM
How many players?
Average 5-10
Yeah even now it's having TPS issues with no players online
That's a plugin issue @LanderYT
I'm running a heavily modded 1.19.2 fabric server with 6gb on budget with no issues, I can get 5 players without rocking down the server performance to hell
A plugin issue? What could possibly be causing this?
Do you want me to send the plugin list?
How many plugins you have?
Yeah send a list why not
Single player sleep?
Why you need a plugin for that lol
I don't think that plugin is related to the lag but I find it odd that you're using it
It's a small utility when someone skips the night, you can cancel if you needed it
Ohh okey
So in theory, if the server has no one on, only the permanently loaded chunks can have a cause to the lag?
If no one is in the server, no chunks should be loaded
You can check if you're having a memory leak or anormal memory usage if you run this command
/spark gcmonitor
Spark Profiler
Spark can be used to see why your server or client is lagging.
https://spark.lucko.me/
Admincraft Canned Responses
It'll comment the gc collection rate
Ah I just noticed!
You only have two threads
I got it on, not seeing anything so far, probably because the lag spikes aren't super frequent
So you only have 200% of CPU power?
In the panel?
Yes
Is that bad?
Even though Minecraft is mostly single threaded, purpur performs many tasks in other threads
Do you know who's Nerd?
I'd ask if you could get at least 350% of CPU
I had a 3 week ticket with the dude to get my server back online lmao
Lool
So I can just.. ask?
Open a ticket and tell them if you could get another thread. It might help
(I have 3 and half threads and I'm also on budget btw)
Dang I'll definitely do that now
Omg 😓
Moving to premium for more thread?
I saw the conversation
You can buy premium and test if stuff performs better there
And if it doesn't you can refund within 24h
I will, thanks
spawn chunk works as long as the server is on, right?
Oh yeah
I still don't have a clue why it's having lag spikes. I tried everything from the recommended guides, even switched to a premium plan with a bit lower RAM, but nothing works
Have you tried using tools to see why it's lagging?
This is the most recent spike recorded
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
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 landeryt#0 • Page 1 of 3
Another spike https://spark.lucko.me/znBDA3Rc7U
It seems like it lags whenever more chunks are loaded, either when a player respawns from their death or when someone joins
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
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 landeryt#0 • Page 1 of 3
What kind of lag are you seeing? I'm not seeing anything in the report itself.
Could you describe what you're seeing?
No, live profilers expire when they end.
Actual reports stay live for like 30 days after last view
^^
so for brief 5-10 second periods, especially when someone starts loading more chunks, the server tps would drop to like 5 TPS
and sometimes it gets really bad and the server just, crashes
pregen chunks
I got most of the basic area pregenned, even when people teleport to their base which is there for like months already, a new spike is likely to occur
How much total run do you have?
Also any reason for using purpur? Do use any of their niche features? If not use pufferfish instead
Also give this a read https://www.paper-chan.moe/paper-optimization/
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!
does purpur and pufferfish differ in performance?
i have 5gb total
and yes I realised that was reset so I used the flags again now
Not the most stable, also no point in using it if your not using their features, just useless, pufferfish is more performant
IF you are using a host, dont use all of it, allocate 4g
Remove the alwayspretouch flag if you are using a host
got it, thank you
once my world finishes pregenerating i'll see if it still lags
!solved
post closed!
The post/thread has been closed!
Requested by landeryt#0