Mojira Archive
MC-63590

Watchdog shuts down server

To set the server watchdog to a higher time or switch it off:

Set max-tick-time in server.properties to a value higher than 60000 or to -1
https://minecraft.fandom.com/wiki/Server.properties#max-tick-time


The server crashes randomly. Most recent crash report attached.

Description: Watching Server

java.lang.Error
	at java.util.ArrayList.indexOf(ArrayList.java:298)
	at java.util.ArrayList.contains(ArrayList.java:281)
	at java.util.ArrayList.batchRemove(ArrayList.java:700)
	at java.util.ArrayList.removeAll(ArrayList.java:671)
	at aqa.i(SourceFile:1339)
	at ql.i(SourceFile:470)
	at net.minecraft.server.MinecraftServer.y(SourceFile:605)
	at ph.y(SourceFile:303)
	at net.minecraft.server.MinecraftServer.x(SourceFile:529)
	at net.minecraft.server.MinecraftServer.run(SourceFile:445)
	at java.lang.Thread.run(Thread.java:744)

Update: This crash appears to be caused by a new “feature“ called the Server Watchdog. This is a thread that kills the server when there is too much lag. Sometimes, but by no means always, this is logged accordingly:

2014-07-26 21:06:11 [Server Watchdog/FATAL]: A single server tick took 35.28 seconds (should be max 0.05)
2014-07-26 21:06:11 [Server Watchdog/FATAL]: Considering it to be crashed, server will forcibly shutdown.
2014-07-26 21:06:13 [Server Watchdog/ERROR]: This crash report has been saved to: /opt/wurstmineberg/server/./crash-reports/crash-2014-07-26_23.06.12-server.txt

Thanks Anthony Martin for finding this.

Works As Intended

Fenhl (Max Dominik Weber)

2014-07-25, 12:28 AM

2024-05-05, 03:29 AM

2014-08-04, 04:54 PM

31

20

Unconfirmed

crash, server

Minecraft 14w30c, Minecraft 14w31a

-