<html><head><meta http-equiv="Content-Type" content="text/html charset=utf-8"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;" class=""><div class="">Hi Stanislav,</div><div class=""><br class=""></div><div class="">Unit should restart crashed application processes. However, it is not simply ‘restart when it crashes’ functionality, but closely linked with requests processing and depends on application processes parameter.</div><div class=""><br class=""></div><div class="">Could you please share Unit configuration. Log file with enabled debug (--debug configure argument) will also help us to understand the issue. </div><div class=""><br class=""></div><div class="">Best regards,</div><div class="">Max</div><div class=""><br class=""></div><br class=""><div><blockquote type="cite" class=""><div class="">On 10 Dec 2018, at 08:15 , Stanislav Kozlov <<a href="mailto:stanislav.kozlov@optusnet.com.au" class="">stanislav.kozlov@optusnet.com.au</a>> wrote:</div><br class="Apple-interchange-newline"><div class="">
<meta http-equiv="content-type" content="text/html; charset=utf-8" class="">
<div text="#000000" bgcolor="#FFFFFF" class=""><p class="">Hi All,</p><p class=""> I use a few python application with Nginx Unit and Nginx in test
environment. Applications may fall from time to time and Unit
doesn't restart them. I've noticed neat parameter <span style="color: rgb(102, 102, 102); font-family: monospace;
font-size: 13px; font-style: normal; font-variant-ligatures:
normal; font-variant-caps: normal; font-weight: 400;
letter-spacing: normal; orphans: 2; text-align: start;
text-indent: 0px; text-transform: none; white-space: nowrap;
widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px;
background-color: rgb(238, 238, 238); text-decoration-style:
initial; text-decoration-color: initial; display: inline
!important; float: none;" class="">requests</span> to restart an
application after n attempts, but it doesn't solve the issue.<br class="">
I'm curious, if Nginx Unit has possibility to control application
state and restart it after exit<br class="">
</p><p class=""> Cheers!<br class="">
</p>
</div>
_______________________________________________<br class="">unit mailing list<br class=""><a href="mailto:unit@nginx.org" class="">unit@nginx.org</a><br class="">https://mailman.nginx.org/mailman/listinfo/unit</div></blockquote></div><br class=""></body></html>