Carpet-Fixes

Carpet-Fixes

383k Downloads

Stutter and server crash on fabric 1.19.2

kineticV opened this issue ยท 3 comments

commented

Describe the bug
My dedicated server has intermittent lag when this mod is added, and then it crashes after a few seconds to minutes. Mobs stutter, and I can see in the logs some ticks are taking over 10 seconds. Then when a tick takes 60 seconds the server crashes. When I remove this mod everything works as expected with no lag. Using the spark profiler I found that carpet-fixes is using 85% of the server thread tick time. Screenshot below. When I remove the mod, the average and max MSPT goes way down.

I believe I saw this issue may have been fixed in a later version of this for new versions of Minecraft. Can the fix be ported to 1.19.2? There are multiple popular fabric mods not supported above this version, so many of us are stuck here.

To Reproduce
Steps to reproduce the behavior:

  1. Log on to a dedicated server
  2. Spawn in a few entities

Screenshots
image
image

Minecraft Version:

  • Fabric 1.19.2
    Carpet-Fixes Version:
  • 1.19-1.12.2
    Carpet Version:
  • 1.19.2-1.4.84+v221018
commented

This is not due to Carpet-Fixes. We simply wrap the server method.

commented

I have tried adding carpet-fixes and removing it in different situations. I only encounter stuttering and crashes when carpet-fixes is added. Plus spark shows the majority of the tick thread is spent in carpet-fixes catchExceptions. Could it be an interaction with another mod?

commented

I have tried adding carpet-fixes and removing it in different situations. I only encounter stuttering and crashes when carpet-fixes is added. Plus spark shows the majority of the tick thread is spent in carpet-fixes catchExceptions. Could it be an interaction with another mod?

This is in line with expectations, if you need a detailed explanation, please check this
TISUnion/Carpet-TIS-Addition#136