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
Aikar's Thoughts
JVM Tuning: Optimized G1GC for Minecraft - 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.
5 Replies
Admincraft Meta
Admincraft Meta8mo ago
We have uploaded your file to a paste service for better readability
Paste services are more mobile friendly and easier to read than just posting a file
Requested by brangur#0
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 brangur#0
Skullians
Skullians8mo ago
!spark
Carl-bot
Carl-bot8mo ago
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] (https://spark.lucko.me/docs)
From An unknown user
Admincraft Canned Responses
Skullians
Skullians8mo ago
Create a spark report /spark profiler start --timeout 300 that will output a link after 5 minutes That CPU has not the greatest singlethreaded performance. So it’s either your CPU not being able to handle your server as it’s so heavily modded, or you’ve just got a lot of entities that could be removed The spark profiler will help

Did you find this page helpful?