AppliedEnergistics / Applied-Energistics-2

A Minecraft Mod about Matter, Energy and using them to conquer the world..
https://appliedenergistics.github.io/
Other
1.41k stars 646 forks source link

2000~ ticks behind, StorageHandler (Valhesia 5) #7395

Closed dakotacx closed 1 year ago

dakotacx commented 1 year ago

Describe the bug

Hey there,

I've been experiencing an incredible amount of lag upon starting my server. Looking at the spark report, it looks like it's something to do with one of my players AE2 setups?

Here's the report: https://spark.lucko.me/A1grsxaDZq

Appreciate it!

How to reproduce the bug

Unsure how to replicate past passing along my server files.

Expected behavior

Normal tickrate

Additional details

No response

Which minecraft version are you using?

1.19

On which mod loaders does it happen?

Forge

Crash log

https://gist.github.com/dakotacx/f4c58b4dbd13afe9c157cd9a5e6afd8c

shartte commented 1 year ago

Hmmmm, maybe some weird pattern-provider / interface loop? 🤔 Does it actually hang or is it just extremely slow?

dakotacx commented 1 year ago

Without the watchdog limit, the server runs around 1100~ ticks behind. I'm completely unable to connect via the client unfortunately.

shartte commented 1 year ago

Without the watchdog limit, the server runs around 1100~ ticks behind. I'm completely unable to connect via the client unfortunately.

Okay, but that means it's not hanging per se (which in my opinion rules out any form of "infinite recursion" since that would just crash)

shartte commented 1 year ago

@dakotacx Can you upload your world somewhere? Encrypt the ZIP and send me the password via DM on Discord if you'd like

dakotacx commented 1 year ago

What's your Discord ID @shartte?

shartte commented 1 year ago

Just hop onto the AE2 Discord and ask for staff, we'll figure it out (and mention this issue)

dakotacx commented 1 year ago

I ended up opening up the world in Amulet and just deleting one of their ME Controllers to shutdown the system. Server booted right up and after a bit of work and rewiring everything, working fine now.