barneygale / mark2

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

OOM crash does not trigger a restart #104

Open johnmlang opened 10 years ago

johnmlang commented 10 years ago

When my server crashes due to an out of memory error, mark2 doesn't detect the OOM crash and restart the server. It does, however, detect that the server is no longer accepting connects and begins counting down to a restart. I would expect the OOM portion of the monitor plugin to detect the OOM crash and restart immediately. Instead, it appears to do nothing.

Mark2 log: http://pastebin.com/fyJhNeyu Minecraft server log: http://pastebin.com/7Qjsa0bq Crash report: http://pastebin.com/WdwcT0Fg

Minecraft: Vanilla 1.6.2 OS: Debian 7.0 "Wheezy" Java: Oracle 1.7.0_25

Please let me know if there is any other information I can provide. Thanks!