Server lag

Discussion in 'Bukkit Help' started by Kzkas, Apr 18, 2012.

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

    Kzkas

    Hello, I'm having an issue with lag then where are many players in my server. Our server is running on 8x2 GHz CPU and 11 gb ram. Well lag starts when there is about ~60 players and from about 15-20 were are always 60-90 players. Chat isn't lagging, but the players movement lags and sometimes block placing/breaking. How can I fix this? Should I add more rams ? Or maybe CPU? Any ideas would be very appreciated. Thanks :)
     
  2. Offline

    andrewpo

    Server.log + start script please ( upload to pastebin.com )
     
  3. Offline

    Kzkas

    screen -dmS minecraft java -Xmx10240M -Xms10240M -jar craftbukkit.jar nogui
    Here's some part of log:
    http://pastebin.com/fCCXg45g

    /gc:
    Max memory:10gb
    Allocated: 10 gb
    Free: 8gb
    World chunks: 4170 chunks, 1382 entities
    Nether chunkcs: 576 chunks, 65 entities
     
  4. Offline

    Cicadia

    When lagg occurs, it can also be a resource problem for just about anything on the server. What's your upstream/downstream speed? And have you installed any new plugins recently?
     
  5. Offline

    Kzkas

    We're holding it in Virtual Private Server and the speed is 100 mb/s. All players are from one country and the country is not very big. I didn't install any new plugins. I suppose that we don't have enough resources and that causes lag, so what should I add CPU or RAM or something else to VPS to get it no lagg?
     
  6. Offline

    Kzkas

    So, does anyone have any ideas how to fix this?
     
  7. Offline

    andrewpo

    "World chunks: 4170 chunks, 1382 entities"
    Have you got a world border plugin? Why so many entities?
     
  8. Offline

    Kzkas

    Yep, my border is 1000x1000 from spawn.
     
  9. Offline

    LHammonds

    How often is the server rebooted? I find that if I let it run for more than 12 hours, it tends to lag with block build/break. I also have about 50 plugin jars installed and my world and plugin folders are running from a RAM Disk.

    Adding more CPUs will do absolutely nothing since it only uses 1 CPU. Using a faster CPU will help.

    Do you have any hardware stats when the server is running fine such as less than 5 players, then stats for around 20 to 30 players and stats when you hit lag with > 60 players?

    The stats I am referring to are CPU usage, RAM usage, Disk Usage and Network Card / Bandwidth Usage.

    LHammonds
     
Thread Status:
Not open for further replies.

Share This Page