Fabric Server Lag (Disabling max-tick-time?)
Hello,
I am currently running a Fabric 1.21 server with 8 GB of memory. All of the mods are either QoL or decoration, nothing drastic. I have pre-generated the world with Chunky so there shouldn't be any lag from loading in new chunks. However, there is consistent rubberbanding/lag whenever there are more than 3 players. The constant errors are "can't keep up! Is the server overloaded?" and "[Player] moved too quickly!".
One solution online is to disable max-tick-time by changing it to -1. Is this a viable fix?
If it helps, below is a list of all of the currently installed mods.
8 Replies
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 avicarious#0
max-tick-time only tells the server how long the server allows a singular tick to take before it force-stops the server.
so if you haven't actually crashed to that, it won't help.
!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] (https://spark.lucko.me/docs)Admincraft Canned Responses
download that
while you're experiencing lag, run
/spark profiler start --timeout 300
and after 5 minutes send the link it outputs hereSorry I should have clarified, all of my crashes have been to timing out.
but I will definitely try this, thank you!
https://www.curseforge.com/minecraft/mc-mods/connectivity download this mod
CurseForge
Connectivity[Forge/Fabric]
Fix Login timeouts, Packet sizes errors, Payloads errors, ghostblocks and more.
48.3M Downloads | Mods
see if it helps
client & server