Server Lag with Plenty of Overhead?

Hi, I’ve recently got a server up and running with my friends Forge 1.8.2 Modpack. It’s not that heavy of a modpack but we’re getting periodic block lag with the ususal “Server can’t keep up” errors. It always seems to be around 40-50 ticks of lag.

I’m running the Mine-OS docker through Unraid and I’ve allocated 10gb (Tried up to 15gb and I have 32gb of ECC available). It’s the only thing running on my Unraid instance which is using a 3600x and load maxes out at 30%. I have 250Mb fibre networking also. I am using an SSD Cache on unraid which is what the docker is writing too…

Any help would be appreciated!

What precautions have you taken? is the server getting 20tps?

“Sever cannot keep up” is usually a memory/hardware issue so it may not be your actual hardware being saturated but could also be the actual JVM itself being provisioned poorly or some other issue with it.

Mods cause all sorts of problems maybe some more context

  • What pack?
  • has it just started where earlier it was working no worries?
  • have you tried to profile the server?
  • have your read logs? there are several

I’m not 100% sure where to start looking in terms of logs, we’ve just started the modpack and has been the entire time. I’ve checked the server.log but that just contains the couldn’t keep up message:

Sorry in the past I’ve always just allocated more resource and it’s worked

What do you mean by profile the server?
The pack is custom with the following mods:

Bookshelf (by DarkhaxDev)
Just Enough Items (JEI) (by mezz)
Goblin Traders (by MrCrayfish)
Falling Leaves (Forge) (by Cheaterpaul)
Visual Workbench [Forge] (by Fuzs_)
Create Crafts & Additions (by MRHminer)
CreeperHost Presents Soul Shards (by Official_CreeperHost)
Art of Forging: A Tetra Addon (by Eldritch_King24)
Engineer’s Decor (by wilechaote)
Storage Drawers (by Texelsaur)
Castle in the Sky (by songxia23)
WTHIT Forge Edition (by badasintended)
End Remastered (by jack_bagel)
AppleSkin (by squeek502)
Architectury API (Fabric/Forge) (by shedaniel)
Valhelsia Core (by ValhelsiaTeam)
GraveStone Mod (by henkelmax)
Cloth Config API (Fabric/Forge) (by shedaniel)
MythicBotany (by noeppinoeppi)
LibX (by noeppinoeppi)
Architect’s Palette (by Jsburg)
Rubidium (by Asek3)
Runelic (by DarkhaxDev)
Citadel (by sbom_xela)
Magnum Torch [Forge] (by Fuzs_)
Dark Utilities (by DarkhaxDev)
Immersive Engineering (by BluSunrize)
Guard Villagers (by almightytallestred)
Biomes O’ Plenty (by Forstride)
Grimoire of Tetra (by Vox4l)
FramedBlocks (by XFactHD)
Macaw’s Trapdoors (by sketch_macaw)
Create (by simibubi)
mutil (by mickelus)
Pig Pen Cipher (by DarkhaxDev)
Valhelsia Structures (by ValhelsiaTeam)
Patchouli (by Vazkii)
Tetra Pak (by Noobulus_Dos)
Additional Additions | Forge (by dqu1jjj)
PneumaticCraft: Repressurized (by desht_08)
Macaw’s Windows (by sketch_macaw)
Animal Feeding Trough [Fabric | Forge] (by Slexom)
Refined Storage (by raoulvdberge)
Sophisticated Backpacks (by P3pp3rF1y)
FerriteCore (Forge) (by malte0811)
Botania (by Vazkii)
Macaw’s Lights and Lamps (by sketch_macaw)
Supplementaries (by MehVahdJukaar)
Framed Compacting Drawers (by Eutropium)
Enderite Mod (for Forge) (by pitti11)
Quark (by Vazkii)
Farmer’s Delight (by vectorwing)
Aquaculture 2 (by Shadowclaimer)
Macaw’s Fences and Walls (by sketch_macaw)
Puzzles Lib [Forge] (by Fuzs_)
Untamed Wilds (by raytrace82)
YUNG’s Better Mineshafts (Forge) (by YUNGNICKYOUNG)
CreativeCore (by CreativeMD)
Decorative Blocks (by stohun)
Clumps (by Jaredlll08)
Decorative Blocks Compat (by stohun)
Nature’s Compass (by Chaosyr)
Ambient Environment (by Jaredlll08)
AutoRegLib (by Vazkii)
TerraBlender (Forge) (by TheAdubbz)
Curios API (Forge) (by TheIllusiveC4)
Configured (by MrCrayfish)
Building Wands (by nicguzzo)
Tetra (by mickelus)
Alex’s Mobs (by sbom_xela)
Flywheel (by jozufozu)
Macaw’s Doors (by sketch_macaw)
Selene Lib (by MehVahdJukaar)
AmbientSounds 5 (by CreativeMD)

Pack dev is a work of art in itself there is all sorts of compat issues that occur. The big pack devs out there spend much time getting the packs to be cohesive and performant and many of the better ones are also rewritting code so that the mods play better in their packs.

its difficult to define “cannot keep up” in this context now that you have mentioned this is a custom pack. Usually that problem means hardware issue but it can occur for other reasons like poorly implemented mods.

Given the parameters you have provided so far then i would say you need to analyze your boot logs for that Minecraft instance as it may show some problems and then you especially need to profile your server at runtime.

The other part is that because you are running inside a docker in unraid. Both these are layers that could be interfering and causing issues.

It could also be network problems or client/server problems