100% cpu load on player connect

Discussion in 'Bukkit Help' started by zurisar, May 19, 2011.

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


    Hi guys, I run my bukkit server, last stable build
    CraftBukkit: #766
    Bukkit: #681
    xAuth, WorldEdit, WorldGuard, LWC, Prermissions, PreciousStones, MyHome, AutoSave, Cookbook, CreativeBuild, EasyFlight, iOP, SimpleGive
    Core2Quad 2.33 Ghz, 8Gb RAM, Win 7 x64, Java JRE 1.6 x64
    run with:
    -Xincgc -Xms1024M -Xmx1024M
    -Xincgc -Xms2G -Xmx4G

    when I connect to my server all are ok, but when any other player try to connect server cpu load up to 100% and server extremely lag

    any ideas what it can be?

    ps. of course I tried it without plugins, generated new world, used default server config , it doesn't help.

    I tried run minecraft_server without bukkit and it work well, so it bukkit problem
    Tried last build 798, work better, cpu load about 90% but can't test it alone, post result later (

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


    Dunno if this could help, but first I would allocate more RAM. Like -Xmx3G. or even 4, but actually I don't know how much java x64 can handle. My server machine (what's a very old one with 4Gb RAM and a x86 OS) could only use up to 1,5G for java / bukkit and that caused a lot of lag and the CPU load always went up to 100% (but went down after a minute or so).
  3. Offline


    my java say me that she can't allocate more than 1.5Gb, I try to do something with java now
  4. Offline


    Well, then you're using java x86. Remove everything java you have and install the x64 version.
    In your runningscript you have to put program files(x86) or smth right? you can remove the ( ) part then if you install java x64
  5. Offline


    I installed JRE 1.6 update 25 x64, and now tun server with this:
    "C:\Program Files\Java\jre6\bin\java.exe" -Xincgc -Xms2G -Xmx4G -jar craftbukkit-0.0.1-SNAPSHOT_798.jar

    But problem still :(
    Seems it something with chunk transfer from server to client, because chunks load very slowly...

    ps server has 20/10 mb/s internet link
  6. Offline


    Well, I dont use -Xms2G btw. Well you're using build 798? I would recommend to use a stable build.
    On my old machine the CPU load spiked up to 100% too, but not for too long.
  7. Offline


    return to 766 build, work well for me
    now I'll try it with testers and post result
  8. Offline


    all versions make my cpu spike to 100% when i join i have not tryed other ppl connecting but what the point of hosting a server if you cant play on it.
  9. Offline


    Are you playing minecraft on the same machine?
  10. Offline


    nothing change, cpu still 100% load after someone connected to server

    btw, one interesting thing, no matter who firstly connected, I or my friend, 100% cpu load for all connected players across first

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
    Last edited by a moderator: May 15, 2016
Thread Status:
Not open for further replies.

Share This Page