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 Nature7mo 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.xyz7mo 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
PraetorianGuardOP7mo ago
yeah i thought the same, but i dont know where to ask
Inti Nature
Inti Nature7mo ago
isn't there like a fabric dc or smth? of minecraft? *or
Puhpine
Puhpine7mo ago
are you sure its tick lag? did you host the world or join someone?
PraetorianGuard
PraetorianGuardOP7mo ago
hosting the world
Puhpine
Puhpine7mo ago
how much ram do you have allocated?
PraetorianGuard
PraetorianGuardOP7mo 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
Puhpine7mo ago
thats normal
PraetorianGuard
PraetorianGuardOP7mo ago
32GBs
Puhpine
Puhpine7mo ago
you can ignore those warnings well
PraetorianGuard
PraetorianGuardOP7mo ago
but we are lagging
Puhpine
Puhpine7mo ago
it is a lot in this case
PraetorianGuard
PraetorianGuardOP7mo ago
thought thats the problem xD
Puhpine
Puhpine7mo ago
oh alright
TheNewSky
TheNewSky7mo ago
How much ram do you have in total
PraetorianGuard
PraetorianGuardOP7mo ago
32Gbs
TheNewSky
TheNewSky7mo ago
You allocated everything?
Inti Nature
Inti Nature7mo ago
i'd suggest not to use all your ram
Puhpine
Puhpine7mo ago
yea most of the time you get those messages without it being anything
PraetorianGuard
PraetorianGuardOP7mo ago
maybe ...
Inti Nature
Inti Nature7mo ago
thats a little lot
PraetorianGuard
PraetorianGuardOP7mo ago
yes XD thought why the f not
TheNewSky
TheNewSky7mo ago
Use like 12-16
Puhpine
Puhpine7mo ago
because your pc will protest
PraetorianGuard
PraetorianGuardOP7mo ago
but that much ms ...
Inti Nature
Inti Nature7mo ago
then you are not leaving any ram for your other running programs
TheNewSky
TheNewSky7mo ago
If your system is completely running out it will do stuff like that
Inti Nature
Inti Nature7mo ago
try with half of the ram allocated and see if its fixed
PraetorianGuard
PraetorianGuardOP7mo ago
didnt think that mc will use all will try
TheNewSky
TheNewSky7mo ago
It def will
Inti Nature
Inti Nature7mo 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
TheNewSky7mo ago
I have 32GB ram and allocated 20GB to Minecraft and it would use 26GB bc Minecraft While hosting with essential
PraetorianGuard
PraetorianGuardOP7mo ago
okay thats insane
Inti Nature
Inti Nature7mo ago
yea minecraft is so small compared to fortnite etc that they don't really care about optimization
PraetorianGuard
PraetorianGuardOP7mo ago
ah still lagging better than before tho
Puhpine
Puhpine7mo ago
you could use something like spark
PraetorianGuard
PraetorianGuardOP7mo ago
spark? you mean the performance mod
Puhpine
Puhpine7mo ago
no, a performance profiler
PraetorianGuard
PraetorianGuardOP7mo ago
can it be ... that some performance mods are incompatible with eachother
Puhpine
Puhpine7mo ago
maybe, hard to say
PraetorianGuard
PraetorianGuardOP7mo ago
i wish the logs would just say: eyooo this mod is causing big lags
Puhpine
Puhpine7mo 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
PraetorianGuardOP7mo ago
No description
Puhpine
Puhpine7mo ago
nice so use that
PraetorianGuard
PraetorianGuardOP7mo ago
No description
PraetorianGuard
PraetorianGuardOP7mo ago
No description
PraetorianGuard
PraetorianGuardOP7mo ago
the questions is, what is that
Puhpine
Puhpine7mo ago
what are the subprocesses of that?
PraetorianGuard
PraetorianGuardOP7mo ago
there are non cant open it further if i go to mods, there is non causing big lags
Puhpine
Puhpine7mo ago
oh thats weird idk then
PraetorianGuard
PraetorianGuardOP7mo ago
No description
PraetorianGuard
PraetorianGuardOP7mo ago
I wish i knew what that means
PraetorianGuard
PraetorianGuardOP7mo ago
No description
PraetorianGuard
PraetorianGuardOP7mo ago
in the guide they say you can see what causes the problem, but the only thing i can see is "server"
Puhpine
Puhpine7mo ago
i have no idea im looking at either
PraetorianGuard
PraetorianGuardOP7mo 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
Puhpine7mo ago
you could try a /binary search
YAGPDB.xyz
YAGPDB.xyz7mo 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
Puhpine7mo ago
but that will be very tedious
PraetorianGuard
PraetorianGuardOP7mo ago
people say just remove half of your mods and then add step by step back in I hate it ... xD
Puhpine
Puhpine7mo ago
yes, thats a binary search i understand that
PraetorianGuard
PraetorianGuardOP7mo ago
No description
PraetorianGuard
PraetorianGuardOP7mo ago
No description
No description
PraetorianGuard
PraetorianGuardOP7mo ago
i will look into mp now
Want results from more Discord servers?
Add your server