Log in stops working

Discussion in 'Bukkit Help' started by Krystian0, Jun 6, 2011.

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

    Krystian0

    General System information
    What operating system are you running the server on?
    Ubuntu 10.04.2


    Is it a 64 bit or 32 bit version of the OS?
    64bit

    What version of Java are you running (java -version to find out)?
    java version "1.6.0_24"
    Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
    Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)


    How much RAM do you have on the system?
    With the command free -m :
    Code:
                 total       used       free     shared    buffers     cached
    Mem:          7990       6613       1376          0         18       5684
    -/+ buffers/cache:        910       7079
    Swap:         3998        203       3795
    




    Minecraft Server Information
    What version of CraftBukkit are you running (output of /version in-game - please provide the full version string)?
    818
    What plugins (and their versions) is your server running?
    LWC, WorldGuard, WorldEdit, ComandBook, AuthMe


    How much RAM do you allocate to the server process?
    4GB
    What is the launch line you use to start the server?
    Code:
    #! /bin/sh
    BINDIR="$(dirname "$(readlink -fn "$0")")"
    cd "$BINDIR"
    java -server -Xincgc -d64 -Xms4096M -Xmx4096M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:ParallelGCThreads=4 -XX:+AggressiveOpts -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui

    Do you experience high CPU load or paging during the time of the EoS?
    No

    How many users are actively using your server when you experience the errors?
    10-32
    What are your users doing around the time the error occurs?
    It does not matter


    How large is your map?
    100 MB

    Are there large redstone circuits or minecart tracks on your map?

    No

    Are you seeing any “Cannot keep up” errors around the time of the EoS? (Or just post ~10 lines from the log around the event?)

    Code:
    2011-06-06 15:21:59 [SEVERE] Exception in thread "Listen thread"
    2011-06-06 15:21:59 [SEVERE] java.lang.OutOfMemoryError: unable to create new native thread
    2011-06-06 15:21:59 [SEVERE]     at java.lang.Thread.start0(Native Method)
    2011-06-06 15:21:59 [SEVERE]     at java.lang.Thread.start(Thread.java:640)
    2011-06-06 15:21:59 [SEVERE]     at net.minecraft.server.NetworkManager.<init>(NetworkManager.java:61)
    2011-06-06 15:21:59 [SEVERE]     at net.minecraft.server.NetLoginHandler.<init>(NetLoginHandler.java:21)
    2011-06-06 15:21:59 [SEVERE]     at net.minecraft.server.NetworkAcceptThread.run(SourceFile:53)

    Do you still have these problems if you run your CraftBukkit server without plugins?
    Yes

    Do you still have these problems if you run a Minecraft server without CraftBukkit?
    I do not know.

    With 32 people after several minutes no one can log in, the server is running all the time without lag. According CommandBook server has allocated 4GB of RAM and uses 1GB, CPU usage around 30%. The fewer people on the server = login work longer.




    Has anyone a solution?

    The problem still exists in version 823...

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 16, 2016
  2. Offline

    Zaros

    Says your out of memory for the server. Try allowing the server to use more RAM, or giving it a wider spectrum instead exactly 4 Gb. Best bet would be to experiment with your allocation amount.
     
  3. Offline

    Krystian0

    I tried:
    -Xms4096M -Xmx4096M
    -Xms6144M -Xmx6144M
    -Xms2G -Xmx4G
    -Xms512M -Xmx2048M
    -Xms128M -Xmx6144M

    When error occur the server never uses more than 1GB of RAM

    I've also updated to 826

    No change :/
     
  4. Offline

    Zaros

    Other people have launcher methods that may work, you might need to wait for one of them to post.
     
Thread Status:
Not open for further replies.

Share This Page