Investigate a Minecraft Watchdog Shutdown
A watchdog shutdown indicates elapsed time since the last server tick, but it does not by itself identify the cause. Preserve the message and thread dump, compare their timing with server activity, and investigate the slow tick without treating a higher threshold or a disabled watchdog as a fix.
A watchdog shutdown first tells you how much time has elapsed since the last server tick, not directly what caused it. On Paper, max-tick-time in server.properties sets a threshold in milliseconds for this. The time limit alone does not show whether CPU work, a plugin call, or world work delayed the tick. First preserve the message and the Server thread dump, relate the timestamp to the activity that was running, and do not change the threshold as a supposed performance improvement.
What max-tick-time measures
A tick is one unit of server work. At 20 ticks per second, the calculated time available per tick is 50 milliseconds. The current Paper entry for max-tick-time lists 60000, or 60 seconds for a single tick. This is a shutdown threshold, not a recommended tick target. The value comes from the current Paper reference and does not automatically apply to every Minecraft version or server software. Therefore, check the exact engine and version in the startup log and the entry actually used in your server.properties. PaperMC describes the unit, current reference value, and effect.
Paper explains that a tick exceeding this threshold is considered stuck and the server is stopped. According to the same reference, the value -1 disables the watchdog completely. This hides the shutdown protection but does not fix long-running work on the server thread. Do not use this value as a repair. Vanilla, Purpur, Folia, and older builds have their own relevant documents and generated configuration values.
Paper also has settings.timeout-time in spigot.yml: according to the reference, this separate watchdog threshold counts seconds since the last tick. It must be distinguished from max-tick-time in server.properties, which is in milliseconds. The Paper class WatchdogThread belongs to this second path; its thread-dump details apply when the specific message comes from this watchdog. Paper documents timeout-time and its unit.
Read the message and thread dump
Open the server console and, if available, logs/latest.log. Also check whether a report for that time exists under crash-reports/. Find the first watchdog notice and read the entire block that follows. Record the date, time, Minecraft version, server software, and the value of max-tick-time; for Paper, also record settings.timeout-time if the message belongs to this second watchdog path. The Paper WatchdogThread block includes a Server thread dump, the Paper version, and details about plugin calls and world changes. The source code supports this Paper/Spigot watchdog message, not necessarily the origin of every max-tick-time shutdown. The Paper source code documents this diagnostic block.
Read the stack trace in the Server thread section from top to bottom. A plugin name can be a useful lead to investigate, but by itself it does not prove a software defect. Pay attention to which method was running and whether the same entry appears in multiple dumps. If you see world or chunk work, check whether many chunks had just been loaded, generated, saved, or changed. For a plugin method, compare the time with an in-game action or a scheduled task. The message shows the work path that became stuck; a single line does not automatically identify the cause.
Narrow down the cause safely
- Compare the timing. Note what happened immediately before the shutdown: world editing, new players, a plugin task, or a restart. Do not initially change the world, plugins, or threshold.
- Check for recurrence. If the same sequence happens again, save the complete new dump and compare the top entries. Recurring patterns are more informative than a single snapshot.
- Measure while the issue is occurring. On Paper version 1.21 and later, spark is bundled according to Paper. A profile must actually capture the problem; a profile taken after the shutdown cannot reconstruct the stall. The guide Investigate Minecraft with spark explains a suitable capture window. Paper documents the version and prerequisite.
- Work on a copy. Before a configuration change, back up at least the file. If you are checking a world, plugin, or extensive change, use a separate test copy with its own server folder. Stop the affected instance cleanly, change only one thing per attempt, and keep the original log.
Then check startup and repeat only the activity that triggered the error. A useful result is a comparison using the same version, world copy, and action: if the watchdog notice appears again, a slow tick is still occurring. If it does not, that is evidence for this specific attempt, not a guarantee for every later session. For general diagnosis, see Is your Minecraft server lagging? Check TPS, RAM, and view distance; for the targeted file procedure, see Edit Minecraft server.properties correctly.
Common mistakes
- Reading the last log entry as the cause:
Stopping servermay appear only after the watchdog block. Read the preceding message and stack trace. - Immediately removing a named plugin: Record the version, method, and event, then investigate on a copy. A name in the stack is initially a lead.
- Blindly increasing
max-tick-timeor setting it to-1: A longer threshold does not reduce the work in a tick;-1disables the watchdog. Neither replaces investigating the cause. - Applying the Paper reference value to other engines: Always compare the version that actually starts with its own documentation and configuration file.
If you ask for help, share only the relevant time range from the console, log, and thread dump. Remove personal data, addresses, and access values first. The guide Prepare game server logs for a support request explains how to assemble a suitable excerpt.
Sources
Did this guide help? We are happy to help personally.