Memory Swap usage at 97%, server crashing on async tasks

How fix? Server has never hit it's max 20gigs, has issues even with no players online. Just started crashing badly today. Hosted on bisect if that helps any, they recently changed panel to Aurora which has been an unwelcome change lol any ideas? Let me know what sort of information you might need to help solve!
41 Replies
Admincraft Meta
Admincraft Meta8mo ago
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 themuskratqueen#0
TheMuskratQueen™
TheMuskratQueen™OP8mo ago
Server is 1.20.4, that might be relevant Turns out Bisect is the issue
Ibotmealot
Ibotmealot8mo ago
doesn't suprise me make a post in #marketplace
TheMuskratQueen™
TheMuskratQueen™OP8mo ago
they are neutering our 20gig of ram to 5-6 because they turned on memory swap or something youre apparantly not supposed to have our issue if youre not out of ram XD it says 5/20gig right now
DogeConomy
DogeConomy8mo ago
swap is really bad They're using the disk as RAM
Ibotmealot
Ibotmealot8mo ago
would highly recommend https://bloom.host , it's who I use and haven't had any issues, but yeah bisect isn't know to be a good provider. if you make a post in #marketplace other hosts themselves will come to you as well
Bloom.Host
Bloom Host | Dedicated Minecraft Hosting, VPS and Bare Metal
Bloom offers Ryzen 9 dedicated Minecraft server hosting, dedicated Virtual Private Servers and Bare Metal. Experience the outstanding performance of Bloom!
TheMuskratQueen™
TheMuskratQueen™OP8mo ago
its been running great up until today 😦 we got a hell of a deal with bisect too an a sale they had
DogeConomy
DogeConomy8mo ago
What plan did you pay for?
Ibotmealot
Ibotmealot8mo ago
they aren't known to be great, and I doubt that you're deal is truly one that good tbh ¯\_(ツ)_/¯
DogeConomy
DogeConomy8mo ago
^^ I agree with Ibotmealot
TheMuskratQueen™
TheMuskratQueen™OP8mo ago
we're on budget with 20 gigs we got on a black friday sale for 50% off
Ibotmealot
Ibotmealot8mo ago
what are you paying and what are the specs you get in return?
TheMuskratQueen™
TheMuskratQueen™OP8mo ago
so we pay 50cad a month for 20 gigs and its been LOVELY until now
DogeConomy
DogeConomy8mo ago
bruh with that money you can rent a whole dedicated server with 64GB of RAM
Ibotmealot
Ibotmealot8mo ago
lol
DogeConomy
DogeConomy8mo ago
and a solid processor (e.g i9-9900k)
Ibotmealot
Ibotmealot8mo ago
^ yeah you're really overpaying, also 20gb is too much for minecraft
DogeConomy
DogeConomy8mo ago
they're scamming you
Ibotmealot
Ibotmealot8mo ago
!oom
Carl-bot
Carl-bot8mo ago
My server is using too much memory
My panel says my memory usage is high all the time. Your server runs in the Java Virtual Machine (JVM), which has significant overhead & tries to effectively use ALL of the memory assigned to it. Memory usage from "htop", Task Manager, or your server panel is the total consumption of the JVM, not just your server. My server is lagging & I think it's memory related. It's much more likely that you are bottlenecked by your CPU, disk, or some inefficient mod/plugin. Rule of thumb, servers should have anywhere from 4GB to 12GB of memory, with 8GB being the 'sweet spot'. If you're heavily modded, add 4GB to that. Too much memory can be a bad thing. Don't exceed these caps unless you really know why you're doing it. Troubleshoot your server the right way: use Spark & send us a report. My server is randomly terminated unexpectedly. Setting your server to use 8GB does not mean that Java won't exceed this amount. As a rule of thumb, allow your system/container about 1-2GB (possibly more) overhead outside of the server. If you're on Linux & can SSH into the system, check your kernel logs. They will report any incidents of OOM. I want to use swap to allocate more memory. Don't. Swap is not free memory and using it can negatively impact performance.
Admincraft Canned Responses
Ibotmealot
Ibotmealot8mo ago
this message explains it more but you really only need 12gb max, any more is just like throwing it at the server to burn
TheMuskratQueen™
TheMuskratQueen™OP8mo ago
we run alot of plugins tho
Ibotmealot
Ibotmealot8mo ago
like?
DogeConomy
DogeConomy8mo ago
still overpriced though yeah what plugins
TheMuskratQueen™
TheMuskratQueen™OP8mo ago
we usually use about 14gigs out of the 20
Ibotmealot
Ibotmealot8mo ago
and 20gb is still too much, regardless of plugin count imo
TheMuskratQueen™
TheMuskratQueen™OP8mo ago
one of the plugins we refuse to get rid of has a memory leak the dev wont fix lol
Ibotmealot
Ibotmealot8mo ago
that's because if you give minecraft that much it's going to use that much
DogeConomy
DogeConomy8mo ago
did you use Aikar's flags to optimise java garbage collection?
Ibotmealot
Ibotmealot8mo ago
it doesn't mean that it needs that much :Kanye_Stare: what plugin
DogeConomy
DogeConomy8mo ago
!aikar
Carl-bot
Carl-bot8mo ago
Garbage Collection is an important aspect of Java
Usually you'll want to fine-tune your server's GC to maximize efficiency but minimize the negative effects (e.g. stuttering). The baseline recommendation is to use G1GC, you should follow aikar's recommendations (a Paper core dev) on how to tweak it. For contemporary java versions, there's also ShenandoahGC with even shorter pauses and smaller CPU overhead, hilltty's flagset is the usually recommended. If you feel adventurous, you can also try out the latest of the three, ZGC. It is not yet spread wide, actually digging up a reference was somewhat hard. If you want to read a general overview of Java GCs, there's this one in the making.
Admincraft Canned Responses
TheMuskratQueen™
TheMuskratQueen™OP8mo ago
mythicmobs
DogeConomy
DogeConomy8mo ago
this reduces memory usage by a significant amount since old unused memory in the RAM gets cleaned up faster
TheMuskratQueen™
TheMuskratQueen™OP8mo ago
will it even help though if the host is throttling our ram?
ProGamingDk
ProGamingDk8mo ago
shendoah sadge
DogeConomy
DogeConomy8mo ago
no, hence switching hosts
TheMuskratQueen™
TheMuskratQueen™OP8mo ago
gotcha
DogeConomy
DogeConomy8mo ago
since you're already on swap (aka Fake RAM) it won't be as significant of an improvement over your current setup if you stay with bisect
TheMuskratQueen™
TheMuskratQueen™OP8mo ago
Conclusion: Bisect is terrible and will steal your ram !solved
Admincraft Meta
Admincraft Meta8mo ago
post closed!
The post/thread has been closed!
Requested by themuskratqueen#0

Did you find this page helpful?