Twonky server keeps dying

Recently I’ve found that the Twonky server stops running on my MyBookLive. If I uncheck the enable box and check it again or rebuild the database it starts back up again and work again for up to about a week, but then dies again. If I try to start it manually from ssh it just dies again. The only way to start it is from the UI.

The only thing different lately is I got a Sony Android TV which appears to scan the network for UPNP periodically since it supports native playback from UPNP sources. I suppose the Twonky (5.1.9) server may not like it.

I tried to look at the logs, but there aren’t any really. At least nothing useful. Twonky has no logs.

Is there some way of determining why Twonky is dying and either keeping it from dying or have it restart itself?