Hello, my server on VPS is shutting down after 3-4 hours, and in server.log file i have this text: Code: 2011-07-03 10:21:51 [SEVERE] Exception in thread "Thread-5" 2011-07-03 10:21:51 [SEVERE] java.lang.OutOfMemoryError: unable to create new native thread 2011-07-03 10:21:51 [SEVERE] at java.lang.Thread.start0(Native Method) 2011-07-03 10:21:51 [SEVERE] at java.lang.Thread.start(Unknown Source) 2011-07-03 10:21:51 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftWorker.<init>(CraftWorker.java:28) 2011-07-03 10:21:51 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftThreadManager.executeTask(CraftThreadManager.java:14) 2011-07-03 10:21:51 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftScheduler.processTask(CraftScheduler.java:107) 2011-07-03 10:21:51 [SEVERE] at org.bukkit.craftbukkit.scheduler.CraftScheduler.run(CraftScheduler.java:64) 2011-07-03 10:21:51 [SEVERE] at java.lang.Thread.run(Unknown Source) 2011-07-03 10:21:54 [INFO] Ā§7[Ā§4AdminĀ§7] Sprunkas: isivaizduoji turejau slimeball .. 2011-07-03 10:21:56 [SEVERE] java.lang.VirtualMachineError: out of space in CodeCache for adapters 2011-07-03 10:21:56 [SEVERE] at net.minecraft.server.World.createExplosion(World.java:1455) 2011-07-03 10:21:56 [SEVERE] at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:145) 2011-07-03 10:21:56 [SEVERE] at net.minecraft.server.EntityCreeper.a(EntityCreeper.java:118) 2011-07-03 10:21:56 [SEVERE] at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64) 2011-07-03 10:21:56 [SEVERE] at net.minecraft.server.EntityLiving.v(EntityLiving.java:685) 2011-07-03 10:21:56 [SEVERE] at net.minecraft.server.EntityMonster.v(EntityMonster.java:26) 2011-07-03 10:21:56 [SEVERE] at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218) 2011-07-03 10:21:56 [SEVERE] at net.minecraft.server.EntityMonster.m_(EntityMonster.java:30) 2011-07-03 10:21:56 [SEVERE] at net.minecraft.server.EntityCreeper.m_(EntityCreeper.java:68) 2011-07-03 10:21:56 [SEVERE] at net.minecraft.server.World.entityJoinedWorld(World.java:1190) 2011-07-03 10:21:56 [SEVERE] at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48) 2011-07-03 10:21:56 [SEVERE] at net.minecraft.server.World.playerJoinedWorld(World.java:1172) 2011-07-03 10:21:56 [SEVERE] at net.minecraft.server.World.cleanUp(World.java:1102) 2011-07-03 10:21:56 [SEVERE] at net.minecraft.server.MinecraftServer.h(MinecraftServer.java:447) 2011-07-03 10:21:56 [SEVERE] at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:361) 2011-07-03 10:21:56 [SEVERE] at net.minecraft.server.ThreadServerApplication.run(SourceFile:422) 2011-07-03 10:21:56 [SEVERE] Unexpected exception java.lang.VirtualMachineError: out of space in CodeCache for adapters at net.minecraft.server.World.createExplosion(World.java:1455) at net.minecraft.server.WorldServer.createExplosion(WorldServer.java:145) at net.minecraft.server.EntityCreeper.a(EntityCreeper.java:118) at net.minecraft.server.EntityCreature.c_(EntityCreature.java:64) at net.minecraft.server.EntityLiving.v(EntityLiving.java:685) at net.minecraft.server.EntityMonster.v(EntityMonster.java:26) at net.minecraft.server.EntityLiving.m_(EntityLiving.java:218) at net.minecraft.server.EntityMonster.m_(EntityMonster.java:30) at net.minecraft.server.EntityCreeper.m_(EntityCreeper.java:68) at net.minecraft.server.World.entityJoinedWorld(World.java:1190) at net.minecraft.server.WorldServer.entityJoinedWorld(WorldServer.java:48) at net.minecraft.server.World.playerJoinedWorld(World.java:1172) at net.minecraft.server.World.cleanUp(World.java:1102) 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) 2011-07-03 10:22:08 [INFO] Connection reset 2011-07-03 10:22:54 [INFO] Read timed out 2011-07-03 10:22:59 [INFO] Read timed out 2011-07-03 10:22:59 [INFO] Read timed out 2011-07-03 10:23:14 [INFO] Read timed out 2011-07-03 10:23:42 [INFO] Read timed out 2011-07-03 10:24:12 [INFO] Read timed out I'm using CentOS 5.2 32bit, and i run the server with this command: screen -A -m -d -s java java -Xms512M -Xms512M -jar craftbukkit.jar nogui My VPS info: Ram - 768RAM Disc size: 40GB CPU Intel i7: 90% CPU rate: ~2430MHz Internet speed: 50 Mbps Plugins: AdminCmd, AntiCreeper, AuthMe-0.72, ClayGen, CommandBook, iChat, LWC, NoFire, OwnBlocks, Permissions, SimpleHelp, SimpleHome, Whitelist, WorldEdit. P.S All the plugins before 1.7.2 version. Thank you in advance for answers!
Hm..? Anyone please help.. Or maybe know a good toturial how to install the bukkit server on linux with java and etc..? EDIT by Moderator: merged posts, please use the edit button instead of double posting.
If you don't even know what program you are using to run the virtual machine then don't even try running a server let alone one in a virtual machine. We need information but if you can't supply it, we can't help you. Use 64-bit OS if you can and 768M is not enough for a OS + heavy server.