Consistently 100 ticks behind
Even if only one person is on doing nothing my console sends
[17:22:44 WARN]: Can't keep up! Is the server overloaded? Running 5012ms or 100 ticks behind
i have 22G of ram but its always consistently 100 ticks behind. What's the best fix? (full plugin list below)196 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 wickedmercury#0
You don't need 22g allocated to mc
Send a spark report
How many players, plugins, and world's do you have on average @mercury
im using 22 because i have it and its free since i self host
You'll get worse performance when you overallocate like that
right now 1-5 players, 33 plugins ish if i counted right (i shared the plugin list but ignore AlwaysSpawn and Plugman those were removed), and 6 worlds
You'll be fine with 6gb of memory
the 1-5 players isnt accurate. im in play testing right now before making public
Also do this
i expect 20-30+
You'll still be fine with ~6, maybe 8 if you have heavy plugins
ill try lowering to 8 since i have hefty plugins
thank you!!
Wait, do this
ope sorry almost forgot
im gonna be completely honest i dont know what that is
oh is it a performance profiler?
Yes
You can get it on spigotmc
this guy?
yes
hot okay!
downloading rn
also thanks for the ram suggestion! my boyfriend set that up since he runs the server rack haha. my knowledge is strictly minecraft admin things
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 19.
Requested by wickedmercury#0 ā¢ Page 1 of 5
can u run spark profiler start --timeout 300
and ask your bf what cpu it is
also remember to change startup flags to the 8gb
i wasnt sure if i should change it before doing the spark report
also dont reload
so i didnt to be safe
or use plugman in any kind of production
yeah absouletly not
i hate it it was in here from an old build before i took over
its long gone
this looks like a reload
i havent reloaded the server
i always stop and then edit
seems ur main issue of lag seems to be spawners?
and then chunks
do you want me to go down to 8gb and the n do spark profiler start --timeout 300
but i would need
yes
doing rn!
2x Intel Xeon E5-2620
thats a 11 year old
cpu
not good for mc
its worked for us in the past and its temporary for right now. we know its old
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 wickedmercury#0 ā¢ Page 1 of 5
so looking at my console since i loaded in, i havent had any console alerts so i think the overallocation was the issue
22gb does more harm than good
sounds good
yeah! since testing 8 its been much better
thank you so much!
is that 300 report okay?
or is the spawner lag still a thing i should pay attention to?
Still heavy on the spawner stuff, and looks like you should disable swap as well
Hard to say as it's only 1 player on, so of course the one thing you're doing will take the most
swap?
RAM swap
Is bad
for overhead its fine* running the server on swap is bad
And you dont have a lot of heavy plugins so shouldnt need to worry about oom killers
Also yeet Orebfuscator
It has its uses
You're using Paper and their built in one is better
*Can be better
For most people it is, though
so how do i disable swap?
GeeksforGeeks
How to Permanently Disable Swap in Linux? - GeeksforGeeks
A Computer Science portal for geeks. It contains well written, well thought and well explained computer science and programming articles, quizzes and practice/competitive programming/company interview Questions.
can i send you guys a spark report for another server?
sure
spark?
yeah getting a 5 min one rn
thank you:1d_Chick_Heart:
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.
ā entities.spawning.despawn-ranges.monster.hard
Decrease this in config/paper-world-defaults.yml.
Recommended: 96.
ā entities.spawning.despawn-ranges.underground_water_creature.soft
Decrease this in config/paper-world-defaults.yml.
Recommended: 28.
ā entities.spawning.despawn-ranges.underground_water_creature.hard
Decrease this in config/paper-world-defaults.yml.
Recommended: 96.
ā entities.spawning.despawn-ranges.water_ambient.soft
Decrease this in config/paper-world-defaults.yml.
Recommended: 28.
ā entities.spawning.despawn-ranges.water_creature.soft
Decrease this in config/paper-world-defaults.yml.
Recommended: 28.
ā entities.spawning.despawn-ranges.water_creature.hard
Decrease this in config/paper-world-defaults.yml.
Recommended: 96.
ā misc.redstone-implementation
Set this to "ALTERNATE_CURRENT" in config/paper-world-defaults.yml.
ā chunks.entity-per-chunk-save-limit.experience_orb
Set a value in config/paper-world-defaults.yml. Recommended: 16.
ā chunks.entity-per-chunk-save-limit.snowball
Set a value in config/paper-world-defaults.yml. Recommended: 16.
ā chunks.entity-per-chunk-save-limit.ender_pearl
Set a value in config/paper-world-defaults.yml. Recommended: 16.
ā chunks.entity-per-chunk-save-limit.arrow
Set a value in config/paper-world-defaults.yml. Recommended: 16.
Requested by wickedmercury#0 ā¢ Page 4 of 4
oof lmao
thats not good
neither is this
so should i bump past 12
server is running on swap
also ur running 16 view and sim distance on 1.20.1 on a 11 year old cpu -.-
(and a bad one at that for mc)
would making these changes help?
entities are causing issues
aswell
but i'd fix ur memory stuff
i just migrated this sever from apex so was curious to see what the issues were
good on you kek, apex has good support and locations, pretty bad hardware (in some of their locations), and is pretty overpriced
this server was $50/month which is INSANE
-.-
yeah
thats
insane
so steps i should take
1. fix issues listed https://discord.com/channels/348681414260293634/1127371752754913381/1127457031213809777
2. fix memory (i assume disable swap?)
3. get better cpu asap
yes no? missing something? other suggestions?
looks good for a start
amazing! thank you again! i really appreciate it
you can add pufferfish and have DAB on
which can help a bit with villager lag
but can cause slight issues with iron farms
should i configure anything else specifically in pufferfish or mainly just DAB (i assume at 8 since its default or?)
well also lower view and sim
thats very high
how many players are usually on?
20-30
yeah 16 view and sim on that player count and especially that cpu is a big nono imo
and reduce mob spawn limits
follow these aswell (the bot might have suggested some/most of em but eh worth a read)
!optimise
You can follow these guides to optimize your server
Admincraft Canned Responses
altough atm chicken etc farms and villagers are causing most lag
could be mitigated with a better cpu
dumb question: how do i change this
server.properties š
ideal view?
default or lower
sim has to be equal or lower than view*
i set it to default 10
although on your current hardware i'd recommend lower kek
8?
6-8
ig
sim is the more important one
view distance loads more chunks into memory
(which u already have a issue with)
i lowered it to 8
if you are using a private node then try increasing the PID container limit it will make sure that your server is using the max out of its resources
and this is for only pterodactyl panel
Pid limits will show up if it's a issue iirc
yea
it tries to block the usage too
@ProGamingDK
Yeah so they would know it's a issue if it is one until then I wouldn't bother honestly
yea
it changes a bit tho
because when the server is using a lot of memory at fast rates it would stop the server
(sending again to get bot response since message above is broken) https://spark.lucko.me/tuvRAO6n81
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.
ā Aikar's Flags
ā 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.
ā entity-activation-range.villagers
Decrease this in spigot.yml.
Recommended: 16.
Plus 35 more recommendations
Click the buttons below to see more
Requested by wickedmercury#0 ā¢ Page 1 of 4
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.
ā 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.
ā chunks.max-auto-save-chunks-per-tick
Decrease this in config/paper-world-defaults.yml.
Recommended: 6.
Requested by wickedmercury#0 ā¢ Page 2 of 4
there we go sorry friends the arrows were broken
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.
ā Aikar's Flags
ā spawn-limits.water-ambient
Decrease this in bukkit.yml.
Recommended: 5.
ā 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.
ā entities.spawning.despawn-ranges.ambient.soft
Decrease this in config/paper-world-defaults.yml.
Recommended: 28.
Requested by wickedmercury#0
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 wickedmercury#0 ā¢ Page 1 of 5
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.
ā Aikar's Flags
Requested by wickedmercury#0
okay sick
well do use aikar flags
its a pretty nice recommendation
yeah i just did it now lets see
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.
ā
All good
Analyzed with no recommendations.
Requested by wickedmercury#0
im still running 500+ ticks behind
but yeah the cpu is the main thing destroying ur performance honestly
get Pufferfish
16% of thread is being used on villagers
does pufferfish replace paper
disable your timers
yes
but its a fork of it
thats what i thought okok
windows server is also not recommended for running servers
especially when ur tight on performance and ram etc
as it has a higher overhead because gui and windows just aint that optimized
it also uses alot more swap
in pufferfish?
no
you have a
/timer
wtf
hmm okay let me go hunting
to find that lmao
wait
is this server running on a ssd/nvme
do u have any datapacks?
they do! i think they have 4
spawners are also causing issues
is the world pregenned?
no its not
ouch
yeha
minecraft on hdd is gonna be horrible.
no its not. the world file has been around for months
get a ssd/nvme
both of those things are super important
its across multiple raid 0 10k SAS HDDs
yeah still gonna be horrible
1 nvme/ssd for atleast just the mc servers is gonna be so much better
it was having the same response if not worse on apex so i feel like it also just needs something like pufferfish
ill definitely have my boyfriend look into it
apex has pretty bad hardware in some locations + its panel is godawful
so could be yes
but new cpu and ssd/nvme is gonna improve it alot
maybe switching to a linux distro can help aswell as ur using 11.6 gb of ram already in that proxmox instance
definitely in the works. he just got a new blade server so we gotta get componenets for that
and having to rely on swap
(which is horribly slwo
slow*)
especially on a hdd
we can give it as much ram as it needs
should i have him bump it past 12?
well ur running a windows 2012
server
+ mc
on 12 gb
its using swap swap rn
hes gonna try giving it more ram
i appreciate your help so much youre literally live saving lol
i got told that yesterday by another person here aswell :lol:
:KEKW:
what should i do about this
did u read these
!optimise
You can follow these guides to optimize your server
Admincraft Canned Responses
oh no oops! let me go read! thank you
im also downloading pufferfish right now! ill send a report after i get it all optimized and setup!
š«”
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.
ā
All good
Analyzed with no recommendations.
Requested by wickedmercury#0
Looking pretty good, definitely still relying a lot on swap and may want to consider using Purpur instead of base pufferfish
No
You won't want to consider that
It's just bloat with some of pufferfish's patches thrown in
i also know i still gotta bring down mob lag. im guessing iām gonna have to talk with the owner and crack down on mob farms/villager trading halls. but im finally not at 1500 ticks behind and in game is smooth as butter
š
this was our 21 minute report https://spark.lucko.me/TKP20t2anD
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.
ā
All good
Analyzed with no recommendations.
Requested by wickedmercury#0
thank you guys for your support your knowledge has been insane and i appreciate it so much
uh not sure if its on by default
but is DAB turned on?
in pufferfish.yml
it was on by default! set to 8
if you guys are curious, went farm hunting on this server to see how bad it is
one guy alone has 78 villagers in trading halls, a sugarcane farm, pumpkin and melon farm, sheep farm, bamboo farm, iron farm, auto furnace, 2 non auto farms that contain a ton of hoppers, 4x villager based farms with at least 2 villagers in each and then a hoard of villagers where i cant even tell how many are there (pic lol)
Use an entity limiter to set sane entity/chunk limits
i.e. 15 villagers/chunk
There is a decent free one here: https://www.spigotmc.org/resources/56489/
Or the one that I use (that isnt free) https://www.spigotmc.org/resources/15127/
thats so good! i was just gonna talk to the owner about setting a rule but i wasnt sure how to enforce it unless i found the farm
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.
ā entities.spawning.despawn-ranges.monster.soft
Decrease this in config/paper-world-defaults.yml.
Recommended: 28.
ā entities.spawning.despawn-ranges.monster.hard
Decrease this in config/paper-world-defaults.yml.
Recommended: 96.
ā entities.spawning.despawn-ranges.underground_water_creature.soft
Decrease this in config/paper-world-defaults.yml.
Recommended: 28.
ā entities.spawning.despawn-ranges.underground_water_creature.hard
Decrease this in config/paper-world-defaults.yml.
Recommended: 96.
ā entities.spawning.despawn-ranges.water_ambient.soft
Decrease this in config/paper-world-defaults.yml.
Recommended: 28.
ā entities.spawning.despawn-ranges.water_creature.soft
Decrease this in config/paper-world-defaults.yml.
Recommended: 28.
ā entities.spawning.despawn-ranges.water_creature.hard
Decrease this in config/paper-world-defaults.yml.
Recommended: 96.
ā misc.redstone-implementation
Set this to "ALTERNATE_CURRENT" in config/paper-world-defaults.yml.
ā chunks.entity-per-chunk-save-limit.experience_orb
Set a value in config/paper-world-defaults.yml. Recommended: 16.
ā chunks.entity-per-chunk-save-limit.snowball
Set a value in config/paper-world-defaults.yml. Recommended: 16.
ā chunks.entity-per-chunk-save-limit.ender_pearl
Set a value in config/paper-world-defaults.yml. Recommended: 16.
ā chunks.entity-per-chunk-save-limit.arrow
Set a value in config/paper-world-defaults.yml. Recommended: 16.
Requested by wickedmercury#0 ā¢ Page 4 of 4
ah
its still relying on swap
random question
Hi
best way to track/check players play time/ other stats
i want to make ranks with different perks based off server play time
Playtime is a plugin iirc u can give ranks using it else u can use its placeholder in other plugins and give it there
SpigotMC - High Performance Minecraft
Plan | Player Analytics
i found this but wasnt sure if there was one better
Plan is good but its not for what u want
Plan is a web dashboard that gives u pretty nice analytics
like player retention
ahhh
okay okay
ill look for playtime
also ignore this just me checking
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.
ā 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.
ā 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.
ā 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.
Requested by wickedmercury#0 ā¢ Page 1 of 4
#commands exists if u wanna do this more š
THATS SO HOT
i wasnt sure if thats what that was for
amazing thank you
np
its the sole reason ive kept this chat open haha
lolll
hey friends!
back to having 100-300 ticks behind on average
the other admin wants to believe that its our plugins but i genuinely still believe its farms/having a hefty server
can i send you guys a spark report
we are also moving into newer hardware here tonight to see if that helps
yes
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.
ā
All good
Analyzed with no recommendations.
Requested by wickedmercury#0
yeah doesnt look like a plugin at all
more so entities?
spawners
but if a player isnt near one how is it causing lag
16% of main thread is being used by it
atleast in the report u sent
and yeah ur hardware isnt great at handling entities
2% of main thread is being used up by only 11 endermen
damn
okay
so ill try again once we move to newer hardware
and then see if we need to limit farms
the chunks that farms are on have to be loaded to cause lag right?
yes
Old: Xeon E5-2620 - 2012 Q1
New: Xeon E5-2697A v4 - 2016 Q1
a bit better
but nothing great