Server lag
Alot of server lag spikes and i cant find the proplem can anyone help me? https://spark.lucko.me/brPOEjZUMT
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
70 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 itsnoury#0
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 itsnoury#0 • Page 1 of 4
Running Paper 1.20.1 on pteradoctal panel bungeecord network
well that isnt good

So denizen and mythicmobs the main cause of lag?
denizen and magic spells are both causing lag on the main thread

Wait would there be a way to switch the thread they are running on?
no
huh oh i thought plugins runs multi threaded while players etc are on same thread
Yea so its like a denizen/magicspells proplem? right?
well denizen mythic mobs and magic spells
are all using a considerable amount of the main thread
protocollib aswell but thats a plugin using protocollib
and not protocollib in itself
ah ic thanks so much
actually update protocollib
oh that might be a proplem?
Yeah that isn't how it works
there should be a version 5.1.0
well no it might just be a bit more optimised
ic
ah yeah i remmbered its mythicmobs which is calling protocollib
so yeah mythicmobs too is taking a very large amount
any way thanks everyone for the help
Hey there's not much lag being caught in this profiler. The mspt doesn't go over 40 in the last hour
Yeah its exteremly weird it like freezes all mobs for like half a second
Then goes back to normal
its like spikes
btw
set network-compression-threshold to -1
in ur server.properties
oh sure
It's your host machine lagging, not necessarily minecraft itself

That 100% CPU System time, tiny TPS drop. Would cause exactly what you said
i mean there is barely anything running on it
But the mspt doesn't go over 50 there

thats like everything running on it
Well 30%+60%=90%
hm tho why is the first one taking much?
its just the bungeecord proxy
that routes people
Profile it.
Spark works on bungee.
thats of 1 thread
:-:
Says of unlimited
:FrogeBIGEYES:
yes
but thats not how it works
lmao
uh so do i profile it ?
pterodactyl does 100% = 1 thread
Ye
with the same paper spark?
or there is like a custom verison
Bungee spark
ah ok
ill install it
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Could verify the real CPU usage from the system itself
Not pterodactyl
i mean there is nothing running on it other than pteradoctal its just centos with pteradoctal
Hmm or maybe should i set different dedicated threads to each server
maybe they overlapping the threads or smth
@ProGamingDK

again
unlimited in pterodactyl
makes spark see 1 thread
:-:
its weird
but it does
:hmmm:
¯\_(ツ)_/¯
ill gladly test it again
So uh how do u use the bungee spark?
normal paper spark commands doesnt seem to work there
Ehm
Well just found out i'm dumb and thought 0 in cpu pinned means unlimited
was using only 1 thread instead of the 24 threads that i had 💀
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 itsnoury#0 • Page 1 of 4
oh wait yeah forgot that was the issue last time aswell lmao
@ProGamingDK see I knew I wasn't smoking shit
not shit but weed
Not in over 48 hours!
thats what the addicts say
Well its even weirder now for the past like 3 hours? there was 0 lag but in the past 2mins there is spikes again
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 itsnoury#0 • Page 1 of 4
and cpu is at like 4%
Hmmm it seems to happen when players are at a certain era
would a broken chunk cause lag?
!offline
no support from me sorry
Should everyone do this?
Where'd you see the servers offline 👀
Same question
The spark profiler clearly says online
Only in certain conditions
Only should do it if it's the backends
Connected to a proxy though!
Thats a bungee network 💀
Yeah proplem was depenzine calling mythicmobs alot of times
after i did some denizen optimization and paper now its better
Yikes