I'm having a problem with my server, it's quite weird.. At times, it just randomly stops. It's like someone type "stop" in the cmd file.. because it saves all chunks, and everything else. No progress is lost, but still, it turns of, without turning back on. I installed a plugin to make it restart every 2 hours, but it didn't work, so i deleted it. Now i think a small piece of it is left, and is causing the server to stop, but not restart.. Or is this completly wrong? Please help me find out what the problem is.. Kris
I dont think its because of the plugin. I'm not sure, but it sounds like the server is running out of ram. In the folder where you have the CraftBukkit.jar, you should also find a file called "server.bat". The contents will look something like this: Code: java -Xms1024M -Xmx1024M -jar craftbukkit.jar pause Try changing the -Xms and -Xmx numbers. First try lowering them, if it still has the problem, increase them. But be careful, if its set too high, it can cause problems. If this doesn't work, maybe try redownloading the CraftBukkit.jar from here. If you still have problems, try asking for hold on the thread for the plugin you are talking about. See if anyone else has the same problem. Hope this helps.
I would get this on a regular occurance, using multiple builds craft bukkit without mods and with mods. I believe its something to do with the actual server framework. Hitting some error and not reporting it to the console but going through the process of shutting down anyway. Do not take my word on this, i am not a java programmer, im a python programmer so some logical thought. thats how i would see this happening.
Not sure how much info i can give you.. It just randomly turns off. No errors or anything. It happens from every hour to every 24 hours.. so i can't tell when it is going to happen. =/ Kris
Stop the server. Rename your current plugins directory to plugins.bak. Start server. Test. You can then start testing one by one and move each plugin into the new plugins directory that will get created.
So, you mean i should test which plugin is causing this? Because that's just impossible to do =/ I have like, 20 plugins running, and this "bug" only occurs at random times, like every 1-24 hour.. Any other way of finding out why it stops? Kris
Well I'm having the very same issue. It started turning up around the time multiworlds go introduced. Server just closes, no error nothing. Never had that issue before, right no assigned 4gb ram to it on a 12gb ram machine so I doubt it's caused by running out of ram.
Hey uh... I'm having the same issue except I cannot even type any command or else the server just stops as if someone typed "/stop". In addition, it will also stop if I just walk around for a bit...
If you run out of RAM this happens. It was happening to me until I fixed it. If you have the stats or achievements plugin, that is the issue. They leak ALOT of RAM and screw over the CPU. Remove them and it will be fixed.
Me personally, I don't have that plugin, I still dont know what the issue is... Should I just increase java –Xmx1024M –Xms1024M –jar craftbukkit.jar nogui to java –Xmx<moreram>M –Xms<moreram>M –jar craftbukkit.jar nogui? and if so... how much? EDIT: On a mac btw
Wow YES. You are running out of RAM, and then the server shuts off. Do like -XmX828M -XmS2048M XMS always should be higher.
Huh? so... java -Xms2048M -Xmx828M -jar craftbukkit.jar nogui? Sorry but I just don't get that... How can the max be more then the min?
Okay... java -Xms828M -Xmx2048M -jar craftbukkit.jar nogui Still getting same issue didn't change anything... Do I need more?
Well in some combination of bukkit and plugins there are leaks, like when monsters are on I think etc. It is being worked at, but I think we just have to live with it for the time being. You can restart the server when it goes down automatically, I know it's not really a solution though.
Okay I guess I will continue with SimpleServer until the next build... EDIT: I think I found the problem... You need Java 1.6 for Craftbukkit and for that you need Snow Leopard for the mac...