barneygale / mark2

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

"Read timed out" restarting not working #68

Closed vemacs closed 11 years ago

vemacs commented 11 years ago

I currently don't have the log at the moment (/tmp/mark2 is somewhat empty), but as I run a FTB server, it's erm well, unstable.

Mark2 is detecting that the server has frozen (it is still accepting connections via query, but it mentions that a crash has been detected), something similar to:

Read timed out
Crash detected: restarting in -1 minutes

However, it doesn't restart. Instead, all it does is loop:

Read timed out
Crash detected: restarting in -2 minutes
Read timed out
Crash detected: restarting in -3 minutes

And so on. It never actually restarts, it just decreases the negative number by one.

I wish I would have the log, but strangely, it got wiped. Do you mind looking at the logic for this particular crash check?

Thanks. FTB is kinda unstable

Note: The server does restart cleanly (e.g. with map save) with ~restart.

edk0 commented 11 years ago

Which version is your mark2? (output of git log -1 in your mark2 directory)

I fixed a typo that would have caused this 10 days ago.

vemacs commented 11 years ago

I just realized that I wgetted the package, but didn't extract it. Oops.