Debug high CPU usage in tModloader
Terraria has a single main game thread that is used for all game activities including monster spawn, ai, and more. Sometimes a mod will cause misbehavior which will drastically increase the CPU usage where you experience this kind of behavior and the server will constantly use a full CPU core (100%). We recommend finding the mod causing this issue and removing it from your server. Adding an additional CPU core generally will not help performance outside a few mod cases where their functions run on a separate core.
Debugging Steps
- Go to the AleForge Panel
- Go to the
Consoleand Stop the server - Go to
Backupsand create a backup - Open your
enabled.jsonin the/modsfolder in theFile Managertab - Disable one mod
- Start the server
- Join the server with two or more players to test
- Stop the Server
- Repeat steps 3-6 until the issue is resolved
- Stop the server
- Restore the backup
- Edit the
enable.jsonto disable the mod you determined was the issue - Start the server
Likely Mods
Our customers have reported several mods that can cause these problems so these are usually a good place to start if you have them installed.
- Spirit Mod
- MagicStorage
- MagicStorageExtra
- AnotherRPGMod
- Alchemist Mod
- WeaponSoutLite