Need help: My modded 1.21.1 NeoForge server is stuck at 10 TPS despite low CPU/RAM
Hey everyone,
I'm running a modded Minecraft server (1.21.1, NeoForge) inside a Docker container on a VPS with 64 GB RAM. I have around 100 mods installed (Create, CustomNPCs, KnightQuest, MutantMonsters, EndermanOverhaul, etc.) and we’re encountering serious TPS drops — usually stuck around 9–11 TPS, even with low CPU usage and plenty of free RAM.
🧪 What I’ve tested so far:
- Installed Spark and generated multiple reports → turns out entity tick is the main issue
- Zombies, skeletons, creepers, frogs, fish, and even bats are eating up 10–15% of total tick time
- RAM usage spikes only when flying fast in creative mode (chunk gen + mobs?)
- View-distance was set to 20 (I reduced it to 6 now), simulation-distance to 2
- I’m not using any pregen mod yet
- Removed
Electrodynamicswhich was causing chunk load errors - No obvious infinite loops or mod crashes
🧹 What I’ve done to mitigate:
- Wrote a KubeJS script that auto-purges entities by type every 5 minutes (with limits)
- Disabled
doMobSpawningtemporarily to prevent mob flood - Cleaned item drops regularly
- Forceloads are cleared every purge cycle
⚠️ The weird part:
Even with low tick entity counts (200–500), TPS still struggles.
CPU and memory usage remain low, yet LivingEntity.tick() and Mob.aiStep() dominate the profiler output.
It feels like Minecraft is just choking on pathfinding, maybe because of overgeneration or terrain mods like Biomes O’ Plenty, Abandoned Camps, etc.
📌 My questions:
- Is this normal behavior on NeoForge 1.21.1 with that many mods?
- Could
Create,CustomNPCs, or another mod be leaking ticks in the background even without visible contraptions? - Should I switch to a different GC or tweak JVM args more aggressively?
- Would pregenerating the map help reduce the load when flying in creative?
- Anyone else with similar performance issues on 1.21.1 + NeoForge?
Any insight would be hugely appreciated.
Let me know if you want Spark reports or mod list — I can share them.
Thanks in advance 🙏
Posted Jul 19, 2025, 7:40 PM UTC