How can I find out, what mod is causing big tick lags

I created my modpack today and try to play online with essentials, but some mods or mod is causing huge tick lags. How can I find out, which mod is causing that. https://mclo.gs/GNenl3x
mclo.gs
Forge 1.20.1 Server Log [#GNenl3x]
11186 lines | 178 errors
65 Replies
Inti Nature
Inti Nature6mo ago
i think this is not the right discord to ask this kind of things, but i suggest trying a /binary search
YAGPDB.xyz
YAGPDB.xyz6mo ago
Try a binary search and figure out which mod is causing it. So disable half of the mods, see if issue is still there, if yes disable half again etc etc until you find the mod that's causing the issue.
Tenor
PraetorianGuard
PraetorianGuardOP6mo ago
yeah i thought the same, but i dont know where to ask
Inti Nature
Inti Nature6mo ago
isn't there like a fabric dc or smth? of minecraft? *or
Puhpine
Puhpine6mo ago
are you sure its tick lag? did you host the world or join someone?
PraetorianGuard
PraetorianGuardOP6mo ago
hosting the world
Puhpine
Puhpine6mo ago
how much ram do you have allocated?
PraetorianGuard
PraetorianGuardOP6mo ago
"[19Juni2024 21:26:56.105] [Server thread/WARN] [net.minecraft.server.MinecraftServer/]: Can't keep up! Is the server overloaded? Running 22832ms or 456 ticks behind"
Puhpine
Puhpine6mo ago
thats normal
PraetorianGuard
PraetorianGuardOP6mo ago
32GBs
Puhpine
Puhpine6mo ago
you can ignore those warnings well
PraetorianGuard
PraetorianGuardOP6mo ago
but we are lagging
Puhpine
Puhpine6mo ago
it is a lot in this case
PraetorianGuard
PraetorianGuardOP6mo ago
thought thats the problem xD
Puhpine
Puhpine6mo ago
oh alright
TheNewSky
TheNewSky6mo ago
How much ram do you have in total
PraetorianGuard
PraetorianGuardOP6mo ago
32Gbs
TheNewSky
TheNewSky6mo ago
You allocated everything?
Inti Nature
Inti Nature6mo ago
i'd suggest not to use all your ram
Puhpine
Puhpine6mo ago
yea most of the time you get those messages without it being anything
PraetorianGuard
PraetorianGuardOP6mo ago
maybe ...
Inti Nature
Inti Nature6mo ago
thats a little lot
PraetorianGuard
PraetorianGuardOP6mo ago
yes XD thought why the f not
TheNewSky
TheNewSky6mo ago
Use like 12-16
Puhpine
Puhpine6mo ago
because your pc will protest
PraetorianGuard
PraetorianGuardOP6mo ago
but that much ms ...
Inti Nature
Inti Nature6mo ago
then you are not leaving any ram for your other running programs
TheNewSky
TheNewSky6mo ago
If your system is completely running out it will do stuff like that
Inti Nature
Inti Nature6mo ago
try with half of the ram allocated and see if its fixed
PraetorianGuard
PraetorianGuardOP6mo ago
didnt think that mc will use all will try
TheNewSky
TheNewSky6mo ago
It def will
Inti Nature
Inti Nature6mo ago
no but mc claims parts of your ram before it really uses it so its probably not using all of it but it does claim it
TheNewSky
TheNewSky6mo ago
I have 32GB ram and allocated 20GB to Minecraft and it would use 26GB bc Minecraft While hosting with essential
PraetorianGuard
PraetorianGuardOP6mo ago
okay thats insane
Inti Nature
Inti Nature6mo ago
yea minecraft is so small compared to fortnite etc that they don't really care about optimization
PraetorianGuard
PraetorianGuardOP6mo ago
ah still lagging better than before tho
Puhpine
Puhpine6mo ago
you could use something like spark
PraetorianGuard
PraetorianGuardOP6mo ago
spark? you mean the performance mod
Puhpine
Puhpine6mo ago
no, a performance profiler
PraetorianGuard
PraetorianGuardOP6mo ago
can it be ... that some performance mods are incompatible with eachother
Puhpine
Puhpine6mo ago
maybe, hard to say
PraetorianGuard
PraetorianGuardOP6mo ago
i wish the logs would just say: eyooo this mod is causing big lags
Puhpine
Puhpine6mo ago
spark, is what could tell you that now that i think of it i dont even know if there is a mod varient of spark i only know it is a plugin
PraetorianGuard
PraetorianGuardOP6mo ago
No description
Puhpine
Puhpine6mo ago
nice so use that
PraetorianGuard
PraetorianGuardOP6mo ago
No description
PraetorianGuard
PraetorianGuardOP6mo ago
No description
PraetorianGuard
PraetorianGuardOP6mo ago
the questions is, what is that
Puhpine
Puhpine6mo ago
what are the subprocesses of that?
PraetorianGuard
PraetorianGuardOP6mo ago
there are non cant open it further if i go to mods, there is non causing big lags
Puhpine
Puhpine6mo ago
oh thats weird idk then
PraetorianGuard
PraetorianGuardOP6mo ago
No description
PraetorianGuard
PraetorianGuardOP6mo ago
I wish i knew what that means
PraetorianGuard
PraetorianGuardOP6mo ago
No description
PraetorianGuard
PraetorianGuardOP6mo ago
in the guide they say you can see what causes the problem, but the only thing i can see is "server"
Puhpine
Puhpine6mo ago
i have no idea im looking at either
PraetorianGuard
PraetorianGuardOP6mo ago
reddit is saying that something is missing "Some quick googling revealed that jdk.internal.misc.Unsafe.park is an internal Java function which causes the program to halt temporarily until some condition is met. In this case, it seems like some mod is doing some background calculations asynchronously which interfere with the event loop for Minecraft, causing the tick to be halted until it finishes. As for which mod, it is impossible to say without a much deeper dive "
Puhpine
Puhpine6mo ago
you could try a /binary search
YAGPDB.xyz
YAGPDB.xyz6mo ago
Try a binary search and figure out which mod is causing it. So disable half of the mods, see if issue is still there, if yes disable half again etc etc until you find the mod that's causing the issue.
Tenor
Puhpine
Puhpine6mo ago
but that will be very tedious
PraetorianGuard
PraetorianGuardOP6mo ago
people say just remove half of your mods and then add step by step back in I hate it ... xD
Puhpine
Puhpine6mo ago
yes, thats a binary search i understand that
PraetorianGuard
PraetorianGuardOP6mo ago
No description
PraetorianGuard
PraetorianGuardOP6mo ago
No description
No description
PraetorianGuard
PraetorianGuardOP6mo ago
i will look into mp now
Want results from more Discord servers?
Add your server