Worldedit + Massive TNT explosion crashes server...

Discussion in 'Bukkit Help' started by Nlioc4, Jul 2, 2011.

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

    Nlioc4

    Ever since me and a friend tried to test the limits of our server and explode a crap load of tnt using WorldEdit its been messed up
    When ever anyone, (usually a certain player) goes near our blast site (which crashed the server when we exploded it) the server gives this error, and then will no longer let anyone join until it restarts
    Code:
    21:58:18 [INFO] Battleship62 [/70.67.143.15:1560] logged in with entity id 365 a
    t ([Mainworld] 489.6875, 71.0, -1589.3125)
    21:58:20 [WARNING] Can't keep up! Did the system time change, or is the server o
    verloaded?
    22:00:03 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    22:00:03 [SEVERE]       at java.util.Arrays.copyOf(Unknown Source)
    22:00:03 [SEVERE]       at java.lang.AbstractStringBuilder.expandCapacity(Unknow
    n Source)
    22:00:03 [SEVERE]       at java.lang.AbstractStringBuilder.append(Unknown Source
    )
    22:00:03 [SEVERE]       at java.lang.StringBuilder.append(Unknown Source)
    22:00:03 [SEVERE]       at org.bukkit.plugin.SimplePluginManager.callEvent(Simpl
    ePluginManager.java:341)
    22:00:03 [SEVERE]       at net.minecraft.server.Explosion.a(Explosion.java:149)
    22:00:03 [SEVERE]       at net.minecraft.server.World.createExplosion(World.java
    :1410)
    22:00:03 [SEVERE]       at net.minecraft.server.WorldServer.createExplosion(Worl
    dServer.java:146)
    22:00:03 [SEVERE]       at net.minecraft.server.EntityTNTPrimed.explode(EntityTN
    TPrimed.java:88)
    22:00:03 [SEVERE]       at net.minecraft.server.EntityTNTPrimed.o_(EntityTNTPrim
    ed.java:66)
    22:00:06 [SEVERE]       at net.minecraft.server.World.entityJoinedWorld(World.ja
    va:1142)
    22:00:06 [SEVERE]       at net.minecraft.server.WorldServer.entityJoinedWorld(Wo
    rldServer.java:49)
    22:00:06 [SEVERE]       at net.minecraft.server.World.playerJoinedWorld(World.ja
    va:1124)
    22:00:06 [SEVERE]       at net.minecraft.server.World.cleanUp(World.java:1101)
    22:00:06 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServe
    r.java:447)
    22:00:06 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftSer
    ver.java:361)
    22:00:06 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(Sour
    ceFile:422)
    22:00:06 [SEVERE] Unexpected exception
    java.lang.OutOfMemoryError: Java heap space
            at java.util.Arrays.copyOf(Unknown Source)
            at java.lang.AbstractStringBuilder.expandCapacity(Unknown Source)
            at java.lang.AbstractStringBuilder.append(Unknown Source)
            at java.lang.StringBuilder.append(Unknown Source)
            at org.bukkit.plugin.SimplePluginManager.callEvent(SimplePluginManager.j
    ava:341)
            at net.minecraft.server.Explosion.a(Explosion.java:149)
            at net.minecraft.server.World.createExplosion(World.java:1410)
            at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:146
    )
            at net.minecraft.server.EntityTNTPrimed.explode(EntityTNTPrimed.java:88)
    
            at net.minecraft.server.EntityTNTPrimed.o_(EntityTNTPrimed.java:66)
            at net.minecraft.server.World.entityJoinedWorld(World.java:1142)
            at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:4
    9)
            at net.minecraft.server.World.playerJoinedWorld(World.java:1124)
            at net.minecraft.server.World.cleanUp(World.java:1101)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    22:05:41 [INFO] BOSEconomy: Paid user wages.
    22:05:41 [SEVERE] java.net.SocketException: Connection reset by peer: socket wri
    te error
    22:05:41 [SEVERE]       at java.net.SocketOutputStream.socketWrite0(Native Metho
    d)
    22:05:41 [SEVERE]       at java.net.SocketOutputStream.socketWrite(Unknown Sourc
    e)
    22:05:41 [SEVERE]       at java.net.SocketOutputStream.write(Unknown Source)
    22:05:41 [SEVERE]       at java.io.BufferedOutputStream.flushBuffer(Unknown Sour
    ce)
    22:05:44 [SEVERE]       at java.io.BufferedOutputStream.flush(Unknown Source)
    22:05:44 [SEVERE]       at java.io.DataOutputStream.flush(Unknown Source)
    22:05:44 [SEVERE]       at net.minecraft.server.NetworkWriterThread.run(SourceFi
    le:116)
    22:05:44 [SEVERE] java.net.SocketException: Connection reset by peer: socket wri
    te error
    22:05:44 [SEVERE]       at java.net.SocketOutputStream.socketWrite0(Native Metho
    d)
    22:05:44 [SEVERE]       at java.net.SocketOutputStream.socketWrite(Unknown Sourc
    e)
    22:05:44 [SEVERE]       at java.net.SocketOutputStream.write(Unknown Source)
    22:05:44 [SEVERE]       at java.io.BufferedOutputStream.flushBuffer(Unknown Sour
    ce)
    22:05:44 [SEVERE]       at java.io.BufferedOutputStream.flush(Unknown Source)
    22:05:44 [SEVERE]       at java.io.DataOutputStream.flush(Unknown Source)
    22:05:48 [SEVERE]       at net.minecraft.server.NetworkWriterThread.run(SourceFi
    le:116)
    23:05:37 [INFO] BOSEconomy: Paid user wages.
    23:08:46 [INFO] Connection reset
    00:05:38 [INFO] BOSEconomy: Paid user wages.
    00:14:45 [INFO] Connection reset
    
    >
    I can get a plugin list if anyone wants it. Well this has happened once before and wouldn't stop until I deleted the players .dat file, but he has ventured near the blast site again, and again crashed the server... I've been considering loading our map into MC edit and removing the blast site, would that do anything? What should I do? This map contains many months of hard work and I would really not like to lose it, I have to start taking backups...

    PLEASE HELP
     
  2. Offline

    Jeyge

    @Nlioc4
    Sounds like the test passed. You sure found the limits of your server. Now I would suggest you and your friend write that down so you won't have to test it again.

    As for how to fix it, you can try Chunkster for a possible automated fix or if someone can get close enough to the location, you can use WorldEdit's //regen. Or for an out of game fix, do what you said with MCEdit.
     
  3. Offline

    DrHackable

    The blast site is taking too much RAM. I suggest removing it or giving the server more RAM.
     
  4. Offline

    Nlioc4

    Thanks a lot guys, @Jeyge I'll check out chunkster but if that wont work I'll use MCedit. Its not possible to get anywhere near the blast site.
     
  5. Offline

    macdja38

    just worldedit a giant chunk of obsidion without going rear the explosion
     
  6. Offline

    Thomas1907

    if you have 4GB of ram , assign 4GB of ram to the server . let it run a night with a player near the sigt , so it laggs A LOT! i had this too , got a meassive hole in my map but filled it up with Worldedit
     
  7. Offline

    TheMadMan697

    just run chunkster on it or if you know the exact chunk thats messed up just delete it from the world folder.
     
  8. Offline

    h0us3cat

    backups?
     
  9. Offline

    joey.gman

    I had this exact problem someone blew a huge hole in the nether excpet i cant even log into my server. what should i do?
     
  10. Offline

    Sh8kezula

    Start your server and quickly type "stoplag" in console.. Its the command /stoplag

    It will stop all system intensive activities.. like tnt explosion.. Its temporary tho.. so when you restart the server the flag will removed..
     
  11. Offline

    joey.gman

    still cant log in getting a java.net.sockettimeoutexception
     
  12. Offline

    Sh8kezula

    Open your world inside the program MCEdit and remove the tnt. This might tame some learning now to use MCEdit.
     
  13. Offline

    hammale

    lol i had an old version of giant tree and i crashed the server 3 times with it. once i made it all doors, second i made it all cactus and third i made it tnt and lit it. The only solution? Open it into MCedit and remove it...or the quick fix, stop the server and delete your player.dat file and you'll re spawn AWAY from the explosion :p just dont get close to it! EDIT: deleting your player.dat WILL DELETE YOUR INVENTORY! SO BE CAREFUL!!!
     
  14. Offline

    Mapatti

    This is because TNT change blocks to "dropped items" and they will consume alot resources.
     
  15. Offline

    octopus58

    ok here is what you do. delete all player data that was near the explosion, then just dont go near to where the explosion has been
    get worldguard and set tnt to false
    now your server has been restored!
     
  16. Offline

    PandaNite

    :D thanks guys all this information helped me as I had the same problem too. I might have made a tnt skyscraper...
     
  17. Offline

    fugue2005

    you can try nolagg, it queues tnt.
     
  18. Offline

    Kalas2626

    do 1 of these and all will be well
     
  19. Offline

    Ferovore

    Thanks for suggesting mcedit. A friend and I set 40,672 tnt on my server :p
     
Thread Status:
Not open for further replies.

Share This Page