<div dir="ltr"><div class="gmail_extra"><br><div class="gmail_quote">On Thu, May 16, 2013 at 12:02 PM, Jonathan Vanasco <span dir="ltr">&lt;<a href="mailto:twisted-python@2xlp.com" target="_blank">twisted-python@2xlp.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left-width:1px;border-left-color:rgb(204,204,204);border-left-style:solid;padding-left:1ex">Hi,<br>
<br>
i&#39;m running a twisted daemon on ubuntu<br>
<br>
It seems to get shut down by the system periodically.  Logs show that the kernel (or something) kills it for taking up too much memory.  I definitely have coding issues in there that i&#39;m working on to address this.<br>

<br>
Does anyone have a suggestion for tools I can easily use on ubuntu to monitor and restart if needed ?  I haven&#39;t had to do something like this in 5 years, and back then it was a hassle to get monit or supervisord working.<br>

<br></blockquote><div><br></div><div><br></div><div>I like supervisord, for its watchdog functionality as well as log handling. It&#39;s pretty easy to configure. I recommend using twistd --nodaemon (-n) with it.</div></div>
<div><br></div>-- <br>Christopher Armstrong<br><a href="http://radix.twistedmatrix.com/">http://radix.twistedmatrix.com/</a><br><a href="http://planet-if.com/">http://planet-if.com/</a><br><br>
</div></div>