Solved Minecraft Server Lag Issues (PLEASE HELP!)

Discussion in 'Bukkit Help' started by rempssss, Jun 13, 2012.

  1. Offline

    rempssss

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hello !

    I am hosting a 54 slots Bukkit server with 23 Plugins, when i hit about 20 players the server begins to lag (19.3 - 18.7 ticks) and when i hit the 50 players the server gets almost unplayable and the server is only using 30 - 35 % of ram. when the lag happens everyone stops and after a few seconds (depends how long on the amount of players) everyone moves on rely fast and goes on normal again and after a minutes or ten it happens again and so on.
    So my question is , what is cousing this ? i have been struggling on it for a months with out any success.

    To help you guys help me out im also posting the Speedtest results, plugins and server stats.

    Speedtest results:
    4 ms ping
    Download speed : 125.74 Mbps
    Upload speed : 8.25 Mbps

    Plugin list :
    CaptureThePoints, CasinoSlots, ChatManager, ChestShop, Citizens, CombatTag, DisguiseCraft, DungeonBuilder, Essentials, EssentialsChat, EssentialsProtect, EssentialsSpawn, factions, Izone, LagMeter,McMMO, Moneydrop, NoCheatPlus, PermissionsEx, SpamGuard, Vault, Worldedit, Worldguard

    System Stats :

    System runes on Linux Fedora
    Intel(R) Xeon(R)
    10 Gb Ram
    4 Cores 3.10 Ghz
    Processor number : E3-1220
    Cores : 4
    Clock speed : 3.10 GHz
    64 Bit
    (Should be enough information)

    There you go , i need some help and i need it fast. have tried to figure i out for so long but no results.
    So please help me out here :) !!!!!!
  2. Offline

    Omnitv

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thank you for formatting your Thread and including your speedtest.net results. Should help other Bukkit helpers help you.

    Are you hosting it through you're computer or a Server provider?
  3. Offline

    rempssss

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I bought my own server and hosting the minecraft sever with it.

    This post has been edited 2 times. It was last edited by rempssss Jun 13, 2012.
  4. Offline

    InsanePainz

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    First of all, are you running this server from your own computer? Your computer may not be able to handle all of the people who are playing it. I highly recommend investing in a server host, https://www.beastnode.com/portal/aff.php?aff=613 Also are you using a massive amount of NPC's? This can also cause lag. Also if Casinoslots are under heavy use, they might also bug/glitch out.

    Hope I could be of assistance,
    ~InsanePainz
  5. Offline

    rempssss

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I use only one NPC in my server witch is the blacksmith and no people use casino rearly. And i bought my own server and also postet the stats above , ain't they enough. Also when i have a full server i use 70 % of the total CPU and 4 GB of ram.
  6. Offline

    rempssss

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Can anyone help ? :(
  7. Offline

    Nathan C

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Which Xeon model processor is that?

    There are tons of Xeon models, each with based off different architectures, so clockspeed is near irrelevant.

    This post has been edited 1 time. It was last edited by Nathan C Jun 14, 2012.
  8. Offline

    MonsieurApple

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    My best guess is you have a runaway plugin that's hogging all the CPU. I would recommend trying the NoLagg examine plugin to see what plugin is doing it.

    Also, perhaps try CraftBukkit++?
  9. Offline

    ImminentFate

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    WorldEdit and NoCheat would be the greatest cpu hogs, but worldedit isnt used that often to be an issue.
    Try adding plugins to your server one by one to see when the problem starts.
    Also, delete and regenerate your server.log file. You may find that after a few days with a lot of people, it gets huge. On my modest server, (10 players), After a week the file size is about 7MB
  10. Offline

    jaboy

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    might be a stupid question ... but what is that ?

    back on topic :p

    in worldguards config set
    regions:
    high-frequency-flags:
    to false

    This post has been edited 1 time. It was last edited by jaboy Jun 15, 2012.
  11. Offline

    rempssss

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    So , im back here to tell everyone what have i found out.
    I found out that when the lag occurs , the network usage (or sending speed) goes down from 6 Mbps to 0.1 Mbps to almost no network sending speed at all , but it doesn't Disconnect the players , it just stops them for like 1 - 2 secs and then everyone jumps on like 10 - 20 blocks BIG LAGG. Also at that moment the CPU usage drops to almost 1-5 % , to me it seems like ethernet lag ... but im not sure , could this be coused by any plugin that , i dunno , stops the server ? or makes it lag severely witch almost stops or crashes the server ? At the moment of lag i don't see anything unusual in the console , just players talking or pvping , after the lag i do see the error ''can't keep up! Did the system time change or is the server overloaded'' . I personally don't think that the network speed is the issue here or the server stats. I am also now trying the removal of plugins , to see if anything works. But still , nothing mutch has changed since the beginning of the post. Does anyone know any plugins that might couse that lag (plugin list above)

    Hoping for a fix ! :/
    ReMpS
  12. Offline

    Danimal

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I know a good plugin that would lower the lag in your server. Ptweaks is very good at reducing lag.
  13. Offline

    ImminentFate

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    i dunno about this, but maybe you should try contacting your ISP. they may be capping you for extended usage at high speeds, as per their probable fair use policy. Or, you may be having a connection reset at some point. Just give them a call or email to see whether that's a cause.
  14. Offline

    rempssss

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Hello again !
    Still lagging , but i also found out that when people buy things from shop (using chestshop plugin) it laggs horribly . could the lagg be coused by chestshop ?
  15. Offline

    Fungreenfox

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Is the lag happening when people area entering exactly same world? I had a world, so bad chunked that only solution was to exchange for a new world. Bad chunks.
  16. Offline

    Fungreenfox

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Possible bad addons atm can be stoptalking, and foundbox with mysql. Sorry to the author but this is fact.

    This post has been edited 1 time. It was last edited by Fungreenfox Jun 21, 2012.
  17. Offline

    rempssss

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Lag fixed ! I removed WorldEdit and WorldGuard and made a new wold and no more lag
  18. Offline

    PandazNWafflez

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    hooray!
  19. Offline

    Fungreenfox

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
  20. Offline

    Fungreenfox

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    You should look in the console during startup, or type save-all and look into the server.log file to see why we and wg possibly could cause something.
  21. Offline

    redside100

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    I heard that the plugin McMMO causes a lot of server lag. Also, it takes usually 1 MB of upload speed for 3 people to connect from outside your lan. So, its about 24 for you.
  22. Offline

    Rodlan

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Nice job dude!


    [IMG]
  23. Offline

    JaySmithGaming

    dev.bukkit.org profile:
    CFUSERNAME
    My Plugins (CFCOUNT)
    Minecraft account:
    MCUSERNAME
    Thanks ,i remove mcmmo and cleared much lag behind it

Share This Page