jumping TPS and lag

Discussion in 'Performance Tweaking' started by Thagus, Sep 22, 2013.

  1. Hi,
    I'm having a lag problem in my server, in some areas the lag is extreme, and the TPS is variating too much (still between 19-20.1, but this range expands each hour), this started two days ago, (before that the TPS was remained above 19.9), and I haven't made any change on the configs (just created a new PVP arena with the BattleArena Plugin). Here's the timmings report: http://aikar.co/timings.php?url=6139166

    I apreciate any kind of help that you can provide me.
    Thanks
     
  2. The problem is that this happened with only 12 users online, and is getting worse
     
  3. Dmck2b

    Services Staff

    Get rid of PTweaks.

    Someone's got a Golem/Villager farm.

    Why do you need 4 protection plugins? Worldguard, factions, frecious stone and essentials protect?

    Post your Spigot.yml and I'll make a few optimisations.
     
    • Like Like x 1
  4. I'm using worldguard to protect public areas fron griefing, factions for a PVP world (the users make their own faction and fight against others), precious stones to prevent griefers on players houses (the user buy protections) and essentials protect for general protection rules that world guard dont have (principally prevent storms)

    Here's the spigot.yml
    ty
     
  5. Dmck2b

    Services Staff

    Worldguard can prevent weather, fyi.

    config-version: 3
    settings:
    log-filters:
    - ^(.*)(/login)(.*)$
    prevent-proxies: false
    bungeecord-addresses:
    - 127.0.0.1
    bungeecord: true
    timeout-time: 25
    restart-on-crash: true
    restart-script: ./start.sh
    netty-threads: 3
    commands:
    spam-exclusions:
    - /skill
    log: true
    tab-complete: true
    listeners:
    - port: default
    host: default
    netty: true
    messages:
    whitelist: You are not whitelisted on this server!
    unknown-command: Unknown command. Type "/help" for help.
    server-full: The server is full!
    outdated-client: Outdated client!
    outdated-server: Outdated server!
    world-settings:
    default:
    verbose: true
    anti-xray:
    enabled: true
    engine-mode: 1
    blocks:
    - 5
    - 14
    - 15
    - 16
    - 21
    - 48
    - 49
    - 54
    - 56
    - 73
    - 74
    - 82
    - 129
    - 130
    mob-spawn-range: 4
    growth:
    cactus-modifier: 100
    cane-modifier: 100
    melon-modifier: 100
    mushroom-modifier: 100
    pumpkin-modifier: 100
    sapling-modifier: 100
    wheat-modifier: 100
    entity-activation-range:
    animals: 16
    monsters: 26
    misc: 16
    entity-tracking-range:
    players: 42
    animals: 32
    monsters: 32
    misc: 16
    other: 48
    ticks-per:
    hopper-transfer: 8
    hopper-check: 8
    random-light-updates: false
    view-distance: 6
    chunks-per-tick: 300
    merge-radius:
    exp: 2.0
    item: 2.0
     
    • Like Like x 1
  6. thank you very much!
    I'll do this changes, and see if this normalizes the TPS. And other thing, it may be asociated with many player skulls or many frames in the worlds? today I removed the Decapitation plugin in order to prevent more skulls be spawned (because some users exagerated with that)
     
  7. Dmck2b

    Services Staff


    In total they took up 0.11% of your CPU time, so I wouldn't say so.
     
    • Like Like x 1
  8. FakePlayersOnline...
    congratulations
     
  9. md_5

    Administrator Developer

    Were you <endless1989> on irc? If so:

    In spigot.yml:
    save-structure-info: false
     
  10. joehot200

    Supporter

    It fakes people, not player counts.
     
  11. I dont fake players online, I just use it to edit max slots, and the motd