FalloutBe Posted June 13, 2013 Posted June 13, 2013 Hello, Problem: My server keeps crashing for some odd reason. It happens at random times (so not at startup, not at shutdown or at player connect, but just .. random) I have searched these errors everywhere, but I can't find a fix for it. I did already tried to update java but that also didn't work. OS: Linux CentOS 5 64-bit Java Version: 1.7.0_19 Occurence: I figured out that it happens when the server is loading chunks. If I stay in the same place, I can play forever and the server never crashes. You could think that there are bad blocks in the map, but is just a newly generated map. I already tried reinstalling the server but it still happens. If I start flying around, further away, then it crashes after only half a minute of flying. So what happens is: The server suddenly shuts down with no error message (or at least not that I know of) and the clients get the message: "Server closed". This are the only things that were printed to the logs at that time: ForgeModLoader-server-0.log --------------------------- 2013-06-12 23:11:59 [iNFO] [Minecraft] Stopping server 2013-06-12 23:11:59 [iNFO] [sTDERR] java.net.SocketException: Socket closed 2013-06-12 23:11:59 [iNFO] [Minecraft] Saving players 2013-06-12 23:11:59 [iNFO] [sTDERR] at java.net.PlainSocketImpl.socketAccept(Native Method) 2013-06-12 23:11:59 [iNFO] [sTDERR] at java.net.AbstractPlainSocketImpl.accept(AbstractPlainSocketImpl.java:398) 2013-06-12 23:11:59 [iNFO] [sTDERR] at java.net.ServerSocket.implAccept(ServerSocket.java:522) 2013-06-12 23:11:59 [iNFO] [sTDERR] at java.net.ServerSocket.accept(ServerSocket.java:490) 2013-06-12 23:11:59 [iNFO] [sTDERR] at hu.run(ServerListenThread.java:81) 2013-06-12 23:11:59 [iNFO] [sTDOUT] Closing listening thread 2013-06-12 23:11:59 [iNFO] [sTDOUT] Unloading Player: FalloutBe server.log ---------- 2013-06-12 23:11:59 [iNFO] Stopping server Another thing that seems odd: 2013-06-11 20:04:13 [iNFO] /67.43.7.19:41239 lost connection 2013-06-11 20:08:16 [iNFO] /67.43.7.19:58156 lost connection 2013-06-11 20:09:51 [iNFO] /67.43.7.19:36852 lost connection 2013-06-11 20:11:52 [iNFO] /67.43.7.19:46656 lost connection 2013-06-11 20:14:10 [iNFO] /67.43.7.19:56662 lost connection 2013-06-11 20:20:08 [iNFO] /67.43.7.19:52273 lost connection 2013-06-11 20:23:30 [iNFO] /67.43.7.19:39997 lost connection The server log is full of this. I traced the IP, and it is from the same location as where my server is hosted, however that is not the same IP as my vps. Any ideas? This problem really needs to be fixed :/ the server is totally unplayable like this. Quote
Meems33 Posted June 14, 2013 Posted June 14, 2013 Does this happen with a vanilla server too? Monitor your ram. I wonder if an out of memory exception is being thrown but not printed. Quote
FalloutBe Posted June 15, 2013 Author Posted June 15, 2013 No, if I run a regular server then it works just fine. The memory is constant so there is no memory leak. At the moment of a crash, if I then check the hystory of the memory, it also shows just normal operation. Thank you for your reply! Quote
Meems33 Posted June 20, 2013 Posted June 20, 2013 It kind of looks like ddos... Have a look at http://forums.bukkit.org/threads/random-i-p-lost-connection-spam-in-console.136035/ You can try turning off enable-query. You might also want to contact your vps provider. Perhaps there is something configured wrong. Perhaps they are disconnecting you because of all that web traffic. Quote
FalloutBe Posted June 27, 2013 Author Posted June 27, 2013 Hmm I could not find the problem, but I moved to another host and now it is fixed. Thank you for the help though Quote
MrBrittas Posted July 9, 2013 Posted July 9, 2013 It's MinecraftServers.net pinging you, I get it too. Turn off enable-query and see if it helps. It's probably not what is crashing you. http://bgp.he.net/dns/minecraftservers.net#_dns Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.