Modded Ubuntu Server: Constantly 500-700 ticks behind.

Disclaimer: I am illiterate with Java and Linux. Also, it is heavily modded with Medieval Minecraft 4 with forge.

So I built a 24/7 server with an ssd (I don't feel like checking, but it is more than big and fast enough), i5-6500, and 32 GB SODIMM at 3200. It runs on ubuntu, because Debian gave me a lot of problems and once again I am illiterate.

Installed server pack directly and it has been working, that's for sure. I only keep the server script running at any time and backup/reset every couple days on. Issue is those ticks. considering the specs of the mini server I built, it should not be 500-600 ticks behind with only one (or no) player. Roughly 700-1500 with two players.

Anyone willing to help, and sorta explain the logic, I would greatly appreciate it. Remember, I am less than a novice with Linux and java.

Server arguments:
MINECRAFT_VERSION=1.20.1
MODLOADER=Forge
MODLOADER_VERSION=47.2.17
LEGACYFABRIC_INSTALLER_VERSION=1.0.0
FABRIC_INSTALLER_VERSION=1.0.0
QUILT_INSTALLER_VERSION=0.9.1
MINECRAFT_SERVER_URL=https://piston-data.mojang.com/v1/objects/84194a2f286ef7c14ed7ce0090dba59902951553/server.jar
JAVA_ARGS="-Xms4G -Xmx24G -XX:+UseG1GC -XX:+ParallelRefProcEnabled -XX:MaxGCPauseMillis=200 -XX:+UnlockExperimentalVMOptions -XX:+DisableExplicitGC -XX:+AlwaysPreTouch -XX:G1NewSizePercent=30 -XX:G1MaxNewSizePercent=40 -XX:G1HeapRegionSize=8M -XX:G1ReservePercent=20 -XX:G1HeapWastePercent=5 -XX:G1MixedGCCountTarget=4 -XX:InitiatingHeapOccupancyPercent=15 -XX:G1MixedGCLiveThresholdPercent=90 -XX:G1RSetUpdatingPauseTimePercent=5 -XX:SurvivorRatio=32 -XX:+PerfDisableSharedMem -XX:MaxTenuringThreshold=1 -Dusing.aikars.flags=https://mcflags.emc.gs -Daikars.new.flags=true" -nogui
JAVA="java"

Attached a log of the average script after bashing start.sh
bash_log.txt755.2KB
Aikar's Thoughts
Learn more about my In depth study on tuning the G1GC garbage collector to be optimized for how Minecraft servers run, and keep low pause efficient usage.
Was this page helpful?