Uploaded image for project: 'Minecraft: Java Edition'
  1. Minecraft: Java Edition
  2. MC-63590

Watchdog shuts down server

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Works As Intended
    • None
    • Minecraft 14w30c, Minecraft 14w31a
    • java version "1.7.0_55"
      OpenJDK Runtime Environment (IcedTea 2.4.7) (7u55-2.4.7-1~deb7u1)
      OpenJDK 64-Bit Server VM (build 24.51-b03, mixed mode)
    • Unconfirmed

      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 inertia for finding this.

            Unassigned Unassigned
            fenhl Fenhl (Max Dominik Weber)
            Votes:
            31 Vote for this issue
            Watchers:
            20 Start watching this issue

              Created:
              Updated:
              Resolved: