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

Watchdog shuts down server

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved
    • Resolution: Works As Intended
    • Affects Version/s: Minecraft 14w30c, Minecraft 14w31a
    • Fix Version/s: None
    • Labels:
    • Environment:

      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)

    • Confirmation Status:
      Unconfirmed

      Description

      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
      http://minecraft.gamepedia.com/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.

        Attachments

          Issue Links

            Activity

              People

              • Assignee:
                Unassigned
                Reporter:
                fenhl [Helper] Fenhl (Max Dominik Weber)
              • Votes:
                31 Vote for this issue
                Watchers:
                18 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: