Skip to content

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

  1. Go to the AleForge Panel
  2. Go to the Console and Stop the server
  3. Go to Backups and create a backup
  4. Open your enabled.json in the /mods folder in the File Manager tab
  5. Disable one mod
  6. Start the server
  7. Join the server with two or more players to test
  8. Stop the Server
  9. Repeat steps 3-6 until the issue is resolved
  10. Stop the server
  11. Restore the backup
  12. Edit the enable.json to disable the mod you determined was the issue
  13. 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