A
Admincraft2mo ago
zam

Server Optimization for Contabo

Constant crashes
No description
193 Replies
zam
zamOP2mo ago
No description
zam
zamOP2mo ago
@Livor Mortis
MrMcyeet
MrMcyeet2mo ago
wait what I didnt see the > Killed before idrk what that's about tbh
zam
zamOP2mo ago
yeah it kills the server automatically ended up duping items apparently
zam
zamOP2mo ago
No description
zam
zamOP2mo ago
No description
MrMcyeet
MrMcyeet2mo ago
start using pufferfish follow the optimization guide start using aikar's flags
zam
zamOP2mo ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
zam
zamOP2mo ago
Full report
MrMcyeet
MrMcyeet2mo ago
see if those make a difference
zam
zamOP2mo ago
All tick issues
No description
zam
zamOP2mo ago
Everything else is good
No description
zam
zamOP2mo ago
yeah i was about to say i dont have
MrMcyeet
MrMcyeet2mo ago
your server is spending a bunch of time ticking entities; maybe look into mfm there are free alternatives but ive never used them
zam
zamOP2mo ago
Any documentation for switching from paper?
MrMcyeet
MrMcyeet2mo ago
just change the .jar file out same everything else
zam
zamOP2mo ago
ah, what about paper configs?
MrMcyeet
MrMcyeet2mo ago
wdym
zam
zamOP2mo ago
No description
MrMcyeet
MrMcyeet2mo ago
🤦‍♂️ I know what they are I mean what about them
zam
zamOP2mo ago
do they get replaced ig?
MrMcyeet
MrMcyeet2mo ago
no pufferfish uses them pufferfish is just a set of patches on top of paper so all your paper settings etc are saved
ProGamingDk
ProGamingDk2mo ago
its called not using contabo, they oversell a shit ton, networking is shit etc
zam
zamOP2mo ago
I paid for 3 months 😭
MrMcyeet
MrMcyeet2mo ago
that too
zam
zamOP2mo ago
yeah ill switch eventually
ProGamingDk
ProGamingDk2mo ago
cut your losses imo
MrMcyeet
MrMcyeet2mo ago
oh also disable tps catchup in pufferfish's config makes player experience better (imo, anyway) and the server has to do less cause its not trying to catch up after a tps drop
zam
zamOP2mo ago
ok pufferfish > purpur?
MrMcyeet
MrMcyeet2mo ago
yeah
zam
zamOP2mo ago
mfm doesnt support 1.21
ProGamingDk
ProGamingDk2mo ago
just look at older builds or update 1.21 isnt a good version. it has dupes etc
zam
zamOP2mo ago
i mean i mrunning p much a base vanilla servert
MrMcyeet
MrMcyeet2mo ago
would recommend updating to the latest pufferfish build
zam
zamOP2mo ago
did
MrMcyeet
MrMcyeet2mo ago
should just work, but do take backups oh
zam
zamOP2mo ago
as in build 27?
MrMcyeet
MrMcyeet2mo ago
seems like it
zam
zamOP2mo ago
i might eventually servers boutta make it past the two week mark lmao did a bunch of optimizations: was great for a while, then everyone started coming together and TPS shit the bed cpu i think is the issue
zam
zamOP2mo ago
No description
MrMcyeet
MrMcyeet2mo ago
this looks fine tbh if you have more than a one-off lag spike you can get a spark report and post it here
zam
zamOP2mo ago
@Livor Mortis I literally cant find a reason
No description
zam
zamOP2mo ago
I'm trying to figre out why this shit's going on. I keep constantly having TPS slowly drop more and more and then it crashes and kills the server i limited entities down to 70% i would offer money but id ont know if theres any way to guarantee af ix i was thinking of upgrading my contabo but theres an off chance thats the issue but i dont know
zam
zamOP2mo ago
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
zam
zamOP2mo ago
No description
zam
zamOP2mo ago
No description
zam
zamOP2mo ago
No description
Tamz
Tamz2mo ago
errr
zam
zamOP2mo ago
right before crash
Tamz
Tamz2mo ago
The system is running Ubuntu 24.04.1 LTS (amd64) version "6.8.0-51-generic" and has 4 CPU threads available.

