Saving/Restart Issues

Discussion in 'Bukkit Help' started by sakura_blades, Dec 15, 2013.

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

    sakura_blades

    I continue to get this error every time the server saves right before a shut down.
    I was having trouble with the regular world saves and had opt'd out to use a plugin to handle my world saving for me in sections instead...

    I have tried to find all kinds of answers via Google and searching different parts of this error on leaky bukkit as well and cannot figure out where this error comes from.

    Code:
    [17:52:15] [Server thread/INFO]: CONSOLE: Forcing save..
    [17:52:34] [Thread-50/WARN]: [Server] The main thread failed to respond after 10 seconds
    [17:52:34] [Thread-50/WARN]: [Server] What follows is the stack trace of the main thread
    [17:52:34] [Thread-50/WARN]: [Server]    at java.util.zip.Deflater.deflateBytes(Native Method)
    [17:52:34] [Thread-50/WARN]: [Server]    at java.util.zip.Deflater.deflate(Unknown Source)
    [17:52:34] [Thread-50/WARN]: [Server]    at java.util.zip.Deflater.deflate(Unknown Source)
    [17:52:34] [Thread-50/WARN]: [Server]    at java.util.zip.DeflaterOutputStream.deflate(Unknown Source)
    [17:52:34] [Thread-50/WARN]: [Server]    at java.util.zip.DeflaterOutputStream.write(Unknown Source)
    [17:52:34] [Thread-50/WARN]: [Server]    at java.util.zip.GZIPOutputStream.write(Unknown Source)
    [17:52:34] [Thread-50/WARN]: [Server]    at java.io.DataOutputStream.write(Unknown Source)
    [17:52:34] [Thread-50/WARN]: [Server]    at java.io.DataOutputStream.writeUTF(Unknown Source)
    [17:52:34] [Thread-50/WARN]: [Server]    at java.io.DataOutputStream.writeUTF(Unknown Source)
    [17:52:34] [Thread-50/WARN]: [Server]    at net.minecraft.server.v1_7_R1.NBTTagCompound.a(SourceFile:312)
    [17:52:34] [Thread-50/WARN]: [Server]    at net.minecraft.server.v1_7_R1.NBTTagCompound.write(SourceFile:23)
    [17:52:34] [Thread-50/WARN]: [Server]    at net.minecraft.server.v1_7_R1.NBTTagList.write(SourceFile:21)
    [17:52:34] [Thread-50/WARN]: [Server]    at net.minecraft.server.v1_7_R1.NBTTagCompound.a(SourceFile:314)
    [17:52:34] [Thread-50/WARN]: [Server]    at net.minecraft.server.v1_7_R1.NBTTagCompound.write(SourceFile:23)
    [17:52:34] [Thread-50/WARN]: [Server]    at net.minecraft.server.v1_7_R1.NBTTagCompound.a(SourceFile:314)
    [17:52:34] [Thread-50/WARN]: [Server]    at net.minecraft.server.v1_7_R1.NBTTagCompound.write(SourceFile:23)
    [17:52:34] [Thread-50/WARN]: [Server]    at net.minecraft.server.v1_7_R1.NBTTagCompound.a(SourceFile:314)
    [17:52:34] [Thread-50/WARN]: [Server]    at net.minecraft.server.v1_7_R1.NBTTagCompound.write(SourceFile:23)
    [17:52:34] [Thread-50/WARN]: [Server]    at net.minecraft.server.v1_7_R1.NBTTagCompound.a(SourceFile:314)
    [17:52:34] [Thread-50/WARN]: [Server]    at net.minecraft.server.v1_7_R1.NBTTagCompound.write(SourceFile:23)
    [17:52:34] [Thread-50/WARN]: [Server]    at net.minecraft.server.v1_7_R1.NBTCompressedStreamTools.a(SourceFile:94)
    [17:52:34] [Thread-50/WARN]: [Server]    at net.minecraft.server.v1_7_R1.NBTCompressedStreamTools.a(SourceFile:84)
    [17:52:34] [Thread-50/WARN]: [Server]    at net.minecraft.server.v1_7_R1.NBTCompressedStreamTools.a(SourceFile:23)
    [17:52:34] [Thread-50/WARN]: [Server]    at net.minecraft.server.v1_7_R1.PersistentCollection.a(SourceFile:93)
    [17:52:34] [Thread-50/WARN]: [Server]    at net.minecraft.server.v1_7_R1.PersistentCollection.a(SourceFile:75)
    [17:52:34] [Thread-50/WARN]: [Server]    at net.minecraft.server.v1_7_R1.WorldServer.a(WorldServer.java:782)
    [17:52:34] [Thread-50/WARN]: [Server]    at net.minecraft.server.v1_7_R1.WorldServer.save(WorldServer.java:762)
    [17:52:34] [Thread-50/WARN]: [Server]    at org.bukkit.craftbukkit.v1_7_R1.CraftWorld.save(CraftWorld.java:655)
    [17:52:34] [Thread-50/WARN]: [Server]    at org.bukkit.command.defaults.SaveCommand.execute(SaveCommand.java:30)
    [17:52:34] [Thread-50/WARN]: [Server]    at org.bukkit.command.SimpleCommandMap.dispatch(SimpleCommandMap.java:192)
    [17:52:34] [Thread-50/WARN]: [Server]    at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchCommand(CraftServer.java:542)
    [17:52:34] [Thread-50/WARN]: [Server]    at org.bukkit.craftbukkit.v1_7_R1.CraftServer.dispatchServerCommand(CraftServer.java:529)
    [17:52:34] [Thread-50/WARN]: [Server]    at net.minecraft.server.v1_7_R1.DedicatedServer.aw(DedicatedServer.java:286)
    [17:52:34] [Thread-50/WARN]: [Server]    at net.minecraft.server.v1_7_R1.DedicatedServer.u(DedicatedServer.java:251)
    [17:52:34] [Thread-50/WARN]: [Server]    at net.minecraft.server.v1_7_R1.MinecraftServer.t(MinecraftServer.java:545)
    [17:52:34] [Thread-50/WARN]: [Server]    at net.minecraft.server.v1_7_R1.MinecraftServer.run(MinecraftServer.java:457)
    [17:52:34] [Thread-50/WARN]: [Server]    at net.minecraft.server.v1_7_R1.ThreadServerApplication.run(SourceFile:617)
    [17:52:38] [Server thread/INFO]: CONSOLE: Save complete.
    [17:52:38] [Server thread/INFO]: CONSOLE: Stopping the server..
    Any help would be greatly appreciated!
    I fear that whatever this error is, it's causing my server to occasionally have a drop in TPS from time to time as well (though it's only for a split second). I'd like to eliminate the issue.
     
  2. Offline

    jblanda


    Problem: [17:52:34] [Thread-50/WARN]: [Server] The main thread failed to respond after 10 seconds
    AKA: not enough resources

    Reason: [17:52:34] [Thread-50/WARN]: [Server] at net.minecraft.server.v1_7_R1.NBTTagList.write(SourceFile:21)
    AKA: 1.7.2 DEV Build

    Solution: Try a differient build
     
  3. Offline

    sakura_blades

    Yes, Dev Build. 1.7.2 only has Dev Builds at this time...
    As far as resources... I have more than enough RAM on my server to use/hold everything I have, which is why it is unknown to me why this occurs. I see no reason for this sort of thing to happen..
    However, I am unsure what I have done but it appears to have stopped happening (for the time being) and I will continue to watch the restarts to be sure. (none of which have involved updating or uninstalling anything)
     
  4. Offline

    Bobcat00

    I'd guess it's a corrupted chunk. See if the lag / save error appears after visiting any particular area of your map.
     
  5. Offline

    sakura_blades

    Shouldn't be a corruption, everything seems fine in game and we've checked what we can visually.
    Though as I said above all seems well right now, and we'll stick with the NoLagg's portion saving as it keeps it from saving everything at once, instead does it in parts which helps reduce any sudden/all at once lag.
    Our restarts used to be error filled too, but an update to a few plugins seemed to have stopped that as well.
     
  6. Offline

    jblanda

    Depends on what your ratio for Ram to plugins is.
    I have 1GB For every 10 Plugins.
     
  7. Offline

    sakura_blades

    I do not run out of RAM, my RAM usages remains low at all times.
    I have about 45(ish) plugins on a 4GB server. My 'biggest' problem (which isn't really big) is my TPS spikes low occasionally, but not enough to mention in console. NoLagg gives a notice every once in a while it has dropped however.
     
Thread Status:
Not open for further replies.

Share This Page