Server having TPS drops even though no one is online

spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
91 Replies
Admincraft Meta
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
Admincraft Meta
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
1who¡ssus?
1who¡ssus?2y ago
Unable to load the spark data
LanderYT
LanderYTOP2y ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Admincraft Meta
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
LanderYT
LanderYTOP2y ago
should i follow the bot's guide to make my spark better?
1who¡ssus?
1who¡ssus?2y ago
Yea Unable to fetch data 😭😭😭
LanderYT
LanderYTOP2y ago
Wow what is wrong with my link Do I stop the profiler and get it, or just do profiler open
1who¡ssus?
1who¡ssus?2y ago
Do a normal profiler and share it like normal When it gives you a link after stopping
LanderYT
LanderYTOP2y ago
Okay
Mortis
Mortis2y ago
profilers expire after like 5 mins
1who¡ssus?
1who¡ssus?2y ago
After 5 mins of not opening? I see
Mortis
Mortis2y ago
no they just expire after 5 mins
LanderYT
LanderYTOP2y ago
It seems like the server is just a lot more laggy after I update to 1.20
Mortis
Mortis2y ago
if you use the download icon ( 📄 ➡️ ) you can download a .sparkProfile
No description
LanderYT
LanderYTOP2y ago
Before, I was on 1.19.3 and it was holding 20 people easily
Mortis
Mortis2y ago
No description
LanderYT
LanderYTOP2y ago
Now with around 7 and mspt is like double the average spark.lucko.me/vNLfmlceLT
1who¡ssus?
1who¡ssus?2y ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Admincraft Meta
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
1who¡ssus?
1who¡ssus?2y ago
Update to 1.20.1 is recommended Sim distance should be 4 or 5 Listen to the bot
Mortis
Mortis2y ago
@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
Carl-bot
Carl-bot2y ago
You can follow these guides to optimize your server
Admincraft Canned Responses
LanderYT
LanderYTOP2y ago
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?
Deleted User
Deleted User2y ago
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
LanderYT
LanderYTOP2y ago
Exactly that chest
Deleted User
Deleted User2y ago
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
1who¡ssus?
1who¡ssus?2y ago
Mojang optimizing their game (IMPOSSIBLE) (3:00 AM CHALLENGE)
LanderYT
LanderYTOP2y ago
I disabled treasure maps quick question, if simulation distance is lower, would that break farms?
1who¡ssus?
1who¡ssus?2y ago
Perhaps the farm size
LanderYT
LanderYTOP2y ago
that would not be good, my server's been running for some time now
Deleted User
Deleted User2y ago
that shouldn't matter too much, right?
1who¡ssus?
1who¡ssus?2y ago
Sim distance is exponential
LanderYT
LanderYTOP2y ago
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
LanderYT
LanderYTOP2y ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Admincraft Meta
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
LanderYT
LanderYTOP2y ago
server's still running out of memory and crashes after too frequent spikes
1who¡ssus?
1who¡ssus?2y ago
Did this also appeared in 1.20? Well maybe this is not relevant
1who¡ssus?
1who¡ssus?2y ago
No description
1who¡ssus?
1who¡ssus?2y ago
Why do you have 133 of area effect cloud?
1who¡ssus?
1who¡ssus?2y ago
No description
LanderYT
LanderYTOP2y ago
That's so strange where can I even get that..
piggy
piggy2y ago
@LanderYT
landeryt has reached level 2! Roles Added: Level 2
LanderYT
LanderYTOP2y ago
Yeah I'm aware of that, just that a lot of plugins are dependent on it
1who¡ssus?
1who¡ssus?2y ago
You're on budget enviromc?
LanderYT
LanderYTOP2y ago
Correct I'm on the fence about going to premium with lower RAM or staying in budget for higher RAM
1who¡ssus?
1who¡ssus?2y ago
How many players?
LanderYT
LanderYTOP2y ago
Average 5-10 Yeah even now it's having TPS issues with no players online
1who¡ssus?
1who¡ssus?2y ago
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
LanderYT
LanderYTOP2y ago
A plugin issue? What could possibly be causing this? Do you want me to send the plugin list?
1who¡ssus?
1who¡ssus?2y ago
How many plugins you have? Yeah send a list why not
LanderYT
LanderYTOP2y ago
No description
1who¡ssus?
1who¡ssus?2y ago
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
LanderYT
LanderYTOP2y ago
It's a small utility when someone skips the night, you can cancel if you needed it
1who¡ssus?
1who¡ssus?2y ago
Ohh okey
LanderYT
LanderYTOP2y ago
So in theory, if the server has no one on, only the permanently loaded chunks can have a cause to the lag?
1who¡ssus?
1who¡ssus?2y ago
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
Carl-bot
Carl-bot2y ago
Spark Profiler
Spark can be used to see why your server or client is lagging. https://spark.lucko.me/
From An unknown user
Admincraft Canned Responses
1who¡ssus?
1who¡ssus?2y ago
It'll comment the gc collection rate Ah I just noticed! You only have two threads
LanderYT
LanderYTOP2y ago
I got it on, not seeing anything so far, probably because the lag spikes aren't super frequent
1who¡ssus?
1who¡ssus?2y ago
So you only have 200% of CPU power? In the panel?
LanderYT
LanderYTOP2y ago
Yes Is that bad?
1who¡ssus?
1who¡ssus?2y ago
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
LanderYT
LanderYTOP2y ago
I had a 3 week ticket with the dude to get my server back online lmao
1who¡ssus?
1who¡ssus?2y ago
Lool
LanderYT
LanderYTOP2y ago
So I can just.. ask?
1who¡ssus?
1who¡ssus?2y ago
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)
LanderYT
LanderYTOP2y ago
Dang I'll definitely do that now Omg 😓 Moving to premium for more thread? I saw the conversation
1who¡ssus?
1who¡ssus?2y ago
You can buy premium and test if stuff performs better there And if it doesn't you can refund within 24h
LanderYT
LanderYTOP2y ago
I will, thanks
Deleted User
Deleted User2y ago
spawn chunk works as long as the server is on, right?
1who¡ssus?
1who¡ssus?2y ago
Oh yeah
LanderYT
LanderYTOP2y ago
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
Discount Milk
Discount Milk2y ago
Have you tried using tools to see why it's lagging?
LanderYT
LanderYTOP2y ago
This is the most recent spike recorded
LanderYT
LanderYTOP2y ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Admincraft Meta
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
LanderYT
LanderYTOP2y ago
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.
Admincraft Meta
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
Discount Milk
Discount Milk2y ago
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 ^^
LanderYT
LanderYTOP2y ago
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
Deleted User
Deleted User2y ago
pregen chunks
LanderYT
LanderYTOP2y ago
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
snowznz.bak
snowznz.bak2y ago
Use aikar flags (https://flags.sh)
flags.sh
flags.sh
A simple script generator to start your Minecraft servers with optimal flags.
snowznz.bak
snowznz.bak2y ago
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
snowznz.bak
snowznz.bak2y ago
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!
LanderYT
LanderYTOP2y ago
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
snowznz.bak
snowznz.bak2y ago
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
LanderYT
LanderYTOP2y ago
got it, thank you once my world finishes pregenerating i'll see if it still lags !solved
Admincraft Meta
post closed!
The post/thread has been closed!
Requested by landeryt#0

Did you find this page helpful?