The CPU is described as an AMD EPYC 7282 16-Core Processor.
The system is running Ubuntu 24.04.1 LTS (amd64) version "6.8.0-51-generic" and has 4 CPU threads available.

The CPU is described as an AMD EPYC 7282 16-Core Processor.
Tamz
Tamz2mo ago
No description
zam
zamOP2mo ago
yeah contabo I know
Tamz
Tamz2mo ago
:YEP: well uh sorry for your loss man
zam
zamOP2mo ago
should i upgrade to a better contabo VPS w/ more cores?
Tamz
Tamz2mo ago
how much do you pay
zam
zamOP2mo ago
5 a month for 6gb and 4 cores 100gb nvme ssd
Tamz
Tamz2mo ago
what region
zam
zamOP2mo ago
na-east new york
zam
zamOP2mo ago
No description
zam
zamOP2mo ago
this is really helpful
Tamz
Tamz2mo ago
you can go with pebblehost 1gb/$
zam
zamOP2mo ago
whenveer loaded entities and loaded chunkks go up the tps goes down and it never decreases
Tamz
Tamz2mo ago
they have a i9 9900k for the 1gb/$
No description
zam
zamOP2mo ago
does it make that much of a difference
Tamz
Tamz2mo ago
big difference i remember when my place went from bisect's shitty xeons to a 7950x it literally boosted us by 20+ players (400 mod modpack, that was optimized to OBLIVIAN) from like 15 players its a big difference having a more powerful cpu
zam
zamOP2mo ago
I thought minecraft was a lot more multirheated?
Tamz
Tamz2mo ago
if you wanna test i have a EU i9 9900k to see its performance not even a BIT minecraft has never been multi threaded never will mojang and its team wont ever make it as itll probably take a entire rewrite
zam
zamOP2mo ago
i thought it switched after 1.12
Tamz
Tamz2mo ago
nope
zam
zamOP2mo ago
ah so you think that by switching to pebblehost, everything will pretty much fix itself performance wise?
Tamz
Tamz2mo ago
pebblehost, you can disable the ddos protection
No description
Tamz
Tamz2mo ago
itll give you a boost it might not Fix but itll help 100% again, i can give you a temp instance on my own machine that i run in the EU if you wanna test as it has a i9 9900k like this bisect plan
zam
zamOP2mo ago
would Folia help at all
Tamz
Tamz2mo ago
no as folia needs a hella lot of cores
zam
zamOP2mo ago
ah so its intended for like 100+ ccu
Tamz
Tamz2mo ago
like 16 cores minimum or reccomended either one its best for that cpu you have rn, but if you had access to it 100%
zam
zamOP2mo ago
ah
Tamz
Tamz2mo ago
all cores, all ram, etc etc but i suggest pebble they are pretty good and reputable
zam
zamOP2mo ago
i had used pebble in the past with no issue i had 3 days downtime once really annoying it was my node i think was just gone for some erason support didnt help at all
Tamz
Tamz2mo ago
:GhostHuh: how long ago was that?
zam
zamOP2mo ago
left a sour taste last year actually october
Snow Kit
Snow Kit2mo ago
I know what's wrong with it. It ain't got no gas in it
No description
Tamz
Tamz2mo ago
LOL
Snow Kit
Snow Kit2mo ago
lower your xmx my dude
Tamz
Tamz2mo ago
fuck i didnt even see that
zam
zamOP2mo ago
Lower to 4?
Snow Kit
Snow Kit2mo ago
something like hat, I'm not sure tbh
zam
zamOP2mo ago
is that the issue you believe?
Snow Kit
Snow Kit2mo ago
yes, if you're server is out of memory, it's unhappy
zam
zamOP2mo ago
bc im normally hitting a max of 10 players
Snow Kit
Snow Kit2mo ago
maybe add some swap
zam
zamOP2mo ago
aikars flag, 4.5 good?
Tamz
Tamz2mo ago
i still think swapping would be better :3 no
Snow Kit
Snow Kit2mo ago
you're only using like 1.3GB on the heap or something like that
zam
zamOP2mo ago
so go down to 3.5?
Tamz
Tamz2mo ago
yea
Snow Kit
Snow Kit2mo ago
if you wanted to go down to 2gb or 3gb, you would probably be fine
Tamz
Tamz2mo ago
this is the issue with vps's no overhead
zam
zamOP2mo ago
do you think 3.5 is overdoing it on my plan analytics i think
Snow Kit
Snow Kit2mo ago
add some swap
zam
zamOP2mo ago
it had added some 1 sec
Snow Kit
Snow Kit2mo ago
spark says 0 swap
zam
zamOP2mo ago
yeah my ram maxed out at 2600
No description
zam
zamOP2mo ago
with 11 players
Snow Kit
Snow Kit2mo ago
that's before gc ran if you look at what memory usage was after gc, I think it's only at 1.3gb
zam
zamOP2mo ago
ATM its using 2.3 3 players on
Snow Kit
Snow Kit2mo ago
aikar's flags will only run gc at like 40% memory usage or something like that
Tamz
Tamz2mo ago
@Snow Kit this worth enough to ping dan over?
Snow Kit
Snow Kit2mo ago
so keep that in mind ¯\_(ツ)_/¯ no clue
zam
zamOP2mo ago
i dont know if i have any logs
Tamz
Tamz2mo ago
fair enough
zam
zamOP2mo ago
of it it might have been discord saupport instead of hteir tickets on website
Tamz
Tamz2mo ago
if you can find it, make another ticket
zam
zamOP2mo ago
i dont remember
Tamz
Tamz2mo ago
if they are the same we will ping dan :thumbsupcat:
zam
zamOP2mo ago
server killed itself lmao ty. i reduced it down to 3.5 to give it some overhead (2 should be enough for the ubuntu OS and other stuff)
Snow Kit
Snow Kit2mo ago
it also depends on just what plugins you're using if they'll need memory outside of the heap space
zam
zamOP2mo ago
No description
Snow Kit
Snow Kit2mo ago
it's kinda hard to predict how much overhead you need tbh
zam
zamOP2mo ago
voicechat might be a big one
Tamz
Tamz2mo ago
not really geyser is the big one imo
zam
zamOP2mo ago
along w/ floodgate? and broadcast too
Tamz
Tamz2mo ago
soso roughly
zam
zamOP2mo ago
ig
Snow Kit
Snow Kit2mo ago
ajleaderboards will really do some funky stuff with memory usage outside of the heap
zam
zamOP2mo ago
dont have ajleaderboards its p much a basic vanilla server
Snow Kit
Snow Kit2mo ago
ik, I'm just saying that, I've seen it a few times
zam
zamOP2mo ago
i think the memory might be the actual issue; i would have never noticed that. didnt know how to navigate spark reports if so theres no reason to upgrade my memory
Snow Kit
Snow Kit2mo ago
yeah, if your mspt is well below 50, but your tps is low, then it's an underlying issue with the machine
zam
zamOP2mo ago
is the i9 9900k on pebblehost native or
Snow Kit
Snow Kit2mo ago
their minecraft shared hosting is docker/pterodactyl based now
zam
zamOP2mo ago
i ssh into a protected ubuntu installation
Tamz
Tamz2mo ago
i wouldnt call it "Protected" but sure pebble is probably a bit more secure
zam
zamOP2mo ago
its prolly equal
Tamz
Tamz2mo ago
pebble would probs be more secure, contabo has.. its own issues
zam
zamOP2mo ago
1 more thing: since the amount of entities seems to directly correlate with degrade performance, should clearlagg help it out? ive tried touching up spawn rates but it still builds up over time
zam
zamOP2mo ago
No description
zam
zamOP2mo ago
red-entities green- tps purple - mspt
Tamz
Tamz2mo ago
yeah thats also due to the bad cpu sorta
zam
zamOP2mo ago
ok wait. do chunks and entity unload by defualt? because entity count never seems to dissipate I am aware of the tree chopper stuff but I'm wroking within my limitations to make it playable
zam
zamOP2mo ago
Very similar to my issue
Tamz
Tamz2mo ago
yeah they do
zam
zamOP2mo ago
on my graphs, they never go down plan & sparks
Tamz
Tamz2mo ago
if you are constantly in 1 place, or moving itll be roughly the same line
zam
zamOP2mo ago
i meant even if like you have 7 players on and it goes down to 3 its still the same as 7
Tamz
Tamz2mo ago
after how long
zam
zamOP2mo ago
almost as if those entities are having a jolly fun time together no matter how long
Tamz
Tamz2mo ago
odd
zam
zamOP2mo ago
No description
Tamz
Tamz2mo ago
wait you have the Plan plugin installed?
zam
zamOP2mo ago
No description
Tamz
Tamz2mo ago
thats pretty cpu heavy iirc
zam
zamOP2mo ago
It defo helps with this stuff however im only using 9% of my cpu
Tamz
Tamz2mo ago
try disabling it and seeing its performance diff
zam
zamOP2mo ago
i was having the same issues before the plugin was insatlled
Tamz
Tamz2mo ago
nvm then lol
zam
zamOP2mo ago
ive had it since like day one really 10 players together bunch of entities and loaded chunks render distance is low same for sim distance i just told players to use bobby and DH so its not server impacting
Tamz
Tamz2mo ago
true good ask of em
zam
zamOP2mo ago
even when no ones exploring like theyre going to one central place thats already loaded its just slowly loading in more and more idc abt posting this no care in the world about security ill secure it another day im just posting so you can have access to the graphs because i really really dont know what to look for
zam
zamOP2mo ago
No description
zam
zamOP2mo ago
are entities more of a cpu thing like calculating their ai all at once or memory like storing abunch if its proven to be the CPU then ill switch but i dont want to jump ship if its not
Tamz
Tamz2mo ago
something like that yeah
zam
zamOP2mo ago
so adding on another 24gb wont do jack
Tamz
Tamz2mo ago
:PepeCough: i can offer you a test instance third times the charm :EZY: maybe but not greatly like
zam
zamOP2mo ago
wdym by that
Tamz
Tamz2mo ago
how bad your cpu is is Aternos has better cpu
zam
zamOP2mo ago
gonna be honest i blame my buddy for putting me on contabo
Tamz
Tamz2mo ago
kick his ass
zam
zamOP2mo ago
he uses it to host his search engine ok sick its down
Tamz
Tamz2mo ago
i got a EU i9 9900k, and NA 9900x servers for my own reasons. not a server host so if you wanna test the cpu's i can give you a temp server with the same ram and storage you have rn for contabo and test it out i have 0 idea why i wanna let you test so bad
zam
zamOP2mo ago
i would maybe like to try that out but i dont know well it would translate consider id need to reconfigure just to make sure utilization is the same
Tamz
Tamz2mo ago
but i guess i just wanna use the mfing server i pay for, for once lmao
zam
zamOP2mo ago
either way we dont have 10 players to join to increase entities and chunks
Tamz
Tamz2mo ago
drag -> drop -> small fixs if server breaks problem solved
zam
zamOP2mo ago
where did you buy your servers
Tamz
Tamz2mo ago
hetzner, and privately owned hetzner is for EU so the i9 9900k
iRazvan2745
iRazvan27452mo ago
Dont use contabo its not for games they also overshell the shit out of their servers
zam
zamOP2mo ago
wow i love this
No description
Snow Kit
Snow Kit2mo ago
Wow 10/10
zam
zamOP2mo ago
ive brought a pebblehost server
MrMcyeet
MrMcyeet2mo ago
you shouldnt really rely on systems like this instead, when you get a lag spike, just peek at your spark report and see what is actually causing the lag
zam
zamOP2mo ago
entities its 100% entities every single time and i think i misconfigured it because it doesnt go down at all
ProGamingDk
ProGamingDk2mo ago
this is not a good idea 😭
MrMcyeet
MrMcyeet2mo ago
then use an entity limiter, dont periodically purge them Pufferfish also has a setting called DAB You could consider using that, it helps with entities quite a bit
Lunaiskey
Lunaiskey2mo ago
entity purging is a bandaid fix at best
zam
zamOP2mo ago
contabo vs pebblehost
No description
zam
zamOP2mo ago
pebblehost at end after last tps drop
MrMcyeet
MrMcyeet2mo ago
What am I looking at here
zam
zamOP2mo ago
constant drops were contabo
No description
zam
zamOP2mo ago
pebblehost
No description
Lunaiskey
Lunaiskey2mo ago
looks about right

Did you find this page helpful?