Read Time Out Broken Pipe

Discussion in 'Bukkit Help' started by Tang, Jul 5, 2011.

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

    Tang

    I noticed my server's memory usage for javaw (server task) starts at around 500mb and over 3-4 hours climbs past 1.8gb and I get a read time out...

    Linux DV051 2.6.35-30-generic #54-Ubuntu SMP Tue Jun 7 18:41:54 UTC 2011 x86_64 GNU/Linux
    java version "1.6.0_24"
    Java(TM) SE Runtime Environment (build 1.6.0_24-b07)
    Java HotSpot(TM) 64-Bit Server VM (build 19.1-b02, mixed mode)

    CB Snapshot #953

    Have tried starting server with both, same problem
    Code:
    screen -S minecraft java -Xmx1536M -XX:ParallelGCThreads=2 -server -Xincgc -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:+AggressiveOpts -XX:+CMSParallelRemarkEnabled -XX:+DisableExplicitGC -XX:MaxGCPauseMillis=500 -XX:SurvivorRatio=16 -XX:TargetSurvivorRatio=90 -XX:+UseAdaptiveGCBoundary -XX:-UseGCOverheadLimit -Xnoclassgc -XX:UseSSE=3 -XX:PermSize=128m -XX:LargePageSizeInBytes=4m -jar craftbukkit-0.0.1-SNAPSHOT.jar nogui
    
    screen -S minecraft java -Xincgc -Xmx1536M -jar craftbukkit-0.0.1-SNAPSHOT.jar
    Remove all your plugins and try with just CraftBukkit. Does the error/problem still occur? working that... Takes anywhere from 2-5 hours before this starts to happen
    Memory usage gradually climbs upwards util it exceeds 1.7GB then crashes, regardless of players... Any one else have more info?

    Update your plugins: all up to date.

    Code:
    23:51:00 [SEVERE] java.net.SocketException: Broken pipe
    23:51:00 [SEVERE]       at java.net.SocketOutputStream.socketWrite0(Native Method)
    23:51:00 [SEVERE]       at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
    23:51:00 [SEVERE]       at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    23:51:00 [SEVERE]       at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
    23:51:00 [SEVERE]       at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
    23:51:00 [SEVERE]       at java.io.DataOutputStream.flush(DataOutputStream.java:106)
    23:51:00 [SEVERE]       at net.minecraft.server.NetworkWriterThread.run(SourceFile:116)
    23:51:00 [INFO] Connection reset
    23:51:00 [SEVERE] java.net.SocketException: Broken pipe
    23:51:00 [SEVERE]       at java.net.SocketOutputStream.socketWrite0(Native Method)
    23:51:00 [SEVERE]       at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:92)
    23:51:00 [SEVERE]       at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    23:51:00 [SEVERE]       at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
    23:51:00 [SEVERE]       at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
    23:51:00 [SEVERE]       at java.io.DataOutputStream.flush(DataOutputStream.java:106)
    23:51:00 [SEVERE]       at net.minecraft.server.NetworkWriterThread.run(SourceFile:116)
    23:51:00 [SEVERE] java.net.SocketException: Socket closed
    23:51:00 [SEVERE]       at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:99)
    23:51:00 [SEVERE]       at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    23:51:00 [SEVERE]       at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
    23:51:00 [SEVERE]       at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
    23:51:00 [SEVERE]       at java.io.DataOutputStream.flush(DataOutputStream.java:106)
    23:51:00 [SEVERE]       at net.minecraft.server.NetworkWriterThread.run(SourceFile:116)
    
    Why is this happening? disconnects all my players.... And server crashes, any one know?
    This didn't happen before 1.7.2

    Top results 12 minutes after server starts:
    Code:
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    30232 some01    20   0 1987m 629m  10m S 33.3 20.9  12:30.18 java
    

    Top results after server has been up for 102 minutes, 10 players currently connected

    Code:
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND
    16949 some01    20   0 2005m 1.2g 6844 S 59.0 40.8 102:01.65 java
    shortly after this, Terminal locks up, javaw Reaches 50-60% which is exceeding its limit for the startup script, then this:
    Code:
    07:01:51 [INFO] Read timed out
    07:01:51 [INFO] guy lost connection: disconnect.endOfStream
    
    2011-07-06 06:56:51 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-07-06 06:56:54 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-07-06 06:56:58 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-07-06 06:57:01 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    2011-07-06 06:57:04 [INFO] SimpleSave: Deleting old backups
    2011-07-06 06:57:04 [INFO] [SimpleSave] Ending world backup
    2011-07-06 06:57:04 [WARNING] Can't keep up! Did the system time change, or is the server overloaded?
    then the server stops or closes its self.
     
  2. Offline

    Legionarius

    This is happening to me as well. Only started after we updated to 1.72...
     
  3. Offline

    chaseoes

    Also getting this.
     
  4. Offline

    Eggers

    me to >.>
    [SEVERE] java.net.SocketException: Broken pipe
    and
    [SEVERE] java.net.SocketException: Socket closed
     
  5. Offline

    Tang

    Code:
    2011-07-06 12:32:41 [SEVERE]    at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    2011-07-06 12:32:41 [SEVERE]    at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    2011-07-06 12:32:41 [SEVERE]    at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-06 12:32:41 [SEVERE] Unexpected exception
    java.lang.OutOfMemoryError: Java heap space
            at net.minecraft.server.Packet51MapChunk.<init>(Packet51MapChunk.java:45)
            at net.minecraft.server.Packet51MapChunk.<init>(Packet51MapChunk.java:27)
            at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:220)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:293)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    2011-07-06 12:32:46 [SEVERE] java.net.SocketException: Connection reset
    2011-07-06 12:32:46 [SEVERE]    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:96)
    2011-07-06 12:32:46 [SEVERE]    at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    2011-07-06 12:32:46 [SEVERE]    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
    2011-07-06 12:32:46 [SEVERE]    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
    2011-07-06 12:32:46 [SEVERE]    at java.io.DataOutputStream.flush(DataOutputStream.java:106)
    2011-07-06 12:32:46 [SEVERE]    at net.minecraft.server.NetworkWriterThread.run(SourceFile:116)
    2011-07-06 12:32:46 [SEVERE] java.net.SocketException: Connection reset
    2011-07-06 12:32:46 [SEVERE]    at java.net.SocketOutputStream.socketWrite(SocketOutputStream.java:96)
    2011-07-06 12:32:46 [SEVERE]    at java.net.SocketOutputStream.write(SocketOutputStream.java:136)
    2011-07-06 12:32:46 [SEVERE]    at java.io.BufferedOutputStream.flushBuffer(BufferedOutputStream.java:65)
    2011-07-06 12:32:46 [SEVERE]    at java.io.BufferedOutputStream.flush(BufferedOutputStream.java:123)
    2011-07-06 12:32:49 [SEVERE]    at java.io.DataOutputStream.flush(DataOutputStream.java:106)
    2011-07-06 12:32:49 [SEVERE]    at net.minecraft.server.NetworkWriterThread.run(SourceFile:116)
    2011-07-06 12:32:49 [INFO] Connection reset
    2011-07-06 12:33:03 [INFO] [SimpleSave] Beginning world save
    2011-07-06 12:33:03 [INFO] [SimpleSave] Ending world save
    2011-07-06 12:34:54 [INFO] Read timed out
    2011-07-06 12:35:41 [INFO] Read timed out
    2011-07-06 12:36:15 [INFO] Read timed out
    2011-07-06 12:36:40 [INFO] Read timed out
    2011-07-06 12:36:55 [INFO] Read timed out
    2011-07-06 12:38:48 [INFO] Read timed out
    2011-07-06 12:38:55 [INFO] [Hawox uQuest] Saving all players quests to file...
    2011-07-06 12:39:01 [INFO] Read timed out
    2011-07-06 12:41:24 [INFO] Read timed out
    2011-07-06 12:42:41 [INFO] Read timed out
    2011-07-06 12:43:03 [INFO] [SimpleSave] Beginning world save
    2011-07-06 12:43:05 [INFO] [SimpleSave] Ending world save
    2011-07-06 12:44:44 [INFO] Read timed out
    2011-07-06 12:50:10 [INFO] Read timed out
    2011-07-06 12:51:26 [INFO] Read timed out
    2011-07-06 12:53:17 [INFO] [Hawox uQuest] Saving all players quests to file...
    2011-07-06 12:53:22 [INFO] [SimpleSave] Beginning world save
    2011-07-06 12:53:22 [INFO] [SimpleSave] Ending world save
    2011-07-06 12:54:11 [INFO] Read timed out
    2011-07-06 12:56:57 [INFO] Read timed out
    2011-07-06 12:57:44 [INFO] Read timed out
    2011-07-06 12:59:48 [INFO] Read timed out
    2011-07-06 13:00:41 [INFO] Read timed out
    2011-07-06 13:01:12 [INFO] [Hawox uQuest] Saving all players quests to file...
    2011-07-06 13:01:19 [INFO] [Hawox uQuest] Done saving.
    2011-07-06 13:02:15 [INFO] Read timed out
    2011-07-06 13:03:05 [INFO] [SimpleSave] Beginning world save
    2011-07-06 13:03:05 [INFO] [SimpleSave] Ending world save
    2011-07-06 13:03:39 [INFO] Read timed out
    2011-07-06 13:04:27 [INFO] Read timed out
    2011-07-06 13:05:27 [INFO] Read timed out
    2011-07-06 13:06:05 [INFO] Read timed out
    2011-07-06 13:06:51 [INFO] Read timed out
    2011-07-06 13:06:58 [INFO] Connection reset
    2011-07-06 13:07:48 [INFO] Read timed out
    2011-07-06 13:07:54 [INFO] Read timed out
    2011-07-06 13:08:54 [INFO] [SimpleSave] Beginning world backup
    2011-07-06 13:09:34 [SEVERE] Exception in thread "Timer-3"
    2011-07-06 13:09:34 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-06 13:09:34 [SEVERE]    at java.util.Arrays.copyOf(Arrays.java:2882)
    2011-07-06 13:09:34 [SEVERE]    at java.lang.AbstractStringBuilder.expandCapacity(AbstractStringBuilder.java:100)
    2011-07-06 13:09:34 [SEVERE]    at java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:390)
    2011-07-06 13:09:38 [SEVERE]    at java.lang.StringBuilder.append(StringBuilder.java:119)
    2011-07-06 13:09:38 [SEVERE]    at java.io.UnixFileSystem.resolve(UnixFileSystem.java:93)
    2011-07-06 13:09:38 [SEVERE]    at java.io.File.<init>(File.java:207)
    2011-07-06 13:09:38 [SEVERE]    at java.io.File.listFiles(File.java:1056)
    2011-07-06 13:09:38 [SEVERE]    at com.apache.commons.FileUtils.doCopyDirectory(FileUtils.java:247)
    2011-07-06 13:09:38 [SEVERE]    at com.apache.commons.FileUtils.doCopyDirectory(FileUtils.java:263)
    2011-07-06 13:09:38 [SEVERE]    at com.apache.commons.FileUtils.copyDirectory(FileUtils.java:230)
    2011-07-06 13:09:38 [SEVERE]    at com.apache.commons.FileUtils.copyDirectory(FileUtils.java:156)
    2011-07-06 13:09:38 [SEVERE]    at com.apache.commons.FileUtils.copyDirectory(FileUtils.java:125)
    2011-07-06 13:09:38 [SEVERE]    at org.desmin88.simplesave.Backup.backup(Backup.java:44)
    2011-07-06 13:09:35 [INFO] Read timed out
    2011-07-06 13:09:38 [SEVERE]    at org.desmin88.simplesave.SimpleSave$BackupMethod.run(SimpleSave.java:151)
    2011-07-06 13:09:38 [SEVERE]    at java.util.TimerThread.mainLoop(Timer.java:512)
    2011-07-06 13:09:38 [SEVERE]    at java.util.TimerThread.run(Timer.java:462)
    2011-07-06 13:09:38 [INFO] Connection reset
    2011-07-06 13:10:53 [INFO] Read timed out
    2011-07-06 13:11:00 [INFO] Read timed out
    2011-07-06 13:12:28 [INFO] Read timed out
    2011-07-06 13:12:48 [INFO] Read timed out
    2011-07-06 13:13:42 [INFO] Read timed out
    2011-07-06 13:14:22 [INFO] Read timed out
    2011-07-06 13:18:39 [INFO] Read timed out
    2011-07-06 13:21:47 [INFO] Read timed out
    2011-07-06 13:22:49 [INFO] Read timed out
    2011-07-06 13:26:00 [INFO] Read timed out
    2011-07-06 13:28:49 [INFO] Read timed out
    2011-07-06 13:29:43 [INFO] Read timed out
    2011-07-06 13:30:05 [INFO] Read timed out
    2011-07-06 13:31:19 [INFO] [Hawox uQuest] Saving all players quests to file...
    2011-07-06 13:31:21 [INFO] Read timed out
    2011-07-06 13:31:28 [INFO] [Hawox uQuest] Done saving.
    2011-07-06 13:34:55 [INFO] Read timed out
    2011-07-06 13:34:58 [INFO] Read timed out
    2011-07-06 13:38:08 [INFO] Read timed out
    2011-07-06 13:38:22 [INFO] Read timed out
    2011-07-06 13:38:46 [INFO] Read timed out
    2011-07-06 13:39:50 [INFO] Read timed out
    2011-07-06 13:40:00 [INFO] Read timed out
    2011-07-06 13:41:15 [INFO] Read timed out
    2011-07-06 13:42:34 [INFO] Read timed out
    2011-07-06 13:42:36 [INFO] Read timed out
    2011-07-06 13:43:45 [INFO] Read timed out
    2011-07-06 13:43:50 [INFO] Read timed out
    2011-07-06 13:44:25 [INFO] Read timed out
    2011-07-06 13:44:52 [INFO] Read timed out
    2011-07-06 13:45:29 [INFO] Read timed out
    2011-07-06 13:45:37 [INFO] Read timed out
    2011-07-06 13:45:45 [INFO] Read timed out
    2011-07-06 13:46:40 [INFO] Read timed out
    2011-07-06 13:46:50 [INFO] Read timed out
    2011-07-06 13:47:10 [INFO] Read timed out
    2011-07-06 13:49:33 [INFO] Read timed out
    2011-07-06 13:50:59 [INFO] Read timed out
    2011-07-06 13:52:06 [INFO] Read timed out
    2011-07-06 13:52:53 [INFO] Read timed out
    2011-07-06 13:53:01 [INFO] Read timed out
    2011-07-06 13:56:16 [INFO] Read timed out
    2011-07-06 13:57:45 [INFO] Connection reset
    2011-07-06 13:58:27 [INFO] Read timed out
    2011-07-06 13:59:00 [INFO] Read timed out
    2011-07-06 13:59:10 [INFO] Read timed out
    2011-07-06 14:01:03 [INFO] Read timed out
    2011-07-06 14:01:31 [INFO] [Hawox uQuest] Saving all players quests to file...
    2011-07-06 14:01:54 [INFO] [Hawox uQuest] Done saving.
    2011-07-06 14:02:57 [INFO] Read timed out
    2011-07-06 14:03:53 [INFO] Read timed out
    2011-07-06 14:04:14 [INFO] Read timed out
    2011-07-06 14:07:51 [INFO] Read timed out
    2011-07-06 14:09:23 [INFO] Read timed out
    2011-07-06 14:10:08 [INFO] Read timed out
    2011-07-06 14:14:03 [INFO] Read timed out
    2011-07-06 14:19:29 [INFO] Read timed out
    2011-07-06 14:19:57 [INFO] Connection reset
    2011-07-06 14:20:14 [INFO] Read timed out
    2011-07-06 14:21:32 [INFO] Read timed out
    2011-07-06 14:22:16 [INFO] Read timed out
    2011-07-06 14:23:51 [INFO] Read timed out
    2011-07-06 14:30:47 [INFO] Read timed out
    2011-07-06 14:30:53 [INFO] Read timed out
    2011-07-06 14:31:52 [INFO] Read timed out
    2011-07-06 14:31:57 [INFO] [Hawox uQuest] Saving all players quests to file...
    2011-07-06 14:33:12 [INFO] [Hawox uQuest] Done saving.
    2011-07-06 14:36:46 [INFO] Read timed out
    2011-07-06 14:37:11 [INFO] Read timed out
    2011-07-06 14:38:37 [INFO] Read timed out
    2011-07-06 14:45:40 [INFO] Read timed out
    2011-07-06 14:48:44 [SEVERE] Exception in thread "Listen thread"
    2011-07-06 14:48:47 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-06 14:53:32 [SEVERE] java.lang.NullPointerException
    2011-07-06 14:53:32 [SEVERE]    at PvPReward.SaveSystem.save(SaveSystem.java:71)
    2011-07-06 14:53:34 [SEVERE]    at PvPReward.PvPReward$1.run(PvPReward.java:225)
    2011-07-06 14:53:34 [SEVERE] Exception in thread "Thread-15"
    2011-07-06 14:53:34 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-06 15:03:13 [INFO] [Hawox uQuest] Saving all players quests to file...
    2011-07-06 15:04:18 [INFO] [Hawox uQuest] Done saving.
    2011-07-06 15:34:06 [INFO] Stopping the server..
    2011-07-06 15:34:06 [INFO] Stopping server
    
    Here is the log of the Initial Read TIME OUT followed by 3 hours of the server being mad...
    Confirmed mcmmo was NOT the cause like people had thought...
    mcmmo was not running when this happend... currently testing with 4 plugins running.

    updated OP for more info

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  6. Offline

    Legionarius

    My server went from being EXTREMELY stable to the exact opposite. Minecraft now eats up more memory than I've even allowed it, bleeds into swap, and crashes. I can only keep the server up for about an hour and a half at a time now. WTF.

    EDIT: Just crashed after 56 minutes of up time. Process is using 65% of my server memory with 0% CPU usage. This is typical of what I see in htop every time it crashes. Same java run-time parameters as usual. This IS a 1.7 issue. Killing the hung process frees up over 4 gigs of memory.
     
  7. Offline

    thevirtualgamer

    I'm having this same problem and I can't be around all the time to check if the server is still running. This is incredibly frustrating. I'm losing players because this keeps happening.
     
  8. Offline

    Legionarius

  9. Offline

    Tadas159

    I had this before, or something like this. Help someone?
     
  10. Also getting this....I posted a help thread here
     
  11. Offline

    Tang

    @Tadas159 @Legionarius @thevirtualgamer @Eggers @chaseoes
    If no one can help or does not wan't to because 1.7.3 is on its way... Let's help our selves. Post below Using this template, and find some common factors....

    Bukkit Release Build:

    Plugins your using:

    Amount of ram your server has:

    Startup .bat file used or cmd line arguments:

    How long before a Read Timeout Occurs (best guess)?

    Average number of players signed on at one time?

    Additional comments?
     
  12. Offline

    Legionarius

    I have moved from CB953 to CB961. I know this is not a recommended build but it is MUCH better.

    Still happens though, just takes longer :(

    I'm thinking I may have to reenable essentials' "reclaim memory on logout" feature. My run-time parameters just aren't cutting it anymore.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  13. Offline

    Tang

    Bukkit Release Build: Build 953

    Plugins your using: Essentials, Falsebook (also swapped out for craftbook), FoundDiamond. HeroicDeath, Inception, LWC, Mobbounty, Paid2Mine, PermissionsEx, PvPReward, SimpleSave, SimpleSkylands, Tombstone, World edit, World guard, ichat, Iconomy, and mcMMO (tried with out it and was still getting crashes)

    # of Worlds currently active on your world: 3 worlds. Main world, Nether, and the Skylands.

    Amount of ram your server has: 4GB - 3072MB dedicated to Minecraft.

    Server OS: MineOS+ Also tried Ubuntu 10.4

    Startup .bat file used or cmd line arguments: /usr/local/openjdk-7/jre/bin/java -server -Xms1024M -Xmx1024M -jar /mnt/sda1/minecraft/craftbukkit-0.0.1-SNAPSHOT

    How long before a Read Timeout Occurs (best guess)? 1-3 Hours... Some times only 20 minutes.

    Average number of players signed on at one time? Usually No less than 10

    When did these read time out start: shortly after 1.7.2 update.

    Additional comments? Is every one having this problem or just a handful of us?

    I tried enabling that, I got no help at all with it... you can give it a shot though, you may have a different experience....

    http://www.twkgaming.com/forum/202-...-and-mineworld-minecraft-servers-crashes.html

    These people have the same problem

    http://thundermine.enjin.com/forum/m/1955305/viewthread/993259-new-minecraft-version-172/page/1

    these people have the same problems

    Code:
    2011-07-07 13:12:46 [INFO] ?9[SU?9] PLAYERf: was i on earler?
    2011-07-07 13:12:46 [WARNING] Can't keep up! Did the system time change, or is the server o$
    2011-07-07 13:12:47 [INFO] ?9[PLAYER_COMMAND] PLAYER: /tphere just
    2011-07-07 13:12:49 [WARNING] Can't keep up! Did the system time change, or is the server o$
    2011-07-07 13:12:53 [WARNING] Can't keep up! Did the system time change, or is the server o$
    2011-07-07 13:13:55 [INFO] Stopping server
    2011-07-07 13:13:59 [INFO] Inception Disabled
    2011-07-07 13:13:59 [SEVERE] Exception in thread "Thread-2618"
    2011-07-07 13:13:59 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-07 13:13:59 [SEVERE] Exception in thread "Connection #16 read thread"
    2011-07-07 13:13:59 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-07 13:13:59 [SEVERE] Exception in thread "Connection #5 read thread"
    2011-07-07 13:13:59 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    
    Just got this with mcMMO Disabled

    Woke up to this early this morning:

    Code:
    2011-07-07 09:35:43 [SEVERE] Exception in thread "Connection #20 read thread"
    2011-07-07 09:35:43 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-07 09:35:43 [SEVERE] Exception in thread "Connection #22 read thread"
    2011-07-07 09:35:43 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-07 09:35:43 [SEVERE] Exception in thread "Connection #24 read thread"
    2011-07-07 09:35:43 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-07 09:35:43 [SEVERE] Exception in thread "Connection #3 read thread"
    2011-07-07 09:35:43 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-07 09:35:43 [SEVERE] Exception in thread "Connection #23 read thread"
    2011-07-07 09:35:43 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-07 09:35:43 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-07 09:35:43 [SEVERE] Unexpected exception
    java.lang.OutOfMemoryError: Java heap space
    2011-07-07 09:35:43 [SEVERE] Exception in thread "Connection #25 read thread"
    2011-07-07 09:35:43 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    2011-07-07 09:36:21 [INFO] Read timed out
    2011-07-07 09:37:00 [INFO] Read timed out
    2011-07-07 09:37:13 [INFO] Read timed out
    2011-07-07 09:38:13 [INFO] Read timed out
    2011-07-07 09:38:14 [INFO] Read timed out
    2011-07-07 09:39:30 [INFO] Read timed out
    2011-07-07 09:39:39 [INFO] Read timed out
    2011-07-07 09:41:24 [INFO] Read timed out
    2011-07-07 09:42:18 [INFO] Read timed out
    2011-07-07 09:44:54 [INFO] Read timed out
    
    Just got this...

    Code:
    14:05:23 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    14:05:23 [SEVERE]       at net.minecraft.server.Packet51MapChunk.<init>(Packet51MapChunk.java:45)
    14:05:23 [SEVERE]       at net.minecraft.server.Packet51MapChunk.<init>(Packet51MapChunk.java:27)
    14:05:23 [SEVERE]       at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:220)
    14:05:23 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:293)
    14:05:23 [SEVERE]       at net.minecraft.server.Packet10Flying.a(SourceFile:126)
    14:05:23 [SEVERE]       at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
    14:05:23 [SEVERE]       at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
    14:05:23 [SEVERE]       at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
    14:05:23 [SEVERE]       at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
    14:05:23 [SEVERE]       at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
    14:05:23 [SEVERE]       at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    14:05:23 [SEVERE] Unexpected exception
    java.lang.OutOfMemoryError: Java heap space
            at net.minecraft.server.Packet51MapChunk.<init>(Packet51MapChunk.java:45)
            at net.minecraft.server.Packet51MapChunk.<init>(Packet51MapChunk.java:27)
            at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:220)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:293)
            at net.minecraft.server.Packet10Flying.a(SourceFile:126)
            at net.minecraft.server.NetworkManager.b(NetworkManager.java:226)
            at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:84)
            at net.minecraft.server.NetworkListenThread.a(SourceFile:105)
            at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:451)
            at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361)
            at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)
    14:05:49 [SEVERE] Exception in thread "Connection #17 read thread"
    14:05:54 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    14:06:58 [SEVERE] Exception in thread "Connection #15 read thre
    14:07:08 [SEVERE] Exception in thread "Connection #13 read thread"
    14:07:11 [SEVERE] java.lang.OutOfMemoryError: Java heap space
    >
    
    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  14. Offline

    Legionarius

    Scratch what i said earlier. Not better. Essentials config didnt help either - worth a shot though...

    Two full days and not one decent answer. I've tried near everything.

    Bump in the hopes someone will pay attention.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  15. Offline

    Pulserock

    Bump in hopes that someone will help aswell. This problem started with the 1.7.2 update. Thread-5 has an exception. Same memory leak error in chunk generation. *shakes head* my users are screaming Fukkit Bukkit all over my website and whenever the server is restarted. Guys help please. :c
     
  16. Offline

    Tang

    Easier to wait it over until 1.7.3 come out so they don't have to update twice i guess...

    Have you tried any of the dev-builds higher than 953?
     
  17. Offline

    Legionarius

    I have tried all of them. Also 953 is out and there is no mention of any memory leak fixes. I hate to say it, but I don't think 1.73 will fix anything.

    I can substantiate this as well. Can anyone actually get in touch with a @Dinnerbone or another heavy hitter? This is a BIG deal.

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  18. Offline

    Beldrama

    I also get the Read Timed Out error except it's really random of when it occurs. It's from 15 minutes to 10 hours.

    When Read Timed Out happens it sort of freezes. I cannot type in :'stop' at all. So I will just have to force exit the CMD by clicking the top-right 'X'

    When I get my server back on some of the people's inventories are WIPED! So I am getting a lot of complaints about it and it is difficult for me to just give them items EVERY time it crashes.


    1.7.3 using 953... I also had this with 1.7.2 using 953.

    People have and are going to ragequit if this continues... :c
     
  19. Offline

    Mhalkyer

    I've been having the same problem. I don't get any decent messages though, it crashes about every 4 hours and starts back up fine.

    Bukkit Release Build:
    I've tried CB#953 and #961 (the latest as of yesterday)

    Plugins your using:
    Show Spoiler
    CraftBookMechanisms, WorldEdit, BigBrother, DynamicFight, CraftBookCircuits, MidiBanks, LazyRoad, iConomyChestShop, BukkitContrib, HeroicDeath, iChat, iConomy, Essentials, Ranks, CraftBukkitUpToDate, CraftBookCommon, RemoteToolkitPlugin, SimpleReserve, HelpPages, WorldGuard, Tombstone, NSCommand, BorderGuard, mcMMO, Permissions, ColoredSigns, PermissionsPlus, EssentialsSpawn, p2Aliases, PlayerEditor

    Amount of ram your server has:
    3GB

    Startup .bat file used or cmd line arguments:
    java -server -Xms2048M -Xmx2048M -XX:+UseConcMarkSweepGC -XX:+UseParNewGC -XX:+CMSIncrementalPacing -XX:parallelGCThreads=2 -XX:+AggressiveOpts -jar craftbukkit.jar nogui

    How long before a Read Timeout Occurs (best guess)?
    3-4 hrs

    Average number of players signed on at one time?
    5-10

    Additional comments?
    Halp!
     
  20. Offline

    Tang

    Bump

    Big Red banner at the top reads: "Not getting any help? Try reading....."
    Its like the forum is trying to make me furious...

    But seriously, Can we at least get some confirmation that a member of the bukkit team has glanced at this? It's a real issue for a lot of people...

    I'm now in the process of upgrading my server from 4GB to 8GB, Adding a new CPU and Switching to Solid State Drives... If i continue to get these read time outs, will you believe that its a problem?

    Bukkits twitter is filled with adding new stuff... You guys do great work... but can we fix what's broken first?

    @Beldrama @Pulserock Please take a moment and fill out this short template, It will help us to have common factors between those who are crashing. if EVERY one was crashing it would be fixed by now...

    Bukkit Release Build:

    Plugins your using: (yes, all of them)

    Number of Worlds currently active on your world:

    Amount of ram your server has:

    Server OS:

    Startup .bat file used or cmd line arguments:

    How long before a Read Timeout Occurs (best guess)?


    Average number of players signed on at one time?


    When did these read time out start:


    Additional comments?

    EDIT by Moderator: merged posts, please use the edit button instead of double posting.
     
    Last edited by a moderator: May 17, 2016
  21. Offline

    Mhalkyer

    bump for justice [pig]
     
  22. Offline

    Beldrama

    Bukkit Release Build:
    CB#953

    Plugins your using:
    BigBrother
    BorderGuard
    Essentials
    EssentialsChat
    EssentialsGeoIP
    GroupManager
    EssentialsProtect
    EssentialsSpawn
    MagicCarpet
    mcMMO
    Permissions
    Residence
    SimpleSave
    War
    WorldEdit
    Permissions (...again)
    iChat
    LWC
    MobArena

    Someone people are mentioning mcMMO or BB being a problem, some people say it still occurs after plugin removal.



    Number of Worlds currently active on your world:
    Default World (Nether is not really nether in my world :c It's the normal world except zombiepigs.)
    Amount of ram your server has:
    1512M
    Server OS:
    Windows XP
    Startup .bat file used or cmd line arguments:
    "C:\Program Files\Java\jre6\bin\java.exe" -Xms1512M -Xmx1512M -jar craftbukkit-0.0.1-SNAPSHOT.jar
    How long before a Read Timeout Occurs (best guess)?
    There's no best guess as it happens between 15 minutes to 10 hours.


    Average number of players signed on at one time?
    At the moment: 5-10 (People left due to the crashes)


    When did these read time out start:
    Pretty much after 1.7.2 or the 953 build.



    Additional comments?
    Once there's a fix to this I will love that person forever and ever >:C
     
  23. Offline

    Pulserock



    Will when I get back tonight.
     
  24. Offline

    Mukrakiish

    Bukkit Release Build: 953

    Plugins your using: (yes, all of them)

    MyWarp,
    Essentials,
    FalseBook Suite (all of them)
    HeroChat,
    Inception,
    Whitelist,
    GravelClay,
    WorldEdit,
    Lockette,
    Cenotaph,
    VanishNoPickup,
    WorldGuard,
    MultiVerse,
    MinecartMania Suite (all of it),
    iConomy,
    MultiInv,
    MinecraftViewer,
    Permissions,
    BananaChunk,
    EssentialsSpawn,
    elRegions

    Number of Worlds currently active on your world: 4, (2)Normal, Skylands & Nether

    Amount of ram your server has: 2 GB

    Server OS: CentOS

    Startup .bat file used or cmd line arguments: Concurrent GC via McMyAdmin (dropped old manual commands)

    How long before a Read Timeout Occurs (best guess)? Between 2-6 hours.

    Average number of players signed on at one time? Between 2-10

    When did these read time out start: 1.7.2 update


    Additional comments? Tried swapping out mcMMO, Levelcraft, Herochat, Multiverse, anything big...no differences. CPU level never above 20% (at the high points, regular 5-7%) and the memory never above 1.3gb when crashing so its not maxing out the server either.
     
  25. Offline

    Tang

    Switched to a new server, Upgraded to 8gb of ram, and still get these errors, It does however take, much, much longer...
    down to only 1 reboot every 18 hours or so...

    still sucks... but now i can sleep.
     
  26. Offline

    John McFo

  27. Offline

    Mhalkyer

    I'm using an auto-restart plugin but the amount of time it takes to overflow the memory is unpredictable. Not to mention a 2hr restart might piss off a few ppl XD
     
  28. Offline

    Tang

    It would be nice if the bug/issue could just be resolved, a crontab isn't a solution thats a work around. Thank you for the suggestion.
    I could run my server for weeks without a reboot before 1.7.2...
    Changed my startup script again, maybe it will help...

    Runs for about 10-20 hours now, 17-30 players on at most times of the day.
    may try a crontab for reboots every 10 hours, until this is resolved
     
  29. Offline

    dissonance

    Bukkit Release Build: 953

    Plugins your using: BackToBody, BigBrother, CommandBook, CraftBukkitUpToDate, Help, HeroChat, HeroicDeath, HeroSneak, iConomy, LightVote, MyHome, MyWarp, Regios, TameGrass, WorldEdit, WorldGuard, Permissions, Citizens, WormholeXTremeWorlds

    Amount of ram your server has: 4GB

    Startup .bat file used or cmd line arguments:
    @echo off
    "%ProgramFiles%\Java\jre6\bin\java.exe" -Xincgc -Xms1512M -Xmx1512M -jar craftbukkit-0.0.1-SNAPSHOT.jar
    PAUSE

    How long before a Read Timeout Occurs (best guess)? ~1.5 hours

    Average number of players signed on at one time? 2~6

    Additional comments? Server will start out fine, then as the memory usage climbs, the console will begin displaying "[WARNING] Can't keep up! Did the system time change, or is the server overloaded?" This happens regardless of how many users are online. Once the memory usage reaches ~1.7GB the server will lock up and close itself; this normally happens after the server has been up for 2 hours.
     
  30. Offline

    chaseoes

    I'm not sure how.. but I seem have to fixed it for me..
    But the only things I remember doing were installing this plugin called RemoteToolKit. It's supposed to automatically bring your server back up after it crashes/receives a [SEVERE] warning. You can also configure it to automatically restart your server, auto-save, etc.

    But the other thing I did was uninstall BigBrother (it's supposed to have some bad memory leak right now), change my view-distance value in server.properties, and install a plugin called PerformanceTweeks.

    If anyone wants to try all these and see if it fixes your crashing problem, perhaps we could narrow it down to something..
     
Thread Status:
Not open for further replies.

Share This Page