Solved Need help, slow server, TPS down to 1.3

Discussion in 'Bukkit Help' started by pwb, Apr 14, 2012.

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

    pwb

    Hi, i have a new server, and one of the users did make something that made the server lag extrem. Its a fast server with a realy fast RAID 10 and a 3ware controller, 8G memory Windows7 64-bit and 6-7 users. Everything has been fine until someone did something wrong, now its using all the CPU and i did tried it on a new Xeon server with 16GB memory and it still got slow TPS and lag. The error
    Can't keep up! Did the system time change, or is the server overloaded
    is showing every 5-10 seconds. Is there something or some plugin to see what takes cpu inside a world?

    I installed this last day, so its all latest bukkit and plugins.

    Bukkit
    Worldedit
    Worldguard
    setspawn
     
  2. Offline

    andrewpo

    Post your entire server.log file (upload to pastebin, post the link here) and a list of *all* your plugins ( run the 'plugins' command in console and copy the output)

    + the full version string (output of 'version' console command)
     
  3. Offline

    pwb

    http://pastebin.com/7AD1Ju9R

    17:47:42 [INFO] This server is running CraftBukkit version git-Bukkit-1.2.5-R1.0-b2149jnks (MC: 1.2.5) (Implementing API version 1.2.5-R1.0)

    17:48:08 [INFO] Plugins (6): LagMeter, iSafe, WorldEdit, WorldGuard, PlgSetspawn, PermissionsBukkit

    I have disabled/removed all plugins, still slow/lag
     
  4. Offline

    Nathan C

    Xeon CPU............which model? It could be based off the Pentium 4 architecture for all we know.

    Although the answer is simple......... your CPU is too slow. Upgrade it.
     
  5. Offline

    andrewpo

    A build (I think it is 2126) of CraftBukkit which fixes entity clipping issues in quite a hacky way will cause much more CPU load than previous versions of craftbukkit - which your setup now seems unable to handle.
     
  6. Offline

    pwb

    he he he. NO, its not slow CPU. Its something in the world/map thats making the lag. The CPU is Xeon E31230 3.20GHz total of 8 cores
    The TPS is under 3 with 0 -Zero- users.
     
  7. Offline

    andrewpo

    What do you mean by TPS?

    Also, install the Essentials plugin and run the ' gc ' command in the console + post the full output here.
     
  8. Offline

    pwb

    18:23:16 [INFO] Maximum memory: 5,723 MB
    18:23:16 [INFO] Allocated memory: 1,627 MB
    18:23:16 [INFO] Free memory: 1,423 MB
    18:23:16 [INFO] World "verden-2": 625chunks,11028entities
    18:23:16 [INFO] Nether "verden-2_nether": 625chunks,89entities
    18:23:16 [INFO] World "verden-2_the_end": 625chunks,25entities
     
  9. Offline

    andrewpo

    11,000 entities?!

    Type " /world verden-2 " to go to that world
    Type " /remove minecart 20000 " to remove all minecart entities
    Type " /remove boat 20000 " to remove all boats
    Type " /butcher 20000 " to kill all mobs.
    Type " /remove items 20000 " to remove all items on the ground

    Those commands might take a while with such a large radius, should they crash your server - reduce the radius to 10000

    Then re-post the output of the " gc " command
     
  10. Offline

    pwb

    Its rainig ladder, is it possible to remove the raining ladders?
     
  11. Offline

    andrewpo

    Use the /remove items command I mentioned above while in that world.
     
  12. Offline

    pwb

    THANX
    19:19:00 [INFO] Maximum memory: 5,723 MB
    19:19:00 [INFO] Allocated memory: 1,627 MB
    19:19:00 [INFO] Free memory: 1,370 MB
    19:19:00 [INFO] World "verden-2": 667chunks,185entities
    19:19:00 [INFO] Nether "verden-2_nether": 625chunks,89entities
    19:19:00 [INFO] World "verden-2_the_end": 625chunks,25entities

    Is it possible to set a item limit? I see that raining ladders could be haevy for the CPU ;-)
     
  13. Offline

    andrewpo

    Did that fix your lag issue? And I think the NoLagg plugin by bergerkiller (I'm not sure if he still maintains it) buffers items to prevent that problem.
     
  14. Offline

    pwb

    yes, the /remove items 20000 fixed the lag, it removed the raining ladders.
     
  15. Offline

    andrewpo

    Since your issue in the Bukkit Help forum is resolved, please change the prefix of your topic title to Solved by going to Thread Tools then 'Edit Thread'
    [​IMG]
     
  16. Offline

    Bertware

    NoLagg:
    -Allows you to limit items
    -Stacks items, to reduce CPU load
    -/nolagg clear to remove all entities
    Consider installing it.
     
    andrewpo likes this.
  17. Offline

    pwb

    Yes, i have done that. Not sure if it works 100%, its not for the latest release of bukkit, but i give it a try
     
  18. Offline

    andrewpo

    I would avoid using it if it hasn't been updated ( bergerkiller - clarify? ) as it could possibly mess up your world.
     
  19. Offline

    bergerkiller

    andrewpo nah it's safe to use for 1.2.5 R1.0. Install the examine component and examine the server. From the generated log you can easily see what plugin is taking up all the tick times in the graph.

    [​IMG]
     
  20. Offline

    KakusCraft

    lmao what was causing this ?

     
  21. Offline

    pwb

    one user had it to rain ladder (the things you climbs in), he dont know how, but in some way he made it rain ladders insted of water/snow.
     
Thread Status:
Not open for further replies.

Share This Page