100x100 WorldEdit causing "Can't keep up!"

Discussion in 'Bukkit Help' started by reckst4r, Dec 15, 2013.

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

    reckst4r

    Hi. I'm having a problem with worldedit/my server. I use worldedit alot, and today it suddenly started reacting odd when I used worldedit. If I select a 50x50 region and set it as stone, it responds as if it was a million blocks, and I got this in the console.
    Code:
    CONSOLE: WARN]: Can't keep up! Did the system time change, or is the server overloaded? Running 30545ms behind, skipping 610 tick(s)
    I then tried 100x100 blocks, and it timed me out.
    I have 2x Intel Xeon 5150 / 2.66 GHz ( 1333 MHz ), LGA771 Socket, L2 4 MB, and 16GB RAM, so the specs are just fine!
     
  2. Offline

    phillmac

    Firstly, have you made any recent changes to wordedit? E.g. updated worldedit, or changed its config?
    Secondly,
    What operating system are you running?
    If you use linux and have console access try running this little script:
    Code:
    while true; do uptime >> uptime.log; sleep 1; done
    .
    Enter that in, start it running and then do your world edit then come back and stop it from running by pressing CTRL+C. This will give among other things a readout of how much load is on your server CPU, repeating once every second so you can get a log of whats going on. The output of the command will be something like this:
    Code:
     18:56:32 up 110 days, 21:47,  3 users,  load average: 0.38, 0.31, 0.31
    What we are interested in is the load average figures. These three figures are the 1 min, 5 min and 15 min averages. What they mean: a value of '1.0' is enough work for 1 (one) CPU core for 1 unit of time. Because you effectively have a CPU with four cores, a value of '4.0' means that you have 100% load on ALL you cores.
    Remember Minecraft can only use one core at any one time, so if your figures go up by more then one when you do your world edit, the worldedit is simply too big for the amount of CPU power you have available. If your figures are already high to start with, try to find out if you have anything else running that is using CPU power. Using the 'top' command in console may be a good place to start to try to find what is using too much CPU.
    Also, one other thing to try - Make a backup copy of your ENTIRE server folder, then remove all of your plugins except worldedit and see if the problem is still there. If not the problem is in one of your other plugins. Add them back in one by one until the problem re-appears.
    If the problem is still there, try deleting your world file and starting a new world from scratch.
    If the problem is still there I can't think of much else that could go wrong apart from worldedit having a bug. File a bug in the world edit bug tracker.
     
  3. Offline

    reckst4r

    Okay, after disabling all the plugins, backing up the server, deleting the worlds and generate a new world, it's still the same. The odd thing is that I haven't changed anything in the worldedit plugin (I haven't updated it either), the only thing I've updated, is my client (the server is running 1.7.2, I'm running 1.7.4). I can't really see how that can be the cause, anyhow, I'm going to try downgrading to 1.7.2, and I'll try updating worldedit.

    Just to make sure - these are alright, right?
    Code:
     14:33:50 up 8 days, 16:34,  1 user,  load average: 0.25, 0.15, 0.08
    14:33:51 up 8 days, 16:34,  1 user,  load average: 0.25, 0.15, 0.08
    14:33:52 up 8 days, 16:34,  1 user,  load average: 0.23, 0.15, 0.08
    14:33:53 up 8 days, 16:34,  1 user,  load average: 0.23, 0.15, 0.08
    14:33:54 up 8 days, 16:34,  1 user,  load average: 0.23, 0.15, 0.08
    14:33:55 up 8 days, 16:34,  1 user,  load average: 0.23, 0.15, 0.08
    14:33:56 up 8 days, 16:34,  1 user,  load average: 0.23, 0.15, 0.08
    14:33:57 up 8 days, 16:34,  1 user,  load average: 0.21, 0.15, 0.08
    14:33:58 up 8 days, 16:34,  1 user,  load average: 0.21, 0.15, 0.08
    14:33:59 up 8 days, 16:34,  1 user,  load average: 0.21, 0.15, 0.08
    14:34:00 up 8 days, 16:34,  1 user,  load average: 0.21, 0.15, 0.08
    14:34:01 up 8 days, 16:34,  1 user,  load average: 0.21, 0.15, 0.08
    14:34:02 up 8 days, 16:34,  1 user,  load average: 0.19, 0.14, 0.08
    14:34:03 up 8 days, 16:34,  1 user,  load average: 0.19, 0.14, 0.08
    14:34:04 up 8 days, 16:34,  1 user,  load average: 0.19, 0.14, 0.08
    14:34:05 up 8 days, 16:34,  1 user,  load average: 0.19, 0.14, 0.08
    14:34:06 up 8 days, 16:34,  1 user,  load average: 0.19, 0.14, 0.08
    14:34:07 up 8 days, 16:34,  1 user,  load average: 0.18, 0.14, 0.08
    14:34:08 up 8 days, 16:34,  1 user,  load average: 0.18, 0.14, 0.08
    
    Update:
    I've downgraded to 1.7.2, and tried using a development build of worldedit, and it's still the same.

    Update again:
    After a fresh minecraft server install, it works perfectly fine. Thanks, phillmac.
     
  4. Offline

    phillmac

    yes, those figures look fine. Good to know you got it sorted.
     
Thread Status:
Not open for further replies.

Share This Page