Attaching crafting interface to crafting table causes server to hang and crash.
Seceroth opened this issue ยท 6 comments
Issue type:
- ๐ Performance issue
Short description:
Playing Enigmatica 6, version 0.4.3. I am using ID for almost my whole base (which really isn't big at all yet). Storage is done with RFTools modular storage, 11 with 300/500 item stack modules inside. Most are filled. The Storage terminal item crafting tab is very laggy. Using JEI with this tab open causes recipe lookup to take abnormally long (>3 seconds for some recipes and no lag for some other recipes) causing both client and server to hang. Putting a recipe in the terminal and shift clicking it to craft a stack will halt the whole server (but not client) until it's done crafting the stack, which can take up to 10 seconds.
This could also be all RFTools' fault, but I don't know.
Steps to reproduce the problem:
- Setup RFTools Modular storage with a lot of items.
- Attach Item interfaces from ID to them.
- In the same network, attach a crafting interface to an crafting table.
- Observe lag.
Versions:
Modpack Enigmatica 6
- This mod: IntegratedCrafting-1.16.5-1.0.12
- Minecraft: 1.16.5
- Forge: 36.0.45
Profiler output:
Using spark while just letting things run, not doing anything results in this (ran for about 10seconds):
https://spark.lucko.me/6T9WkSlL6t
Included crash report from the server when a single tick took over 300 seconds:
crash-2021-03-18_13.17.17-server.txt
Update.
So I changed my entire storage from RFTools Storage to Occultism. It's all in one Interdimensional storage block now. Tried to start some autocrafting again and the same thing happened. So it's not the Modular Storage's fault. Seems like ID is unable to handle a large amount of items with the terminals and crafting interfaces. Or TheOneProbe may have something to do with this (since it's mentioned in the crash report)?
Did not have this issue in 1.12, although I may have more items now. Sadly unplayable like this. The Occultism crafting grid works without any lag while the terminals connected to the storage are freezing constantly while doing anything.
Still on the modpack Enigmatica version 0.4.3.
Crash report from the server when attaching a crafting interface to the network:
crash-2021-03-20_18.48.17-server.txt
Spark log, taken over ~15 seconds while no one is online and no chunks should be loaded:
https://spark.lucko.me/Nrlk4n1NYB
Waiting for feedback before I just take down the ID network, maybe you'll want to check out my setup?
sparkspark is a performance profiling plugin/mod for Minecraft clients, servers and proxies.
Sure, you can tear it down. But could you take a backup so you can confirm it's fixed once I've had time to look into and fix this?