Server CPU spiking like crazy
Hey, so lately I've been having crazy cpu spikes ranging between 100% and 700% (my cpu's limit is at 600% which makes it even more wierd).
I really did nothing too out of the ordinary, just updated a few plugins. I really have no clue on what could it be. I'm sending here a full log from yesterday and today and a spark.
Yesterday's MCLOGS: https://mclo.gs/BG1CG2e
Today's MCLOGS: https://mclo.gs/5G3804F
Spark: https://spark.lucko.me/WasxyqfWAg
Latest tps: (screenshot)
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
136 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.
❓INFO
You are using
Paper-450 (1.20.4)
. Latest currently is 1.21
.❌ 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.
✅ Your server isn't lagging
Plus 29 more recommendations
Click the buttons below to see more
Requested by raptorcroissant#0 • Page 1 of 4
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 raptorcroissant#0
FIY I've already turned off the AJLB luckperms config that PDK told me.
:shrug:
3 players online... Not even aternos goes this bad
can you do a /spark profiler start --timeout 300 --thread *
done
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 raptorcroissant#0 • Page 1 of 4
I saw protocolib being the highest on server's thread
timeout 300 (five minutes)
responds with link within 120 secondsMath don't add up here
wym?
that I sent it too quickly?
lmaoo I thought it was the same as the spark live :)
here's the one that just got sent in chat https://spark.lucko.me/VFOEl9NULj
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
You didn't do what you were asked.
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 raptorcroissant#0 • Page 1 of 4
I ran the exact command and stopped the previous one, isn't that what I was asked... sorry...
Is the problem that DiscordSRV is being anoying? :Facepalm:
This aint right...
Server took 3 minutes more than usual to startup, crazy
https://mclo.gs/sHRpISx unbelievable
the tps is crazy
Bump :upvote:
First of all go fix the issues
I just updated to 1.20.6 and I have completely different issues :Sad_cat:
This is driving me crazy
protocollib
wrong version
Bet, trying another build
Btw can I delete the plugin remapping folder? I don't know what's for
it will just do it again
its due to paper changing things with craftbukkit
Any reason why this happens????
Ah I see
do a binary search tbh
!binary
Binary search your plugins
Remove half of your non-essential (ie not things like PAPI or LuckPerm) plugins and see if the problem is fixed.
If it still persists, the cause is in the half still installed.
Continue to halve the remaining plugins until you've narrowed it down to a single plugin.
Congratulations, you found the culprit.
Admincraft Canned Responses
Alright, so not even with binary I could figure it out. Mainly because without most of the plugins the server still runs bad but a bit better.
I ran another spark and this is the outcome... pretty bad ngl... https://spark.lucko.me/tzEtIdTGY2
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.
❓INFO
You are using
Paper-450 (1.20.4)
. Latest currently is 1.21
.❌ 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.
Plus 29 more recommendations
Click the buttons below to see more
Requested by raptorcroissant#0 • Page 1 of 4
Already took care of skript (removed it) and tebex (updated it).
I really have no clue wtf is floodgate taking so much of but is on the top. Same with voitifier
2 weeks ago it was working fine, I uploaded a single plugin that I already tried removing and it still doesn't fix the issue.
floodgate should be fine.
WebSocketConnectReadThread is just to do with listening and reading connections
WebSocketWriteThread is unsafe.park() so it's not doing anything
Then idk xD
I also thought it might've been because I had too many plugins for my server to handle and I removed like 10 or so since the last time.
And of course, that didn't fix anything. I think it's worse than the last time I did a spark
have you tried Pufferfish 1.20.4
also can you please do a normal profiler if possible
why are you using java 21?
also your GC seems to be dying
And well, you can see my console is struggling bad bad cuz look at the amount of warns https://mclo.gs/s9dwXUm
Will my plugins get messed up?
And yeah, do I just run a normal one and send it?
ik...
I used aikar's flags
and still no result on fixing tht
let me check
1. No they shouldn't. Always take a backup beforehand though. should be just swapping the jarfiles
2. Yeah run it for 5 minutes or so if possible
yeah
why
nothing wrong with it
so nvm
1. Will do, let me do that rn
2. Roger that, gimme a second
xd
let me do the spark
:ThumbsUp:
and then back up
Can you send me the puperfish thing?
Pufferfish Host | Downloads - Pufferfish Fork
Download Pufferfish and Pufferfish+ Minecraft server jars
download build 52 (latest)
same process as with paper? rename it as server.jar ?
mhm
FYI I use pterodactyl, idk if it's something to take into acc
Thanks :Heart5:
should be fine
not related to anything at the moment
Bet
are you using shared hosting?
xd
VPS?
ouch
vps
from datalix
ah
for all you know someone is hogging all the CPU
hosted in germany
wym
its shared
doesn't matter
but since you all share a CPU on the VPS if someone takes the CPU resources everyone suffers
yeah
not dedicated resources
aka noisy neighbours
and most likely oversold
lmao alr I got it
not sure how spark represents the "CPU (system)" and whether it's the entire machine or the VPS itself
I was gonna buy a dedicated
probably VPS itself
dont need to go dedicated
shared is fine
since reputable hosts won't oversell
and cap cpu
hmm
dedi is usually unneccesary and expensive
I don't get it.
I get the "noisy neighbours" thing but isn't that a problem that the dedicated solves?
yeah
but dedis are expensive and not needed for most. You'd be fine with shared hosting (e.g. bloom)
Since reputable hosts like bloom don't oversell their machines and cap the CPU for each server container, you don't have the issue with "noisy neighbours"
bloom also just mostly deals with dedicated resources
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.
❓INFO
You are using
Paper-450 (1.20.4)
. Latest currently is 1.21
.❌ 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.
Plus 29 more recommendations
Click the buttons below to see more
Requested by raptorcroissant#0 • Page 1 of 4
yeah a few hosts do dedicated threads and whatnot
aah I see
passive animals are quite laggy
hm?
like
sheep
cows
Also why tf do I get this most of the times that I run /spark profiler stop
oh I see
shall I turn it down a bit?
!optimise move to Pufferfish and check out eternity's guide
You can follow these guides to optimize your server
Admincraft Canned Responses
you can try updating spark... you're on 1.10.66 and latest is 1.10.77
"If the command subsequently completes without any errors, this warning should be ignored. :)"
will do
ah I already checked this once, did the performance checks and everything and it ran "good".
Then it started to get bad, I haven't checked if they changed due to a plugin so let me do that rq
currently my guess is noisy neighbours
:Sad_cat:
since it happened so suddenly
Let me talk to datalix...
xd
Just uploaded pupperfish
let's see if it works
pupperfish
:OMEGALUL:
I'm also getting migrated from old gen cpus to gen3 ryzen
sorry
gen3...?
LOL dw
wierd shit idk
you were on a ryzen 9 5900X before
ryzen
yes
are you downgrading?
-.-
yeah....
they had some performance issues themselves with the current cpu we have
so they are moving us to gen3
typical datalix
and see if it fixes
do they not give any more info than that?
by 'gen3' do you mean ryzen 3000, or like Gen3/4/5 slots in terms of hardware
nope
well
cursed?
what the fuck
puperfish doing nothing 😭
that is cursed
i'd say your server (vps) is fucked
move to a shared host asap
this was on startup xD
the fuck
lmfaooo I'm finding some wierd shittt 😭
1099mspt
xDD
this is fked up fr
isn't that like 0.91tps
idk
bro this is weird
I'm the only one on (maintenance)
and it goes from 150% to like 500% itself
and I'm literally doing nothing
honestly I'd say a screwed VPS instance
it may very well be the mc server itself
but realistically shared hosting is better than vps
I hope with the migration it fixes
if not
I'm suing them
how 💀
no clue
you know what mojank is like
2w ago it was perfectly fine and from one day to another, it was running like shit
fr
probably noisy neighbour(s)
Most likely
let's hope
OH
MY
GOD
IT WAS
it was the cpu????
YES
THE FKING NEIGHBOURS
Xd
did they downgrade just you?
or everyone
IDFK
idc tbfh
it works good
so I won't complain
:LUL:
average datalix experience
xDD
well
now I'm happy :P
damn right you should be
:eyesshaking:
almost everything green
been a while since I see this
hell yeah
hell yeaaaaaaah
I can finally close this
for now
post closed!
The post/thread has been closed!
Requested by raptorcroissant#0