I have huge lag while my server cpu and ram not working much
which of these plugins could cause enetites or chunks or memory leak to make so much lag I had made many config changes and lower mob counts a lot
AntiSeedCracker, AuthMe, BanItem, BetterTeams, CelestCombat, Chunky, ClickVillagers, DiscordSRV, EntityLimiter, FreedomChat
Infuse, InstantRestock, InventoryRollbackPlus, InvSeePlusPlus, ItemCooldowns, JoinMessage, KnockbackSync, LuckPerms, OneMace, packetevents
PlaceholderAPI, ProtocolLib, SkinsRestorer, StringDupersReturn, Vault, ViaVersion, voicechat, WorldEdit, WorldGuard, XaeroForceDisabler
209 Replies
!spark
Spark Profiler
Spark can be used to see why your server or client is lagging.
Users can share a spark report via
/spark profiler start --timeout 300
which creates a report after 5 minutes. The spark report is useful in debugging why your server is lagging, so ideally you should always provide one while asking for support.
Download | Website | Docs
Admincraft Canned Responses
you want spark profiler results
checked thoese https://spark.lucko.me/wVTxYwcclM
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
one of thoese was when server was not active the other was with 5 people
Well but there is no lag here
in the second one there is
Ah
you can see tps 8
Didnt see
lol
this won't be a problem you can fix with a quick look i tell you that for sure
:villagerthink:
Infuse Plugin is using 30% of ur server thread
Plugins should be at like 1%
π
nobody told me this yet
so that's only thing
is it what's causeing lag without much ram and cpu being used
Also the RAM of your host (physical is full)
Could also be the problem
ye i got that one
am contacting their support
trying to rule this out
gotta told this is not the only problem that the ram is full
made a new server without plugins and loaded 1.5k entities by spawning them with eggs ran smoth as butter
ClickVillager Hoppers is also taking up quite a bit
was added not long time ago
is there like a memory leak or something that changes enetities making them more laggy cuz i was told that was main cause
Well with a memory leak the memory would be probably full but a default spark report doesnt show memory over time i think
Infuse Effects seem to be the main cause of lag from what I can tell
And the GC Timing are also not good
what
no one told me that too
Garbage Collection takes pretty long
Doesnt have to be a problem
i mean let me show you what i have
i was told it was good
java -Xms8G -Xmx8G \ -XX:+UseG1GC \ -XX:+ParallelRefProcEnabled \ -XX:MaxGCPauseMillis=200 \ -XX:+UnlockExperimentalVMOptions \ -XX:+DisableExplicitGC \ -XX:+AlwaysPreTouch \ -XX:+PerfDisableSharedMem \ -XX:G1NewSizePercent=30 \ -XX:G1MaxNewSizePercent=60 \ -XX:InitiatingHeapOccupancyPercent=20 \ -Dterminal.jline=false \ -Dterminal.ansi=true \ -jar server.jar nogui
my start up
Yeah you can see it from the spark report
Have you tried just default aikars flags?
uhh no
You can try to see if they are better
But i honestly don't really know much about Garbage collection too
better then the people at the support i talked to for days
Do you use PacketEvents for InfuseSMP?
uhh i typed the whole plugin list
at top
In conclusion:
- Try Aikars Flags to see if GC Timings improve
- Main Lag comes from Infuse SMP Effects (Mainly Fire and Frost)
It's weird that no one is crafted those effects yet
Well the code for them is run, so they have to probably exist somewhere
Maybe a bug
I wish I had given you more spark report's when I had them
You can send new ones when you have them, but I don't think they would be a whole lot different from the ones you already send
I mean the first one was normal
There are also 2 more recent InfuseSMP minor versions maybe they are better
Keep in mind I made so much config changes to cut mobs down
Ye it's very new
Like few days
I dont see how that would negatively impact performance
No I mean like I watered down everything
It was much worse than now
I don't like how much cutting changes I made
Just to reduce lag
Maybe you can revert them when the InfuseSMP server thread usage and gc timings are better
That's not as easy as it sounds
What paper config changes would you recommend
another spark report https://spark.lucko.me/071gijPITU
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
and this one https://spark.lucko.me/1KEmOGJf7s
spark
spark is a performance profiler for Minecraft clients, servers, and proxies.
Your gc pauses are still pretty long, i guess thats a big part whats killing your TPS but I don't have a clue how that could be fixed.
ubuntu but 8gb of swap
hmm
I didn't even see that before, that could well be part of the problem or not?
well since swap memory is using storage for ram rather then actually ram then yeah could be their entire ram is just storage being used as ram which is slow af
Yeah, but can you even change the swapiness on a host?
Am using the flags you gave me
I was told the os uses little of ram idk
Like In my control penal it can go above 8gb
Tho it's hard for me to tell how much i have
The ram goes above 8 it says 8.36
When I have the lag I don't have a lot of players rn at least and the lag happens when it shows both CPU and ram being low
another offline server π

