Very occasionally a Moo database will get into a corrupted state that
will no longer load. This is usually due to fork bombed tasks, zombie
connections or invalid clocks. In these cases it is usually acceptable
to strip off the final four blocks of the database and replace them with
empty placeholders:
0 clocks
0 queued tasks
0 suspended tasks
0 active connections with listeners
moolobotomize.py is a command-line tool that parses a Moo database file, locates the final four status blocks and replaces them. The lobotomized database is printed to standard output (you probably wish to pipe this to a file, not the original db file).