Random Restarts

Discussion in 'Bukkit Help' started by Tott3, Jan 6, 2014.

Thread Status:
Not open for further replies.
  1. Offline

    Tott3

    Hi, my server has recently started to do random restarts and I can't figure out why.. Does anyone know what might be causing this? My log files doesn't seems to be up-to-date either.. :/ Don't know where I can upload the old ones either, they're quite big, but if anyone could suggest some page, I'd be more than happy to upload them. I'm getting this crash report though, but I don't understand it. :p

    Code:
    ---- Minecraft Crash Report ----
    // Oops.
     
    Time: 05/01/14 12:15
    Description: Exception in server tick loop
     
    java.lang.NullPointerException: Exception in server tick loop
        at net.minecraft.server.v1_7_R1.DedicatedServer.aw(DedicatedServer.java:282)
        at net.minecraft.server.v1_7_R1.DedicatedServer.a(DedicatedServer.java:228)
        at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:465)
        at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)
     
     
    A detailed walkthrough of the error, its code path and all known details is as follows:
    ---------------------------------------------------------------------------------------
     
    -- System Details --
    Details:
        Minecraft Version: 1.7.2
        Operating System: Linux (amd64) version 3.2.0-4-amd64
        Java Version: 1.7.0_25, Oracle Corporation
        Java VM Version: OpenJDK 64-Bit Server VM (mixed mode), Oracle Corporation
        Memory: 2442745728 bytes (2329 MB) / 2743336960 bytes (2616 MB) up to 7635533824 bytes (7281 MB)
        JVM Flags: 2 total; -Xms2730M -Xmx8192M
        AABB Pool Size: 0 (0 bytes; 0 MB) allocated, 0 (0 bytes; 0 MB) used
        IntCache: cache: 0, tcache: 0, allocated: 0, tallocated: 0
        CraftBukkit Information:
      Running:
      Failed to handle CraftCrashReport:
    java.lang.NullPointerException
        at org.bukkit.Bukkit.getName(Bukkit.java:74)
        at org.bukkit.craftbukkit.v1_7_R1.CraftCrashReport.call(CraftCrashReport.java:20)
        at net.minecraft.server.v1_7_R1.CrashReportSystemDetails.a(SourceFile:74)
        at net.minecraft.server.v1_7_R1.CrashReport.h(CrashReport.java:45)
        at net.minecraft.server.v1_7_R1.CrashReport.<init>(CrashReport.java:33)
        at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:474)
        at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)
     
        Profiler Position: N/A (disabled)
        Is Modded: ~~ERROR~~ NullPointerException: null
        Type: Dedicated Server (map_server.txt)

    Code:
    # This is the main configuration file for Bukkit.
    # As you can see, there's actually not that much to configure without any plugins.
    # For a reference for any variable inside this file, check out the bukkit wiki at
    # http://wiki.bukkit.org/Bukkit.yml
    settings:
      allow-end: true
      warn-on-overload: true
      permissions-file: permissions.yml
      update-folder: update
      ping-packet-limit: 100
      use-exact-login-location: false
      plugin-profiling: false
      connection-throttle: 4000
      query-plugins: true
      deprecated-verbose: default
      shutdown-message: Server closed
    spawn-limits:
      monsters: 70
      animals: 15
      water-animals: 5
      ambient: 15
    chunk-gc:
      period-in-ticks: 600
      load-threshold: 0
    ticks-per:
      animal-spawns: 400
      monster-spawns: 1
      autosave: 0
    auto-updater:
      enabled: true
      on-broken:
      - warn-console
      - warn-ops
      on-update:
      - warn-console
      - warn-ops
      preferred-channel: rb
      host: dl.bukkit.org
      suggest-channels: true
    database:
      username: bukkit
      isolation: SERIALIZABLE
      driver: org.sqlite.JDBC
      password: walrus
      url: jdbc:sqlite:{DIR}{NAME}.db
    
    Code:
    #Minecraft server properties
    #Mon Jan 06 17:30:13 CET 2014
    generator-settings=
    op-permission-level=4
    allow-nether=true
    level-name=Swecraft
    enable-query=false
    allow-flight=true
    announce-player-achievements=true
    server-port=25565
    level-type=AMPLIFIED
    enable-rcon=false
    force-gamemode=false
    level-seed=
    server-ip=
    max-build-height=256
    spawn-npcs=true
    white-list=false
    spawn-animals=true
    texture-pack=http\://www.swecraft.net/revival.zip
    snooper-enabled=true
    hardcore=false
    online-mode=true
    server-id=unnamed
    resource-pack=http\://www.swecraft.net/revival.zip
    pvp=true
    difficulty=3
    server-name=Swecraft
    enable-command-block=true
    gamemode=0
    player-idle-timeout=0
    max-players=64
    spawn-monsters=true
    view-distance=10
    generate-structures=true
    spawn-protection=1
    motd=\u00A76---\=[\u00A7cwww.Swecraft.net\u00A76]\=---
    
     
  2. Offline

    Tott3

    Hi, still need help with this. :(
     
  3. Offline

    rangewonk

    It looks like you just have either too many players online or too many plugins with not enough Server RAM.

    Same thing used to happen with my server until I upgraded it and installed more RAM.
    If you think that this isn't the issue, try removing plugins that you don't use or check that they are all up to date with stable builds.

    :)
     
  4. Offline

    Tott3

    It's running 16GB RAM and this is also happening when I'm the only person online. I've been running fine before some update with the exact same amount of plugins/RAM. :/
     
  5. Offline

    rangewonk

    rename your plugins folder, then keep the server on for a while. If it doesn't restart it means its a plugin causing the problem. Otherwise there is something else wrong.
     
  6. Offline

    Tott3

    I will give it a go!
     
  7. Offline

    rangewonk

    Tott3

    What was the outcome?
     
  8. Offline

    Tott3

    RTK was restarting Minecraft every 6 hours to save RAM and clear any memory leak.

    I've bumped it up to do that once a week instead. All solved now.
     
Thread Status:
Not open for further replies.

Share This Page