Who are you sir
another earth dweller

Came help earth dweller
Sounds like caveman name
Earth dweller
where is the magical word?
π
Magical word lol
Also am being polite when I said I want your help
Also kids beg all the time it sounds annoying
1. saying
please
is not begging, its a polite way of asking
2. I don't own you anything, you are talking to me like i broke your server in the first placeAlso I wasn't insulting you if you think that I was joking with you
No you got wrong picture
however you interpret it is fine. im not offended Β―\_(γ)_/Β―
I legit tho have no idea how you got that second part
Lag
π why am I lagging here
I was being polite when I said I want your help
So will you help π
I guess, I'm not familiar with any of these plugins to be honest. CPU is not the worst, so you probably have one or a few plugins eating up a lot of performance
Its probably that the server is using swap instead of ram
Idk how to tell from spark
ye probably being maxed out
this is a host?
Ye you can see control penal
very overallocated node then, maxed physical ram
what shitty ahh host is this
shi lol I would say has pretty good specs for the price of nothing
oh so thats where the problem is
?
"the price of nothing"
you get what you paid for
The specs dont matter if the server is running out of ram and you get the tps drops you see right now
it's just being overloaded on ram it's not normally like this
I hosted rlcraft on it before
well it will be from now on, seems like this node is now oversold!
There are other nodes as well
probably not much better
No they are fy
what is this host anyway
They don't have ram maxed out
Then ask if you can be swapped over
Ye ofc I can
their provisioning mechanism is definitely at fault then, trying to max out one node before allocating the next...
Problem my internet trash and I need to use sftp to upload the whole thing
People can choose nodes
what is this host that weve been talking about? geneuinely curious
I like to keep it secret
ππ
Your host should be able to just move your server in like a minute. You shouldnt need to do anything
Wdym
:marketplace:
Its from their datacenter to their datacenter
Should be 1m
You don't get it more people= bad for me
Idk exactly how things work
With this overallocation probably no one wants to use this host
But maybe your telling me ask a admin to move you
I think otherwise from the community
exactly, nobody want to use this junk host anyway
What I heard
im just curious to take a look lmao
Nah your not right on this one
8 GB ram
Ok, but there is nothing we can do here
Ask to be moved over
Then its on them
Ye am reporting this to admin
-isnt everything
The heck you mean
if you are using swap id better not take that ram
No point in having 8gb of ram if you cant use them
also im personally not in a ram shortage
Ye ik
They are experiencing problems
The only issue with them is response time
sounds like summerhost to me
If they were quick in their fixes i would be happy and not complain
they just slow they have other jobs and what not
And they are. Like a start up
how much are you paying for this per month?
like I said
It's free
I can move my server to the node that doesn't have issue but my internet is bottom of speed π
will have to stop player's
Am not telling you to do anything I thought ram is not only problem you still said GC was big and infuse being not normal
When the ram issue is gone and I can rule it out am see if things get fixed
FreeMinecraftHost?
:marketplace:
too bad the design language on their panel is unique
and i absolutely hate the background lines π
Oh lol
Also you can do whatever you want on your server like uploading your own software
Anything really
Did not know that at first but that's something extra
The name is sue as heck lol
in case you feel threatened by me mentioning their name, i have a lot of spare ram
Memory: 1930MiB / 257856MiB
(this is only one of the servers i own)Why would I be threatened also why you saying you spare ram you finna give me some π

Do they use a currency system? Like by watching ads do you get tokens?
Ye sounds shity on paper at first thought
but you can keep it background
Play game
Like
I've been running my server for more than a month
Without me watching anything it could run for 3 days
am chilling with it
i'd be careful with those services, never know if they would just randomly shut down one day. try having a backup of your world somewhere else
Oh
Hmm
Ye they say ads don't earn you that much
tho they have been here for long time
Do you know falixnode
they are likely getting by with a very slim revenue margin
seen them during my research for your host lmao
They are almost as old is it
am not sure but I would love to help them some way
I would donate or something if I had the money π
turns out your host is a hetzner resell
?
never heard that before
you mean the one who has the servers
hetzner is a cloud provider, and your host just runs their stuff on hetzner's servers
so this is NOT owned hardware
Ik
I am aware
they rent server
so they have a slightly higher operating cost compared to owned hardware
ye I would prefer if they go that route
I do think it's bad idea
take backups, remember Β―\_(γ)_/Β―
They been here for very long time but sure
just curious, do you get free backup slots?
probably not?
Ye everything free
you do?
Ye
like these?


