Hi i'm having a problem with my server. In the evenings my server closes and says all of connections to 'Read Timed Out'. I guess it is the problem with allocated maximum RAM. 1. What OS are you using (Brand and version - Ex. Windows XP SP3)? CentOS 5.3 2. What architecture is the OS you are running (x64 or x86)? x86 3. What version and architecture is your java install? (Type: java -version in command prompt.) Linux <hostname here> 2.6.18-194.8.1.el5.028stab070.4 #1 SMP Tue Aug 17 19:11:52 MSD 2010 i686 i686 i386 GNU/Linux java version "1.6.0_17" OpenJDK Runtime Environment (IcedTea6 1.7.10) (rhel-1.20.b17.el5-i386) OpenJDK Client VM (build 14.0-b16, mixed mode) 4. Are you running any wrappers? McMyAdmin, mcadmin, Hamachi, etc? No. 5. What build of CraftBukkit are you running? (do NOT say latest. Say the build number.) (Linux users: zgrep -i version craftbukkit.jar). Builds 267+ have the build number in the top of the server.log. b740 6. What command are you using to run your CraftBukkit server? java -Xincgc -Xmx2500M -jar craftbukkit.jar nogui 7. What plugins are you running? Admincmd,AdminChat,AutoSave,BorderGuard,GodMode,iConomy,LocalShop,LWC,MakeEmSpawn,MCDocs,MobBounty,MultipleHomes,NoExplode,NoFire,Prefixer,Silence,Towny,Whitelist,Worldedit,WorldGuard,xAuth 8. What error are you getting (post your server.log file if possible)? Code: 2011-05-14 00:22:19 [SEVERE] java.lang.OutOfMemoryError 2011-05-14 00:22:19 [SEVERE] at java.util.zip.Deflater.init(Native Method) 2011-05-14 00:22:19 [SEVERE] at java.util.zip.Deflater.<init>(Deflater.java:141) 2011-05-14 00:22:19 [SEVERE] at java.util.zip.Deflater.<init>(Deflater.java:150) 2011-05-14 00:22:19 [SEVERE] at net.minecraft.server.Packet51MapChunk.<init>(SourceFile:28) 2011-05-14 00:22:19 [SEVERE] at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:177) 2011-05-14 00:22:19 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:272) 2011-05-14 00:22:19 [SEVERE] at net.minecraft.server.Packet10Flying.a(SourceFile:126) 2011-05-14 00:22:19 [SEVERE] at net.minecraft.server.NetworkManager.a(NetworkManager.java:195) 2011-05-14 00:22:19 [SEVERE] at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74) 2011-05-14 00:22:19 [SEVERE] at net.minecraft.server.NetworkListenThread.a(SourceFile:100) 2011-05-14 00:22:19 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370) 2011-05-14 00:22:19 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285) 2011-05-14 00:22:19 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:394) 2011-05-14 00:22:19 [SEVERE] Unexpected exception java.lang.OutOfMemoryError at java.util.zip.Deflater.init(Native Method) at java.util.zip.Deflater.<init>(Deflater.java:141) at java.util.zip.Deflater.<init>(Deflater.java:150) at net.minecraft.server.Packet51MapChunk.<init>(SourceFile:28) at net.minecraft.server.EntityPlayer.a(EntityPlayer.java:177) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:272) at net.minecraft.server.Packet10Flying.a(SourceFile:126) at net.minecraft.server.NetworkManager.a(NetworkManager.java:195) at net.minecraft.server.NetServerHandler.a(NetServerHandler.java:74) at net.minecraft.server.NetworkListenThread.a(SourceFile:100) at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:370) at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:285) at net.minecraft.server.ThreadServerApplication.run(SourceFile:394) 2011-05-14 00:23:07 [INFO] Connection reset 2011-05-14 00:23:21 [INFO] Read timed out 2011-05-14 00:23:24 [INFO] Read timed out 2011-05-14 00:23:29 [INFO] Read timed out 2011-05-14 00:23:41 [INFO] Read timed out 2011-05-14 00:24:00 [INFO] Read timed out 2011-05-14 00:24:14 [INFO] Read timed out 2011-05-14 00:25:12 [INFO] Read timed out 2011-05-14 00:25:14 [INFO] Read timed out 2011-05-14 00:25:17 [INFO] Read timed out 2011-05-14 00:25:51 [INFO] Connection reset 2011-05-14 00:26:02 [INFO] Read timed out 2011-05-14 00:26:27 [INFO] Read timed out 2011-05-14 00:28:47 [INFO] Read timed out 2011-05-14 00:29:23 [INFO] Read timed out 2011-05-14 00:31:59 [INFO] Read timed out 2011-05-14 00:37:08 [INFO] Read timed out 2011-05-14 00:38:12 [INFO] Read timed out 2011-05-14 00:39:26 [INFO] Read timed out 2011-05-14 00:47:51 [INFO] Read timed out 2011-05-14 00:49:46 [INFO] Connection reset And this continue till i restart the server. 9. What have you tried already? I tried to change my start up codes. I tried with no plugins. It still continues.. 10. Have you tried any of the things below? No.
Can you specify what platform you're running the server on? Specifically If it's a VPS and if so is it OpenVz/Xen PV/Xen HVM?
You simple use up the 2.5GB of RAM you have put to disposal for the java instance. Try to use some more aggressive GC (garbage collection) parameters, this might inspire you - http://forums.bukkit.org/threads/immense-chat-lag-only-near-spawn.17176/