Server "half-Crash" sometimes

Discussion in 'Bukkit Help' started by Sapd, Feb 16, 2011.

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

    Sapd

    Hello Bukkit Community,
    I've got a Problem with my Server. Sometimes every Players got kicked, and nobody can't connect any more. Console doesn't respond any more, but Livemap is still working for example. I already searched after this Problem, but it looks like I am the only one who has it.

    OS: Ubuntu Lucid Lynx x64
    Java:
    Specs: 24 GB RAM, Intel core i7
    Bukkit Build: 325

    Plugins:
    Startup Command:
    Code:
    screen -A -m -d -S publicmine java -server -verbose:gc -Xmn2G -Xms8G -Xmx12G -XX:permSize=128m -XX:+UseConcMarkSweepGC -XX:parallelGCThreads=4 -XX:+CMSParallelRemarkEnabled -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=500 -XX:SurvivorRatio=16 -XX:TargetSurvivorRatio=90 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -Xnoclassgc -XX:UseSSE=3 -XX:+UseLargePages -jar craftbukkit-0.0.1-SNAPSHOT.jar
    
    It happens after:
    or often...
    or sometimes if a specific Player logs in, then i need to delete his name.dat in world/players.

    Someone got similar Problems?
     
  2. Offline

    mughi

    is there anything else in the log?
     
  3. Offline

    Sapd

    Mhm no, its always like that:
    I can remember that there were sometimes Java Errors in Console, but they arent saved in log :(

    Btw, why is there always this:
    But the Server doesn't lagg, not even a bit.
     
  4. Offline

    mughi

    i used to get that until i started using TNT's server start parameters..

    java -d64 -Xmx12G -Xingc -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui


    EDIT: my suggestion helped me with the "CAN'T KEEP UP" message.. I have not experienced the half crash you describe
     
  5. Offline

    TnT

    Does it do the same with no plugins installed?

    You could always try what mughi suggested, just to simplify things. Lots of people have various thoughts on the Java flags, so I won't rehash that discussion here. I don't think swapping out the flags will solve your problem though.

    You can reduce the amount of times you get that warning by running a ramdisk (or tmpfs) drive.
     
  6. Offline

    Josch

    I have the same half-crash problem,....
    Here is what is last on the console:
    Code:
    java.io.IOException: Bad packet id 64
            at net.minecraft.server.Packet.b(SourceFile:106)
            at net.minecraft.server.NetworkManager.f(SourceFile:157)
            at net.minecraft.server.NetworkManager.c(SourceFile:15)
            at net.minecraft.server.NetworkReaderThread.run(SourceFile:68)
    2011-02-20 23:21:59 [INFO] Forcing MCServerlist update.
    2011-02-20 23:21:59 [WARNING] dinodude7411 had an illegal stance: 4.631735960035114E185
    
     
  7. Offline

    ashaoaoao

    if you had what i had there wasn't enough ram try replacing your run.bat file with;
    --------------------------------------------------

    @echo off
    "%ProgramFiles(x86)%\Java\jre6\bin\java.exe" -Xms1024M -Xmx1024M -jar craftbukkit-0.0.1-SNAPSHOT.jar
    pause

    -------------------------------------------------
    colour key
    Location of java.exe
    Ram assigned
    Location of .Jar file
    Help at: http://forums.bukkit.org/threads/assigning-more-ram-to-a-server-guide.1432/
     
  8. Offline

    TnT

    You need to change your command line options. You should never use -Xnoclassgc with craftbukkit.

    Directly from EvilSeph: -Xnoclassgc - this flag should not be used with CraftBukkit as we make EXTENSIVE use of reflection and could lead to a large memory leak as a result of all the dynamic classes not being garbage collected when they need to be, since you are telling it not to…

    Code:
    java -Xincgc -Xmx12G -jar craftbukkit.jar
    Read this to know more.
     
Thread Status:
Not open for further replies.

Share This Page