barneygale / mark2

minecraft server wrapper, written in python with twisted
Other
105 stars 27 forks source link

crash-reboots with bukkit 1.6.2 #109

Open verboEse opened 10 years ago

verboEse commented 10 years ago

Hi. With 1.6.2 there is an issue (I think the issue is with vanilla, too) that gives a severe message in console log when trying to ping the server:

2013-08-18 11:18:25 [SEVERE] Reached end of stream for /127.0.0.1

I suppose mark2 detects this message as failure of the server and restarts it (after countdown). I deactivated "restart on crash" for now, but of course it won't restart on a real issue then.

verboEse commented 10 years ago

I have no idea why the formatting of my report looks that ugly. Can't change this via edit though. :(

vemacs commented 10 years ago

restart on crash

Bukkit or mark2? You should disable the CraftBukkit restart-on-crash. It interferes with mark2's.

barneygale commented 10 years ago

mark2 detects crashes in 3 or 4 ways:

  1. if the server doesn't respond to a ping
  2. if it stops responding to console
  3. out-of-memory exceptions
  4. (optional) 0 player count

The server log you're seeing is pretty normal and doesn't mean the server hasn't responded to ping. If it's mark2 restarting the server, you should see something like "server failed to respond to ping. attempt 1/10." or similar. It won't restart simply because it saw that "SEVERE" line.