Server Crashing - Help me find the problem?

Discussion in 'Bukkit Discussion' started by 3ric, Jul 12, 2011.

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

    3ric

    I've been hosting a server for a few days and it randomly crashes (I'm not sure why, hence the thread). Here is the server log:

    Show Spoiler
    [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-07-12 00:45:58 [INFO] §9[PLAYER_COMMAND] EugeneDrAwkward: /give eugenedrawkward 54 1
    2011-07-12 00:46:00 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-07-12 00:46:11 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-07-12 00:46:12 [INFO] <§7j1number1§f> oh cool, teleporter
    2011-07-12 00:46:14 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-07-12 00:46:16 [INFO] §9[PLAYER_COMMAND] EugeneDrAwkward: /give eugenedrawkward 2 1
    2011-07-12 00:46:18 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-07-12 00:46:22 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-07-12 00:46:26 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-07-12 00:46:30 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-07-12 00:46:33 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-07-12 00:46:36 [INFO] §9[PLAYER_COMMAND] birdhouses: /give birdhouses chest 100
    2011-07-12 00:46:36 [INFO] <§7lapistola14§f> éhome
    2011-07-12 00:46:36 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-07-12 00:46:39 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-07-12 00:46:42 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-07-12 00:46:44 [INFO] §9[PLAYER_COMMAND] lapistola14: /home
    2011-07-12 00:46:49 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-12 00:47:40 [INFO] Stopping server
    2011-07-12 00:47:47 [INFO] Wieze version 0.2 is disabled!
    2011-07-12 00:47:50 [SEVERE] Exception in thread "Connectio
    2011-07-12 00:47:59 [INFO] [CommandAlert] disabled
    2011-07-12 00:48:02 [SEVERE] n #208 read thread"
    2011-07-12 00:48:09 [INFO] [DeathCounter v0.1.3] DeathCounter disabled
    2011-07-12 00:48:10 [SEVERE] Exception in thread "Listen thread"
    2011-07-12 00:48:13 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-12 00:48:15 [SEVERE] Exception in thread "Connection #210 read thread"
    2011-07-12 00:48:17 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-12 00:48:17 [INFO] GroupManager - INFO - Scheduled Data Saving is disabled!
    2011-07-12 00:48:17 [INFO] GroupManager - INFO - Scheduled Data Saving is disabled!
    2011-07-12 00:48:17 [INFO] GroupManager - INFO - Scheduled Data Saving is disabled!
    2011-07-12 00:48:17 [SEVERE] Exception in thread "Connection #203 read thread"
    2011-07-12 00:48:17 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-12 00:48:17 [SEVERE] at java.util.Arrays.copyOf(Unknown Source)
    2011-07-12 00:48:17 [INFO] GroupManager version 1.0(alpha-5) [Zombie-Version, please switch to Permissions 3] is disabled!
    2011-07-12 00:48:17 [SEVERE] at java.util.Arrays.copyOf(Unknown Source)
    2011-07-12 00:48:17 [SEVERE] at java.util.ArrayList.ensureCapacity(Unknown Source)
    2011-07-12 00:48:17 [SEVERE] at java.util.ArrayList.add(Unknown Source)
    2011-07-12 00:48:17 [SEVERE] at java.util.Collections$SynchronizedCollection.add(Unknown Source)
    2011-07-12 00:48:17 [SEVERE] at net.minecraft.server.NetworkManager.g(NetworkManager.java:156)
    2011-07-12 00:48:17 [INFO] [HeroicDeath] 1.8.1.156 disabled.
    2011-07-12 00:48:17 [SEVERE] at net.minecraft.server.NetworkManager.c(NetworkManager.java:259)
    2011-07-12 00:48:17 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFile:84)
    2011-07-12 00:48:17 [INFO] WorldGuard 5.2.2 disabled.
    2011-07-12 00:48:18 [INFO] -------[WorldWarp]-------
    2011-07-12 00:48:18 [INFO] -------[Disabled]-------
    2011-07-12 00:48:18 [INFO] Saving .worlds...
    2011-07-12 00:48:18 [SEVERE] Exception in thread "Connection #179 read thread"
    2011-07-12 00:48:18 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-12 00:48:18 [SEVERE] at java.util.Arrays.copyOf(Unknown Source)
    2011-07-12 00:48:18 [INFO] -------[/WorldWarp]-------
    2011-07-12 00:48:18 [INFO] Fake Permissions version 2.7.2 is disabled!
    2011-07-12 00:48:18 [SEVERE] at java.util.Arrays.copyOf(Unknown Source)
    2011-07-12 00:48:18 [SEVERE] at java.util.ArrayList.ensureCapacity(Unknown Source)
    2011-07-12 00:48:18 [INFO] [CommandAlert] Permissions disabled, using OPS.txt
    2011-07-12 00:48:18 [INFO] CraftBookCircuits: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-07-12 00:48:18 [SEVERE] at java.util.ArrayList.add(Unknown Source)
    2011-07-12 00:48:18 [INFO] WorldEdit: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-07-12 00:48:18 [SEVERE] at java.util.Collections$SynchronizedCollection.add(Unknown Source)
    2011-07-12 00:48:18 [INFO] WorldGuard: Permissions plugin detected! Using Permissions plugin for permissions.
    2011-07-12 00:48:18 [SEVERE] at net.minecraft.server.NetworkManager.g(NetworkManager.java:156)
    2011-07-12 00:48:19 [SEVERE] at net.minecraft.server.NetworkManager.c(NetworkManager.java:259)
    2011-07-12 00:48:19 [SEVERE] at net.minecraft.server.NetworkReaderThread.run(SourceFile:84)
    2011-07-12 00:48:19 [INFO] Saving chunks
    2011-07-12 00:48:19 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-12 00:48:19 [SEVERE] Exception in thread "Connection #217 read thread"
    2011-07-12 00:48:20 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-12 00:48:51 [INFO] Stopping server
    2011-07-12


    I look at it and it's all French to me... sorry for being a noob, but some help would be appreciated.
     
  2. Offline

    s1mpl3x

    [SEVERE] java.lang.OutOfMemoryError: Java heap space

    try increasing the HeapSize, you should find something about how to do it around here
     
  3. Offline

    3ric

    Couldn't find anything... what about a plugin or program that restarts the server after a crash?
     
  4. Offline

    Alzurana

    Please post your system specs, all those can't keep up messages let me think that your system is not good enough for a server.

    also you could try a java update..
    but I guess it's more a lack of RAM
     
  5. Offline

    3ric

    AMD duo core 3.2 Ghz
    3.5 GB RAM

    I finally figured out how to allocate more heap space, seems to have been the problem. My server was running on 500 MB of RAM...
     
  6. Offline

    Alzurana

    that indeed was the problem. My system often exceeds the 1gb limit..
    also about the restarts.
    It's a good idea to have a restart plugin/script on hand. I use this solution:
    http://forums.bukkit.org/threads/ad...r-automatic-rebooting-and-commands-953.24652/
    my restart script looks like this

    Code:
    BINDIR="$(dirname "$(readlink -fn "$0")")"
    cd "$BINDIR"
    while true
    do
        java -Xincgc -Xmx1G -jar craftbukkit-0.0.1-SNAPSHOT.jar
        echo "If you want to completely stop the server process now, press Ctrl+C before the time is up!"
        echo "Restarting in:"
        for i in 10 9 8 7 6 5 4 3 2 1
        do
            echo "$i..."
            sleep 1
        done
        echo "Restarting now!"
    done
    
     
  7. Offline

    3ric

    Thank you :)
     
  8. Offline

    Therawroy

    I see there is a real interest for this tweak .... so i am making a Video with some Benchmarks which will show you different configs in hardware / software and Java Configs with and without the special command line.

    In the end i will call it something like "SPITAKMarks" or "PerformaSPITAK" or "Javagra" :p

    Also there is an idea of making a small Linux from the scratch with the jdk 7 and everything tuned. So you start and enjoy ... and the name should be "SPITUX" ;)
     
  9. Offline

    TheMadMan697

    mcmyadmin should restart it for you if u get an error like this.
    its free for up to 8 slot server. anything over that you need to buy it.
     
Thread Status:
Not open for further replies.

Share This Page