Recent Discussions

Server crashes when joining

Open in Discord
Unanswered
Masai Lion posted this in #questions
56 messages
1 view
Masai LionOP
Here is my log: https://mclo.gs/yY8e1XU

Basically after the server is sitting for a while with no players, the server will crash after someone joins it.
@Masai Lion Here is my log: https://mclo.gs/yY8e1XU

Basically after the server is sitting for a while with no players, the server will crash after someone joins it.
Post the latest.log from the beginning. Crash logs have a bunch of useful information removed.
Masai LionOP
Gotcha, ill post it when it crashes again
@PM_ME_YOUR_REPO Post the latest.log from the beginning. Crash logs have a bunch of useful information removed.
Masai LionOP
Here is the latest log from when it crashed last time though
White-winged Crossbill
"-Xmx10240M -Xms256M" try increasing the -Xms flag to something more reasonable like -Xms2048M, or just match it to your -Xmx
@White-winged Crossbill Removed that message for linking a known github that is giving EXTREMELY bad advice.
@PM_ME_YOUR_REPO @White-winged Crossbill Removed that message for linking a known github that is giving EXTREMELY bad advice.
White-winged Crossbill
Which part was bad? Switching to ZGC? Using GrallVM for the jdk? Was it the flags themselves? Removing the link and just saying 'bad' is insincere.
@White-winged Crossbill Which part was bad? Switching to ZGC? Using GrallVM for the jdk? Was it the flags themselves? Removing the link and just saying 'bad' is insincere.
Every 6 months or so, someone in the Minecraft community notices that we've been using Aikar's flags since 2018, and (failing to ask the question "why") immediately decides that they will be the hero to save server owners.

They then do a bunch of "research", run a bunch of flawed benchmarks, never consult anyone with industry experience, and then publish their results.

G1GC is not "old". It works extremely well for Minecraft, and Aikar's flags are still in use because they are almost universally ideal. All other JVM flag configurations fall short in one way or another, except in very specific conditions.

Those conditions are extremely high required RAM, e.g. for very large servers. In that one case, Generational ZGC is optimal, and only with the -XX:+UseZGC -XX:+ZGenerational flags.

That github checks every box I have just described, and also fails to identify that normal, non-generational ZGC is absolutely awful.

So yeah, we don't allow it here, as it continues spreading snake oil misinformation which we inevitably have to correct when people come here with mysterious performance issues.
White-winged Crossbill
Thanks for that in-depth, yet brief, explanation. I drank the kool-aid on that one.
@White-winged Crossbill Thanks for that in-depth, yet brief, explanation. I drank the kool-aid on that one.
Most do. That's why we yeet it out as soon as we see it. I was only so initially terse because I was at the store lmao.
@Masai Lion Here is the latest log from when it crashed last time though
Back on the main issue, that log is sadly PRETTY EMPTY OF INFO. Can you run a Spark report for us?

We're likely going to need some help from you to narrow down the in-game circumstances that cause the performance degradation, as that's just a Watchdog error, e.g. "stuff was frozen so I turned off". Zero help at all, lol.
White-winged Crossbill
Could it just be the case of poor hardware? That first report says the cpu is a AMD PRO A12-9800E R7...
@White-winged Crossbill Could it just be the case of poor hardware? That first report says the cpu is a AMD PRO A12-9800E R7...
Ehhhhh, it could be, but this isn't the typical response for a CPU that just can't hack it. And I mean, I've seen far worse CPUs not doing this. That one's only about 7-8 years old.
White-winged Crossbill
the performace is worse than an i5-2400 which came in 2011 and what i used for my first server. It essentially old AMD architecture to fit the am4 platform
Loading...