Applied Energistics 2

Applied Energistics 2

137M Downloads

AE2 causing server tik issues

DarkRaGaming opened this issue ยท 2 comments

commented

Describe the bug

My server is Skyfactory 4 Small server

The AE2 system seems to be causing the server to fall behind in tick. This is the Console when the AE2 system is up and running. It stop when the AE2 system is down.

[17:00:20] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 18283ms behind, skipping 365 tick(s)
[17:00:24] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 3495ms behind, skipping 69 tick(s)
[17:01:01] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 17778ms behind, skipping 355 tick(s)
[17:01:05] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 3719ms behind, skipping 74 tick(s)
[17:01:45] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 20933ms behind, skipping 418 tick(s)
[17:01:48] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 3679ms behind, skipping 73 tick(s)
[17:02:48] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 34256ms behind, skipping 685 tick(s)
[17:02:53] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 4938ms behind, skipping 98 tick(s)
[17:03:42] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 27945ms behind, skipping 558 tick(s)
[17:03:45] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 3479ms behind, skipping 69 tick(s)
[17:04:22] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 17009ms behind, skipping 340 tick(s)
[17:04:25] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 3352ms behind, skipping 67 tick(s)
[17:05:00] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 16066ms behind, skipping 321 tick(s)
[17:05:04] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 3412ms behind, skipping 68 tick(s)
[17:05:41] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 17060ms behind, skipping 341 tick(s)
[17:05:44] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 3290ms behind, skipping 65 tick(s)
[17:06:20] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 16444ms behind, skipping 328 tick(s)
[17:06:23] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 3738ms behind, skipping 74 tick(s)
[17:06:59] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 16512ms behind, skipping 330 tick(s)
[17:07:02] [Server thread/WARN] [minecraft/MinecraftServer]: Can't keep up! Did the system time change, or is the server overloaded? Running 3390ms behind, skipping 67 tick(s)

How to reproduce the bug

Having a big AE2 system

Expected behavior

A way to solve the server crash from AE2 system being powered/

Additional details

No response

Which minecraft version are you using?

1.12 - UNSUPPORTED

On which mod loaders does it happen?

Forge

Crash log

https://pastebin.com/tP1LPeGW

commented

Just recently have a crash with this
Time: 10/13/21 7:43 PM
Description: Watching Server

java.lang.Error: ServerHangWatchdog detected that a single server tick took 60.00 seconds (should be max 0.05)
at java.util.concurrent.ConcurrentSkipListMap.findPredecessor(Unknown Source)
at java.util.concurrent.ConcurrentSkipListMap.doGet(Unknown Source)
at java.util.concurrent.ConcurrentSkipListMap.get(Unknown Source)
at appeng.util.item.ItemList.add(ItemList.java:50)
at appeng.util.item.ItemList.add(ItemList.java:37)
at appeng.me.storage.AbstractCellInventory.getAvailableItems(AbstractCellInventory.java:224)
at appeng.me.storage.MEPassThrough.getAvailableItems(MEPassThrough.java:69)
at appeng.me.storage.MEInventoryHandler.getAvailableItems(MEInventoryHandler.java:128)
at appeng.me.storage.MEInventoryHandler.getAvailableItems(MEInventoryHandler.java:128)
at appeng.me.storage.NetworkInventoryHandler.getAvailableItems(NetworkInventoryHandler.java:255)
at appeng.me.cache.NetworkMonitor.getAvailableItems(NetworkMonitor.java:117)
at appeng.me.cache.NetworkMonitor.getStorageList(NetworkMonitor.java:146)
at appeng.me.cache.NetworkMonitor.postChange(NetworkMonitor.java:277)
at appeng.me.cache.NetworkMonitor.postChangesToListeners(NetworkMonitor.java:244)
at appeng.me.cache.NetworkMonitor.monitorDifference(NetworkMonitor.java:216)
at appeng.me.cache.NetworkMonitor.injectItems(NetworkMonitor.java:166)
at appeng.util.Platform.poweredInsert(Platform.java:1263)
at appeng.util.Platform.poweredInsert(Platform.java:1218)
at appeng.parts.automation.PartImportBus.importStuff(PartImportBus.java:235)
at appeng.parts.automation.PartImportBus.doBusWork(PartImportBus.java:198)
at appeng.parts.automation.PartImportBus.tickingRequest(PartImportBus.java:149)
at appeng.me.cache.TickManagerCache.onUpdateTick(TickManagerCache.java:94)
at appeng.me.GridCacheWrapper.onUpdateTick(GridCacheWrapper.java:43)
at appeng.me.Grid.update(Grid.java:280)
at appeng.hooks.TickHandler.onTick(TickHandler.java:228)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler_1251_TickHandler_onTick_TickEvent.invoke(.dynamic)
at net.minecraftforge.fml.common.eventhandler.ASMEventHandler.invoke(ASMEventHandler.java:90)
at net.minecraftforge.fml.common.eventhandler.EventBus.post(EventBus.java:182)
at net.minecraftforge.fml.common.FMLCommonHandler.onPostServerTick(FMLCommonHandler.java:266)
at net.minecraft.server.MinecraftServer.func_71217_p(MinecraftServer.java:712)
at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:526)
at java.lang.Thread.run(Unknown Source)

commented

We don't support 1.12 anymore. However, if you post a spark profile on our Discord server someone is probably going to look into it and tell you what to change. The watchdog crash or "build a big AE2 system" are not helpful.