Slow startup/reload

Discussion in 'Bukkit Help' started by DanH42, Dec 18, 2012.

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

    DanH42

    OS: Ubuntu 12.04 (Linux 3.2.0-34-generic #53-Ubuntu SMP Thu Nov 15 10:48:16 UTC 2012 x86_64 x86_64 x86_64 GNU/Linux)
    Java 7: Java(TM) SE Runtime Environment (build 1.7.0_10-b18) Java HotSpot(TM) 64-Bit Server VM (build 23.6-b04, mixed mode)
    Bukkit: git-Bukkit-1.4.5-R0.2-b2488jnks
    Plugins (21): TimTheEnchanter, NoCheatPlus, WorldEdit, Buycraft, CommandBook, OpenInv, RemoteBukkit, Vault, PermissionsEx, Modifyworld, iChat, CreativeKill, WorldGuard, dynmap, WorldBorder, CraftBookCommon, HawkEye, LimitedCreative, SignShop, BOSEconomy, CraftBookCircuits

    I've been noticing that one of my servers has been gradually getting considerably slower over the past few weeks. A month ago, the server averaged about 15 seconds to start. The most recent reboot took 148 seconds. I've tried Java 6 and 7, with similar results. There wasn't a sudden jump when I added a plugin; it's been gradual. There are a couple places while it's starting up that it will freeze for a long time, sometimes an entire minute. When it freezes, CPU usage jumps to 100%. There aren't any unusual errors in the console when it starts up. I tried removing all the plugins, and the start time dropped to about 12 seconds. Still with no plugins enabled, I moved Bukkit back to the 1.3.2 RB, and that boot time dropped to 2 seconds. Most plugins I use require 1.4.x, and I haven't tried finding old versions of them all to test the server running a full load on 1.3.2. Server performance once it starts is about the same, although I've been getting notably more "Can't keep up!" messages then usual. I have another server running on a cheap VPS with the same Bukkit build and many of the same plugins, and its startup times are around 10 seconds. I've played with the Java startup options, again not impacting start times any. I'm currently using these:
    Code:
    -server -Xmn4G -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:ParallelGCThreads=5 -XX:+CMSParallelRemarkEnabled -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=500 -XX:SurvivorRatio=16 -XX:TargetSurvivorRatio=90 -Xmx8G -Xms8G
    Here's the last startup log. Can anyone suggest anything else to look at to fix this issue?
     
  2. Offline

    RubberFuse

    I have the exact answer, it's because of dynmap. Because dynmap is an internet plugin, not only does the Console have to start the server, it has to update the website as well. Updating a website can take along time.
    Hope I was help!
     
  3. Offline

    DanH42

    I have dynmap's internal server disabled; I use Apache to serve up its content.

    In the log I linked to, dynmap takes 5 seconds to load. After it loads, there is a 31 second pause before anything else is printed. However, these pauses also exist in other places, like the 52 second pause after "Server permissions file permissions.yml is empty"

    I've had dynmap on my server for months, and this long startup problem only surfaced recently. Anecdotally, the last time I had dynmap's internal webserver enabled, Minecraft started up in 12 seconds. I don't think this problem is being caused by any one plugin.
     
  4. Offline

    Splated

    My osx server seems to hang at "Server permissions file permissions.yml is empty" for about 60-70 seconds also
     
Thread Status:
Not open for further replies.

Share This Page