Understanding the Watchdog Crash: How to Stop "Server Has Stopped Responding" Errors
Learn why your Minecraft server crashes with 'Server has stopped responding' and how to resolve Watchdog errors on AwakeNode and other hosts.
Understanding the Watchdog
The Minecraft Watchdog is a built-in safety mechanism designed to prevent the server from hanging indefinitely. If the main server thread is blocked for more than 60 seconds (usually due to heavy processing or lag), the Watchdog assumes the server has frozen and forcibly shuts it down to prevent file corruption.
When this happens, you will see an error in your console logs stating: "A single server tick took 60.00 seconds (should be max 0.05) ... Considering it to be crashed, server will forcibly shutdown."
Common Causes
- Heavy World Generation: Exploring new chunks too quickly can overwhelm the CPU.
- Inefficient Plugins/Mods: Poorly optimised code can cause the main thread to hang.
- Resource Exhaustion: Insufficient RAM or CPU overhead for your current player count or modpack.
- Disk I/O Latency: Slow read/write speeds when saving large world files.
How to Resolve Watchdog Crashes
On AwakeNode
- Check Resource Usage: Use the AwakeNode panel to monitor your CPU and RAM usage during peak times. If you are consistently hitting your limits, consider upgrading your plan. Upgrading automatically adjusts your memory allocation (Xmx) without requiring manual configuration.
- Use the File Manager: If a specific plugin is causing the crash, use the AwakeNode File Manager to quickly rename or remove the plugin folder to test for stability without needing to use external SFTP software.
- Contact Support: If your server is crashing despite having sufficient resources, open a ticket with our support team. We can inspect your logs and, if necessary, adjust your JVM startup flags or garbage collection settings to better suit your specific modpack or server type.
On Other Hosts / Manually
- Optimise Startup Flags: Ensure your startup command includes modern garbage collection flags (like G1GC or Aikar's Flags). You will need to edit your startup script or command line arguments manually to implement these.
- Adjust Memory Allocation: If your server is running out of memory, locate your startup script and increase the
-Xmxvalue (e.g.,-Xmx4Gfor 4GB of RAM). Ensure the host has enough overhead to accommodate this change. - Profile the Server: Use tools like Spark to profile your server's performance. This will help you identify which specific entities, plugins, or chunks are causing the "tick" to take too long.
- Disable Watchdog (Not Recommended): In
server.properties, you can setmax-tick-timeto-1. This disables the Watchdog entirely. Warning: This prevents the server from auto-restarting when frozen, which can lead to severe world corruption if the server hangs while writing data to the disk.
Frequently asked questions
Related guides
tutorial
How to Monetize Your Minecraft Server Without Breaking the EULA
Learn how to monetize your Minecraft server while staying compliant with Mojang's EULA. Discover acceptable donation models and avoid common pitfalls.
tutorial
How to Set Up a Web Store for Your Server Using Tebex
Learn how to integrate a Tebex web store with your AwakeNode Minecraft server to manage donations and rank sales efficiently.
tutorial
Minecraft Server Security: How to Protect Your World from Griefers, Bots, and DDoS Attacks
Learn how to secure your Minecraft server against griefers, malicious bots, and DDoS attacks with our expert guide on configuration and best practices.
Ready to host your Minecraft server?
Spin up a high-performance UK server in seconds - AMD Ryzen, NVMe, DDoS protection, and 24/7 support from £1/mo.