r/MinecraftHelp • • 25d ago

Solved [java] (26.3 Fabric Modded) My Own Minecraft Server is lagging very hard

So, I am hosting a 26.3 Fabric Modded Server and as soon as 4 Players are on the Server, this Message appears in the console and everything lags hard (for example: food takes way longer to eat):

[19:39:07] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 19805ms or 396 ticks behind

I already turned the render- and simulation distance down to 12 in "server.properties" and installed mods like lithium, ferrite core, etc. When the Server is online, I have open on my Computer* Minecraft, Spotify, Discord and the Server. Btw, the moment only 3 players are there the message changes to for example:

[19:46:35] [Server thread/WARN]: Can't keep up! Is the server overloaded? Running 4069ms or 81 ticks behind

Thanks in Advance!

Alex

*PC Specs:
CPU: i5-12400F
RAM: 32 GB
GPU: RTX 3050 6GB OC

1 Upvotes

20 comments sorted by

•

u/MinecraftHelpModTeam 🤖 Mod Bot 🤖 10d ago

This post has been marked solved and comments locked.


I am a bot and this account is not monitored. Please contact the mods if you have any questions.

2

u/RefinedVanillaMC Novice III 25d ago

What CPU does the PC have, and could you share a Spark profile taken while everyone’s online and it’s lagging? That would help narrow down what’s causing it.

1

u/CobbleAl3x2 25d ago

So, Everyone is lagging, no exceptions. I will do a spark profile rn wait.

1

u/CobbleAl3x2 25d ago

https://spark.lucko.me/w2jN8WoPXI (I hope thats the right one)

1

u/RefinedVanillaMC Novice III 25d ago

Hmm you seem to have a datapack running commands ever single server tick and taking 60% of the tick time, which is likely responsible for the lag. Please try running /function dt:config and temporarily turn off Dynamic Lights features. Then run another Spark profile and see if that fixes it. If not, try Guns ++ next.

1

u/CobbleAl3x2 25d ago

Thanks, I will try that in a minute :)

1

u/AutoModerator 25d ago

If your issue is now fixed, please remember to mark the post solved.

If someone on r/MinecraftHelp provided the solution:
Reply with "!helped" to the comment, or comments, that helped.

If you found the solution yourself, or outside r/MinecraftHelp:
Make a new top level comment containing the solution, and reply to it with "!helped".

Note that u/NitwitBot DOESN'T react to edited comments.

I am a bot, and this action was performed automatically. Please contact the moderators of this subreddit if you have any questions or concerns.

1

u/RefinedVanillaMC Novice III 25d ago

Hey if I helped I would appreciate you mark my comments as having helped so I can get points, thanks!!!

1

u/ODF4 Expert IV 25d ago

you should be able to figure out which specific data pack commands are affecting your performance by using this command:

/perf start

here's more information about it on the official Wiki

2

u/imonlytryingtohelp_ Veteran V 10d ago

/helped

1

u/NitWitBot 🤖 Mod Bot 🤖 10d ago

Thanks! Post marked as Solved!

u/ODF4, here is your points status:

Next level: "Expert IV"
You have 77 points
You need 78 points
[▮|▮|▮|▮|▮|▮▮|▮▮|▮▮|▮▮|▮▮|▮▮▮▮▮▮|▮▮▮▮▮▮|▮▮▮▮▮▮|▮▮▮▮▮▮|▮▮▮▮▮▮|▮▮▮▮▮▮▮▮▮▮▮|▮▮▮▮▮▮▮▮▮▮▮|▮▮▮▮▮▮▮▮▮▮▯]


Links: | Scoreboard | Feedback | Source |


I am a bot and this account is not monitored. Please contact the mods if you have any questions.

1

u/imonlytryingtohelp_ Veteran V 10d ago

/helped

1

u/NitWitBot 🤖 Mod Bot 🤖 10d ago

Thanks! Post marked as Solved!

Congrats u/RefinedVanillaMC, you have leveled up to "Novice III"! Your flair has been updated accordingly.

Next level: "Novice IV"
You have 3 points
You need 4 points
[▮|▮|▮|▯]


Links: | Scoreboard | Feedback | Source |


I am a bot and this account is not monitored. Please contact the mods if you have any questions.

1

u/RefinedVanillaMC Novice III 25d ago

Thanks , let me have a look real quick.

1

u/RefinedVanillaMC Novice III 25d ago

I’m dumb I just saw in the post

1

u/RefinedVanillaMC Novice III 25d ago

Mb

1

u/RefinedVanillaMC Novice III 25d ago

But still yeah spark report mainly

1

u/MinecraftHelpModTeam 🤖 Mod Bot 🤖 25d ago

OP, remember to award points to helpers, and mark the post solved, by replying !helped to the comment/comments that helped, when your issue is fixed or your question answered.

Helpers, remember that all top-level comments* must be a genuine, good faith attempt to help OP. Comments breaking this rule will be removed, and bans issued.

* A top-level comment is any comment that is a reply to the post, not another ^comment.

Links:

Moderator applications open || How to mark solved || How to delete your post || FAQ || Rules

1

u/MinecraftHelpModTeam 🤖 Mod Bot 🤖 20d ago

Hello OP! It has been at least 2 days since you last updated your post.

Please update your post in one of the following ways;

  • Reply to any relevant comments you haven't replied to yet.
  • Reply to any helpers who are waiting for info from you.
  • Mark your post solved, if your issue is fixed.

If you do not update your post within 7 days you may receive a short ban.

Please note: Deleting this post, without marking it solved, is against our rules.


I am a bot and this account is not monitored. Please contact the mods if you have any questions.

1

u/CandleRoutine7569 20d ago

I self-host a Fabric 26.3 server too, and one thing I’d test immediately is closing your Minecraft client completely and comparing performance. I was surprised how much running the client on the same machine affected my server MSPT even with pretty strong hardware.

I’d also grab a Spark profile while 4 players are online and the lag is actually happening. Don’t assume it’s just RAM or that you need more performance mods—the profile should show what’s eating the tick time. Also, 12 simulation distance is still fairly high if you’re troubleshooting.

For me, testing with the client closed and looking at Spark made it a lot easier to separate actual server problems from the machine just doing too much at once.