High CPU when a player joins the server.

Discussion in 'Performance Tweaking' started by jebuzjack, Feb 14, 2013.

Thread Status:
Not open for further replies.
  1. Is is just the chunk loading that causes high CPU when a player joins or is there anything i could configure to reduce this? Not a major issue but it would be a nice little performance tweak.
     
  2. Can't do much without your Plugin list and bukkit.yml.
     
  3. [​IMG]

    I am using bungee with 3 other server but the bukkit.yml is the same on all servers and the only difference on the Lobby is half of the plugins are on there and creative only has plotme added.
    bukkit.yml
    Code (Text):
    settings:
      allow-end: true
      warn-on-overload: false
      permissions-file: permissions.yml
      update-folder: update
      ping-packet-limit: 100
      use-exact-login-location: true
      plugin-profiling: true
      connection-throttle: -1
      query-plugins: true
      deprecated-verbose: default
      shutdown-message: Server closed
      restart-script-location: start.bat
      timeout-time: 480
      restart-on-crash: true
      filter-unsafe-ips: false
      whitelist-message: You are not white-listed on this server!
      log-commands: true
      command-complete: true
      spam-exclusions:
      - /skill
      stop-message: Server restarting. Brb
    world-settings:
      default:
        growth-chunks-per-tick: 5
        mob-spawn-range: 4
        item-merge-radius: 3.5
        exp-merge-radius: 3.5
        random-light-updates: true
        aggregate-chunkticks: 4
        wheat-growth-modifier: 10
        cactus-growth-modifier: 10
        melon-growth-modifier: 10
        pumpkin-growth-modifier: 10
        sugar-growth-modifier: 10
        tree-growth-modifier: 10
        mushroom-growth-modifier: 10
      world:
        growth-chunks-per-tick: 1000
      world_nether:
        view-distance: 5
        growth-chunks-per-tick: 0
        random-light-updates: true
        water-creatures-per-chunk: 0
    spawn-limits:
      monsters: 70
      animals: 15
      water-animals: 5
      ambient: 15
    chunk-gc:
      period-in-ticks: 600
      load-threshold: 0
    ticks-per:
      animal-spawns: 350
      monster-spawns: 350
      autosave: 0
    auto-updater:
      enabled: true
      on-broken:
      - warn-console
      - warn-ops
      on-update:
      - warn-console
      - warn-ops
      preferred-channel: rb
      host: dl.bukkit.org
      suggest-channels: true
    database:
      username: bukkit
      isolation: SERIALIZABLE
      driver: org.sqlite.JDBC
      password: walrus
      url: jdbc:sqlite:{DIR}{NAME}.db
    orebfuscator:
      enable: true
      update-radius: 2
      disabled-worlds:
      - home2_nether
      - home2_the_end
      - home1
      - survivalgames2
      - survivalgames3
      - flatmap
      - survivalgames5
    storm-settings:
      strong-electrical-storm:
        chance: 5
        lightning-delay: 10
        lightning-random-delay: 20
      electrical-storm:
        chance: 15
        lightning-delay: 40
        lightning-random-delay: 150
      strong-thunderstorm:
        chance: 30
        lightning-delay: 60
        lightning-random-delay: 250
      thunderstorm:
        chance: 50
        lightning-delay: 100
        lightning-random-delay: 500
      weak-thunderstorm:
        chance: 75
        lightning-delay: 300
        lightning-random-delay: 1000
      rainstorm:
        chance: 100
        lightning-delay: 500
        lightning-random-delay: 2000
     
  4. Try removing PTweaks? Most of plugins that claim to "lessen" lag tends to lag the server.
     
  5. I've heard Dynmap has known memory leaks. (Not confirming or denying) Are you running spigot? If so, what version?
     
  6. LiLChris

    LiLChris Retired Moderator
    Retired

    Why so many plugins for a lobby?

    I only have 3. :p
     
    • Agree Agree x 1
  7. Running Latest Recommended Build of Spigot. I will have a look at dynmap to see if it could be that.
     
  8. loomnarty confirmed!
     
Thread Status:
Not open for further replies.