Ye I think so
what kind of profit margins do they have π
π
Let me see what you have and tell you if they got it
databases?
Yep
Idk how use them tho
how many ports, tcp/udp count?
Idk 4 you can make
I made one extra for voicechat
so far whatever you have here would probably cost $5 per month to run based on estimations
am sure there are paid ones that offer 5 dollars a month with better things
Or a better deal I should say
hm, do they allow you to run velocity on their machine
Ofc
Your software too
i might genuinely take advantage of that :minecraftTroll:
Own
Heck nah
Just keep it between us fam
I put you on the good stuff
cloud instances are pricy!
nah im not up to watching ads if i really ask myself
Do you think I watch them

They don't care if you are actually watching
im kinda lazy to even do the things to watch ads
sure bro people I like people like you
More for the others
reloading dns filtering rulesets on the firewall level is a pain i mean
I have no idea what you said
Holy my. English is trash
Β―\_(γ)_/Β―
anyway lmk if the performance is any better after the node change
Got it boss thanks for the help your very chill
I assume you got better response time on your server and members when they ask for your help or having issues unlike them
I self host, so I can get straight to solving whatever issue when they come up, whether its hardware or software
You staff tho and admins
I'm the only "staff" lmao

You run everything alone
Wait you run hosting or server
I run a private community where every player knows each other. It's very easy to manage with no troublemakers
nah im not a hosting company
Oh ok
That's the best option if you wanna start a Minecraft server
Others are don't have the hardware
I just own the hardware the server runs on, as well as other auxiliary services (web proxy for map, backup server, database server)
amazing you got pretty big server what's the number of players tho π
about 30 in total, and ~0 online at a given time π
Omg
some of them like to periodically come on to do things, and we do organize private events during some weekends to have fun together. Most of them are way too busy during the weekdays though
Having good server is problem but having players is a whole different problem
although as the owner i need to be responsible to my players, so even if nobody is playing, im still keeping the server on 24/7 with automated backups
We nearly suffered the loss of a world once due to a hardware failure, and having backups saved my ass lmao
that was almost a year ago though, now we have better hardware with better redundancy
I gotta say that big ah number of GB ram only for small community is a crime punishble by death
ah no, the container runs on a different hardware
._.
ok
the 256gb one is used by me primarily to do dumb things :minecraftTroll:
Lol
the game server/other services run in a high availability proxmox cluster with failover support for 2 complete node failures
aka two servers can die completely and people can still play
overkill? yes
Everyone suffering I guess

responsibility is a big thing Β―\_(γ)_/Β―
theyve entrusted me to host the world, so i need to make sure that trust is met
I feel like that's a problem
what kind of a problem? cost?
Inefficiency

i have the wiggle room to be inefficient :minecraftTroll:

I can give you a reason to please put me on I will drop this server to its knees
In 1 min

π you it won't be a problem
ceph is not horrible though, you just need empty headroom if you expect services to fail over correctly
wait you're CPU?
what is it
That matters more than ram
intel xeons all the way π§
although they are good enough for my player count, always above 20tps

Ye the CPU the hosting have is very new and has like 4.6 GHz
13500 is not that "new"
It's not 13500
from q1 '23
it is from your spark reports
Ye that node
Still very good
π
swap, not so much π
π
i mean you are hitting like 10tps with only one player, and I can run fine at 20tps with 10 players
sooooo Β―\_(γ)_/Β―
Ye the lag spikes are insane
Tho It can be like 8 people normally then lag spike
It happens regardless of players I think
noisy neighbors
the lag spikes are abnormal tho
if someone hammers the cpu then you also get affected
It's not CPU the ram
I can keep track of what's being used too much
i mean both are subject to noisy neighbors
I am the only person who complains most of the time can you believe it idk why would anyone not use full 8 GB just go to other hosting for 4 GB am sure there is one's for that don't use this for anything not demanding
Cya later I will report back when I figure it out