Solved Can Someone Explain My Lag?

Discussion in 'Bukkit Help' started by Sam991, Jan 1, 2013.

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


    Hi. Thanks For Looking At My Post!

    Some People on my server has been experiencing lag as-well as i sometimes. i have great internet connection so that's out of the question.
    My pc has : Intel(R) Core(TM) i7 CPU 870 @2.93 GHz
    6.00 GB (RAM)

    TBH i don't have a clue what the above means really :D

    I currently have a max of 30 on my server. as i had to minimize the amount due to so much lag.
    I have 30 plugins on my server.

    in the cmd i have been getting random error messages but it seems to have been fixed as i updated world guard. can my PC run 30 people? is it there connection? i don't understand what the problem is!
    Thanks to anyone who can help me here.

    Attached Files:

  2. Offline


  3. Offline


    Could be from Orebfuscator, but there's not a lot you can do about that.

    Are you receiving any errors in the console?
  4. Offline


    Thanks For replying, but no my console has not been getting any errors. i have been looking at for a good 1-2mins. no long errors appearing.
  5. Offline


    Install LagMeter, how many ticks are you getting, and how much RAM is allocated? If its not green, let it render the data, etc.
    If you're not allocating enough RAM (like a gigabyte, though I am sure others would suggest more, they have the money to buy such luxuries), then launch it with a script (.sh/.command) and allocate the RAM there.
    If you're running on the same computer, don't. Use a different computer, it will separate the Graphics and the Processing, making it much faster.
    If you've got a slow internet connection, that's why - Minecraft needs a sizeable amount of network bandwidth.
    Just an aside, the number of player slots has nothing to do with the server load.
  6. Offline

    Nathan C

    Well, that CPU is not the best...........BUT it should be able to handle 30-50ish players without lag.

    With that being said, I think your issue lies with your plugins. Orebfuscator is really hard on both the disk I/O and the CPU. Try removing that to see if performance improves.
    ifly6 likes this.
  7. Offline

    Sam991 i typed /lag. thats with 30 people exactly online.
  8. Offline


    You're running out of RAM to address players. Allocate more RAM.
  9. Offline


    How Would i allocate more ram. i have the minecraft magic launcher. wouldi just go to setup and change the MB there? or is that something different.
  10. Offline


    The server needs more RAM. It needs to be allocated more than 900MB of RAM. Something like 2-3GB would be best for your current setup.
    The launch script's Java invocation line should look like this (if allocating 2GB of RAM):
    java -d64 -Xms128M -Xmx2048M -jar craftbukkit.jar nogui
    EDIT: I would actually recommend up to 4GB of RAM if you have 6GB.. unless you are playing on the same computer, for which you should decrease to 2GB.
  11. Offline


    Thanks For the help. not to sound to dull but where would i put the code java -d64 -Xms128M -Xmx2048M -jar craftbukkit.jar nogui
  12. Offline


    You need to make a script to call the craftbukkit.jar file. You should have one if you're running a server. You need to increase the amount of RAM allocated to the server.

    More Info: When you set up your server, you remember making the launch.bat? (Wiki's Windows' Step 2). There, edit it using notepad and change it from whatever you have set starting from the same line to the "java -d64 -Xms128M [... blah blah..]".
  13. Offline


    Download nolagg plugin and bkcommonlib (dev build) and use /nolagg examine

    Always works for me!
  14. Offline


    You already have 2GB according to that.
  15. Offline


    You see the allocated amount of RAM on the server? And consider the fact that there are 30 people on it.
  16. Offline


    6 gb? I have 5 gb with 7 worlds and 50 players NO LAG!
  17. Offline


    Yes, however, the link there ( clearly shows that LagMeter is only reading that 900MB of that 6GB Hardware RAM is being allocated to Bukkit.
  18. Well im having same thing. Players lag like hell.

    Specs: Intel i3
    1gb given for 50 slot server (whole server has 16gb)
    100/100 connection
    Latest beta for CraftBukkit.

    Help please?
  19. Offline


    Lool i see xD
  20. Offline


    People, please allocate your RAM along a formula like
    if x = number of players, x*100 = RAM allocated. its a simple rule that really solves alot.
  21. Offline


    Thanks Alot. Problem Solved!
Thread Status:
Not open for further replies.

Share This Page