Solved Server running too *fast*

Discussion in 'Bukkit Help' started by Doctacosa, Nov 29, 2013.

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


    First things first, I don't believe this is a Bukkit bug proper, but most likely a plugin conflict / issue. I need help narrowing down what exactly could be the cause.

    I'm running CraftBukkit 1.6.4 RC 2.0.

    My current plugins setup: MyriadAxe, StructureSaver, killStats, WorldEdit, WorldGuard, SimpleConceal, EnderChestViewer, BeardStat, Pigasus, CommandBook, Flight, AnimalProtect, Vault, PermissionsEx, ChatManager, SimpleReserve, LWC, Whitelist, dynmap, Dynmap-WorldGuard, IOTracker, IOLogger, IONotifier, MineBackup, CraftIRC, BKCommonLib, NoLagg

    NoLagg is primarily used for profiling and has most of it's features disabled.

    Now, the problem proper: for a while now, we've been suffering from slowdowns, with the server's TPS being constantly anywhere between 5.0 and 16.0. I managed to narrow it down to LWC and hoppers. Switching to a dev build of LWC got rid of that and got us back to a nice TPS close to 20.0. The current problem, however, happened a few minutes in. The server started running too fast. The server's TPS would vary wildly but would often find itself at 25.0, 30.0 and I've even seen 35.0. Sometimes, it'd dip back to 15.0 only to come back up. This is obviously not wanted and creates choppy gameplay.

    Disabling LWC completely still caused the server to run too fast, so that's not it. I'm ready to dive in and run some more tests, disabling plugins one by one if I have to, but I thought I'd ask here first if someone had faced this before and came up with a solution.

    Thank you for reading!
  2. Offline


    StructureSaver is meant to be used once. After it completes running, the plugin should be removed and the server restarted.
  3. Offline


    I'm aware of that part. I have yet to execute the command as I'm waiting to be closer to the upgrade to 1.7, but since the plugin is inert unless the command is typed, I see no problems with keeping it there.
  4. Offline


    Could you post your server log?
  5. Offline


    What version of Java are you using, and what OS ?
  6. Offline


    I meant to include this, my bad.

    Java 1.7.0_21 64-Bit
    Linux 2.6.18-308.20.1.el5 (amd64)
  7. Offline


    Java is now at update 45. Perhaps you should upgrade and see if that helps.

    I'm thinking the problem has to do with the way Bukkit handles its internal timing, so that's why I'm thinking in terms of updating Java. If that doesn't work, I'll probably step aside and hope smarter people than me have some more ideas.

    Oh, and post your startup log, too.
  8. Offline


    Full startup log, as of noon today. This is with the latest stable version of LWC, 4.4.0. Switching versions around has no noticeable effect.

    Updating Java is out of my control as I don't have root access to the machine.

    So I finally managed to squash this problem, and thought I'd share my findings.

    It's related to Minecraft 1.6.4 and it's saving of structures. The file mineshaft.dat got too big, causing major slowdowns (and sometimes random speed ups) as it overloaded the server and maxed out Java's processing capabilities. The instability made it hard to play the game as intended.

    Deleting the file returned things to normal. This is obviously a stop-gap measure, as the server continously scans and records the location of those mineshafts. Until I find a better solution, I'll periodically delete the file to keep its size small.
Thread Status:
Not open for further replies.

Share This Page