Get started

Loafmas Up to 80% off your first payment, with the code added to your order for you See the codes Codes for the Loafmas sale

Guides / Minecraft / Fixes

A single server tick took 60 seconds on a modpack

The watchdog stops a modpack server when one tick takes 60 seconds, often at a first start. Give it memory, pre-generate chunks or set max-tick-time.

Updated , checked on Minecraft Java 26.3

The watchdog is a timer inside Minecraft. If one tick of the server takes longer than 60 seconds, it stops the server and writes A single server tick took 60.00 seconds (should be max 0.05); Considering it to be crashed, server will forcibly shutdown. The server exits with code 1. A tick is one step of the game, and a healthy one lasts 0.05 seconds or less.

On a modpack this usually happens when a world is generated or loaded very slowly, as at a first start, or when the server runs out of memory and freezes. The fixes are more memory, fewer chunks to generate at once, and, as a last step, a longer limit.

1. Confirm it was the watchdog

  1. Open Crashes. The cause reads The server stopped responding, and the panel’s advice is A tick took too long. Profile it (spark), look for a plugin or farm doing heavy work, or give the server more CPU.
  2. Open Console and find the line above. It sits at the end of the log, just before the server stopped.
  3. Check the server’s header. If it says Out of memory, memory is the cause: go to step 2.

If the server stops every time it starts, before it accepts commands, do step 5 first, then come back to step 3.

2. Give it memory

A modpack with too little memory can freeze while Java clears its memory, and the tick then runs long. Compare the server’s memory, the Memory Load reading at the top of every server page, with the panel’s suggestion in the install plan, which warns when the server has less (1 in the picture). To open the plan of a pack that is already installed, open Add-ons, then Modpacks, press Install, then Choose on the installed version, read the plan and press Cancel. The picture shows All the Mods 10 on a server named “Survival with friends”; your pack’s plan has the same parts.

The install plan window with the yellow memory warning for a pack on a server that has less memory than the panel suggests
  1. Memory warning

See how much memory a modpack needs and fix out-of-memory errors.

3. Pre-generate the world

Generating new chunks is the heaviest work a modded server does. Chunky does it ahead of time, while nobody is playing. DeceasedCraft’s wiki recommends it and says it works better on a dedicated server. For a small server of three players it says a radius of 5,000 to 10,000 blocks is more than enough.

  1. Get Chunky for your pack’s loader and Minecraft version from its Modrinth page and upload the .jar to mods in Files, or install it from the Mods tab with Modrinth picked if it is listed. Chunky has builds for Fabric, Forge and NeoForge.
  2. Put it with the mods, not the plugins. Then press Start.
  3. In Console, send chunky radius 5000, then chunky start. The radius is half the width: 5000 covers 10000 blocks across.
  4. Watch chunky progress. chunky pause saves progress and chunky continue carries on.

The plugin version of these steps is in pre-generate chunks. Chunky needs an operator: send the commands from the console, or as an operator in the game.

4. Find the slow part with spark

spark is a profiler. It is built into Paper 1.21 and newer, but not into Fabric, Forge or NeoForge, so add it as a mod from spark’s own download page, in the same way as Chunky. spark has builds for Forge 1.12.2, 1.16.5, 1.18.2 and 1.20.1, and for 1.21.1; the 1.12.2 Forge build is only on that page.

  1. In Console, send spark tps for the tick rate and spark health for TPS, CPU, memory and disk.
  2. Send spark profiler start --timeout 120, wait, then read the report it prints. spark profiler stop ends it early.

See server lag and TPS.

5. Lengthen the limit, only for a first start

max-tick-time in server.properties sets the limit in milliseconds. The default is 60000. -1 turns the watchdog off.

  1. Stop the server, then open server.properties in Files.
  2. Set max-tick-time=120000, save and press Start.
  3. Once the first start has finished, set it back to 60000.

If it does not work

  • It stops again at the same place. Read the lines above the watchdog message in the console. A mod stuck in a loop can freeze the server. Remove the newest mod you added.
  • It runs but players lag. Lower view-distance and simulation-distance in server.properties. Both go from 3 to 32, the default is 10, and they are a radius, not a width.
  • The panel shows Out of memory. Memory first, then this guide again.

More on the game: Minecraft servers.

Sources: minecraft.wiki: Server.properties, deceasedcraft.wiki.gg: Pre generate Chunks, modrinth.com: Chunky, spark.lucko.me: Installation, spark.lucko.me: Command Usage

Minecraft server hostingAll Minecraft guides