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
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 itsnoury#0
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 itsnoury#0 • Page 1 of 4
Noury
NouryOP2y ago
Running Paper 1.20.1 on pteradoctal panel bungeecord network
ProGamingDk
ProGamingDk2y ago
well that isnt good
No description
Noury
NouryOP2y ago
So denizen and mythicmobs the main cause of lag?
ProGamingDk
ProGamingDk2y ago
denizen and magic spells are both causing lag on the main thread
No description
Noury
NouryOP2y ago
Wait would there be a way to switch the thread they are running on?
ProGamingDk
ProGamingDk2y ago
no
Noury
NouryOP2y ago
huh oh i thought plugins runs multi threaded while players etc are on same thread Yea so its like a denizen/magicspells proplem? right?
ProGamingDk
ProGamingDk2y ago
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
Noury
NouryOP2y ago
ah ic thanks so much
ProGamingDk
ProGamingDk2y ago
actually update protocollib
Noury
NouryOP2y ago
oh that might be a proplem?
Discount Milk
Discount Milk2y ago
Yeah that isn't how it works
ProGamingDk
ProGamingDk2y ago
there should be a version 5.1.0 well no it might just be a bit more optimised
Noury
NouryOP2y ago
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
Discount Milk
Discount Milk2y ago
Hey there's not much lag being caught in this profiler. The mspt doesn't go over 40 in the last hour
Noury
NouryOP2y ago
Yeah its exteremly weird it like freezes all mobs for like half a second Then goes back to normal its like spikes
ProGamingDk
ProGamingDk2y ago
btw set network-compression-threshold to -1 in ur server.properties
Noury
NouryOP2y ago
oh sure
Discount Milk
Discount Milk2y ago
It's your host machine lagging, not necessarily minecraft itself
Discount Milk
Discount Milk2y ago
No description
Discount Milk
Discount Milk2y ago
That 100% CPU System time, tiny TPS drop. Would cause exactly what you said
Noury
NouryOP2y ago
i mean there is barely anything running on it
Discount Milk
Discount Milk2y ago
But the mspt doesn't go over 50 there
Noury
NouryOP2y ago
No description
Noury
NouryOP2y ago
thats like everything running on it
Discount Milk
Discount Milk2y ago
Well 30%+60%=90%
Noury
NouryOP2y ago
hm tho why is the first one taking much? its just the bungeecord proxy that routes people
Discount Milk
Discount Milk2y ago
Profile it. Spark works on bungee.
ProGamingDk
ProGamingDk2y ago
thats of 1 thread :-:
Discount Milk
Discount Milk2y ago
Says of unlimited :FrogeBIGEYES:
ProGamingDk
ProGamingDk2y ago
yes but thats not how it works lmao
Noury
NouryOP2y ago
uh so do i profile it ?
ProGamingDk
ProGamingDk2y ago
pterodactyl does 100% = 1 thread
Discount Milk
Discount Milk2y ago
Ye
Noury
NouryOP2y ago
with the same paper spark? or there is like a custom verison
Discount Milk
Discount Milk2y ago
Bungee spark
Noury
NouryOP2y ago
ah ok ill install it
Discount Milk
Discount Milk2y ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Discount Milk
Discount Milk2y ago
Could verify the real CPU usage from the system itself Not pterodactyl
Noury
NouryOP2y ago
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
Discount Milk
Discount Milk2y ago
@ProGamingDK
Discount Milk
Discount Milk2y ago
No description
ProGamingDk
ProGamingDk2y ago
again unlimited in pterodactyl makes spark see 1 thread :-: its weird but it does
Discount Milk
Discount Milk2y ago
:hmmm:
ProGamingDk
ProGamingDk2y ago
¯\_(ツ)_/¯ ill gladly test it again
Noury
NouryOP2y ago
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 💀
Noury
NouryOP2y 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 itsnoury#0 • Page 1 of 4
ProGamingDk
ProGamingDk2y ago
oh wait yeah forgot that was the issue last time aswell lmao
Discount Milk
Discount Milk2y ago
@ProGamingDK see I knew I wasn't smoking shit
ProGamingDk
ProGamingDk2y ago
not shit but weed
Discount Milk
Discount Milk2y ago
Not in over 48 hours!
ProGamingDk
ProGamingDk2y ago
thats what the addicts say
Noury
NouryOP2y ago
Well its even weirder now for the past like 3 hours? there was 0 lag but in the past 2mins there is spikes again
Noury
NouryOP2y 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 itsnoury#0 • Page 1 of 4
Noury
NouryOP2y ago
and cpu is at like 4% Hmmm it seems to happen when players are at a certain era would a broken chunk cause lag?
Zeda
Zeda2y ago
!offline
Zeda
Zeda2y ago
no support from me sorry
CtrlAltDelMe
CtrlAltDelMe2y ago
Should everyone do this?
GhostOfValhalla
Where'd you see the servers offline 👀
CtrlAltDelMe
CtrlAltDelMe2y ago
Same question
GhostOfValhalla
The spark profiler clearly says online
ProGamingDk
ProGamingDk2y ago
Only in certain conditions Only should do it if it's the backends
TheCubeN00B
TheCubeN00B2y ago
Connected to a proxy though!
Noury
NouryOP2y ago
Thats a bungee network 💀 Yeah proplem was depenzine calling mythicmobs alot of times after i did some denizen optimization and paper now its better
Discount Milk
Discount Milk2y ago
Yikes

Did you find this page helpful?