<div dir="ltr">Hello,<div><br></div><div>thanks for recommending module <b>evrexec</b>.</div><div><br></div><div>The problem was solved in the following way<br></div><div><br></div><div>KEMI script:</div><div><div style="color:rgb(51,51,51);background-color:rgb(245,245,245);font-family:"Droid Sans Mono","monospace",monospace;font-size:14px;line-height:19px;white-space:pre"><div><span style="color:rgb(122,62,157)">class</span> <span style="color:rgb(122,62,157);font-weight:bold">kamailio</span><span style="color:rgb(119,119,119)">:</span></div><div>    <span style="color:rgb(122,62,157)">def</span> <span style="color:rgb(170,55,49);font-weight:bold">update</span><span style="color:rgb(119,119,119)">(</span><span style="color:rgb(122,62,157)">self</span><span style="color:rgb(119,119,119)">,</span> <span style="color:rgb(122,62,157)">msg</span><span style="color:rgb(119,119,119)">):</span></div><div>        <span style="color:rgb(75,105,198)">while</span> <span style="color:rgb(156,93,39)">True</span><span style="color:rgb(119,119,119)">:</span></div><div>            _action<span style="color:rgb(119,119,119)">()</span></div><div>            <span style="color:rgb(122,62,157);font-weight:bold">time</span><span style="color:rgb(119,119,119)">.</span><span style="color:rgb(170,55,49);font-weight:bold">sleep</span><span style="color:rgb(119,119,119)">(</span><span style="color:rgb(156,93,39)">60</span><span style="color:rgb(119,119,119)">)</span></div><br><div><span style="color:rgb(122,62,157)">def</span> <span style="color:rgb(170,55,49);font-weight:bold">mod_init</span><span style="color:rgb(119,119,119)">():</span></div><div>    <span style="color:rgb(75,105,198)">return</span> <span style="color:rgb(122,62,157);font-weight:bold">kamailio</span><span style="color:rgb(119,119,119)">()</span></div></div></div><div><br></div><div>Kamailio script:</div><div><div style="color:rgb(51,51,51);background-color:rgb(245,245,245);font-family:"Droid Sans Mono","monospace",monospace;font-size:14px;line-height:19px;white-space:pre"><div><span style="color:rgb(75,105,198)">loadmodule</span> <span style="color:rgb(68,140,39)">"evrexec"</span></div><div><div style="line-height:19px"><div><span style="color:rgb(75,105,198)">modparam</span>(<span style="color:rgb(68,140,39)">"evrexec"</span><span style="color:rgb(119,119,119)">,</span> <span style="color:rgb(68,140,39)">"exec"</span><span style="color:rgb(119,119,119)">,</span> <span style="color:rgb(68,140,39)">"name=evrexec:update;workers=1;"</span>)</div><div><br></div><div>...</div><div><br></div><div><div style="line-height:19px"><div><span style="color:rgb(170,55,49);font-weight:bold">event_route[</span><span style="color:rgb(156,93,39);font-weight:bold">evrexec:update</span><span style="color:rgb(170,55,49);font-weight:bold">]</span> {</div><div>  <span style="color:rgb(75,105,198)">if</span> (<span style="color:rgb(119,119,119)">!</span>python_exec(<span style="color:rgb(68,140,39)">"update"</span>)) {</div><div>    xlog(<span style="color:rgb(68,140,39)">"L_CRITICAL"</span><span style="color:rgb(119,119,119)">,</span> <span style="color:rgb(68,140,39)">"Couldn't start update process</span><span style="color:rgb(119,119,119)">\n</span><span style="color:rgb(68,140,39)">"</span>)<span style="color:rgb(119,119,119)">;</span></div><div>  }</div><div>}</div></div></div></div></div></div></div><div><br></div><div>thus the process is registered in kamailio and works correctly.<br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">чт, 27 окт. 2022 г. в 11:21, Henning Westerholt <<a href="mailto:hw@gilawa.com">hw@gilawa.com</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div class="msg-4901894815346861549">





<div lang="DE" style="overflow-wrap: break-word;">
<div class="m_-4901894815346861549WordSection1">
<p class="MsoNormal"><span>Hello,<u></u><u></u></span></p>
<p class="MsoNormal"><span><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">not a KEMI python expert, but what you are trying to do (adding a process to Kamailio and then also maintaining it during run-time) could be probably better done from the C module level.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">You can look to the several modules that starts their own children worker processes to get an idea how to do it.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Cheers,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Henning<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">-- <u></u>
<u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Henning Westerholt –
</span><span><a href="https://skalatan.de/blog/" target="_blank"><span lang="EN-GB" style="color:rgb(5,99,193)">https://skalatan.de/blog/</span></a></span><span lang="EN-GB"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB">Kamailio services –
</span><span><a href="https://gilawa.com/" target="_blank"><span lang="EN-GB" style="color:rgb(5,99,193)">https://gilawa.com</span></a></span><span lang="EN-GB"><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-GB"><u></u> <u></u></span></p>
<div style="border-right:none;border-bottom:none;border-left:none;border-top:1pt solid rgb(225,225,225);padding:3pt 0cm 0cm">
<p class="MsoNormal" style="margin-left:35.4pt"><b>From:</b> sr-users <<a href="mailto:sr-users-bounces@lists.kamailio.org" target="_blank">sr-users-bounces@lists.kamailio.org</a>>
<b>On Behalf Of </b>Marat Gareev<br>
<b>Sent:</b> Wednesday, October 26, 2022 12:19 PM<br>
<b>To:</b> <a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a><br>
<b>Cc:</b> Kamailio (SER) - Users Mailing List <<a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a>><br>
<b>Subject:</b> Re: [SR-Users] Kill child process created by app_python module<u></u><u></u></p>
</div>
<p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">Hello again,<u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">Any advice will be appreciated.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">Thanks<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">чт, 15 сент. 2022 г. в 18:10, Marat Gareev <<a href="mailto:maratkin94@gmail.com" target="_blank">maratkin94@gmail.com</a>>:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p class="MsoNormal" style="margin-left:35.4pt">Hello Daniel,<u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">Probably, the process is not killed, because the child processes of the python module are not included in the kamailio children list.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">How can I register an event route in KEMI script?<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><a href="https://kamailio.org/docs/tutorials/devel/kamailio-kemi-framework/kemi/#python-kemi-interpreter" target="_blank">Doc</a> says:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm">
<p class="MsoNormal" style="margin-left:35.4pt">event route callback - the name of the Python function to be executed instead of module specific event_route blocks is provided via event_callback parameter of that module<u></u><u></u></p>
</blockquote>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">but <a href="https://www.kamailio.org/docs/modules/devel/modules/evrexec.html" target="_blank">
evrexec</a> doesn't have an event_callback parameter.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">I tried to set up exec parameter (_update is Python function)<u></u><u></u></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt"><span style="font-size:10.5pt;font-family:"Courier New";color:blue">modparam</span><span style="font-size:10.5pt;font-family:"Courier New";color:black">(</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(163,21,21)">"evrexec"</span><span style="font-size:10.5pt;font-family:"Courier New";color:black">,
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(163,21,21)">"exec"</span><span style="font-size:10.5pt;font-family:"Courier New";color:black">,
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(163,21,21)">"name=_update;workers=1;"</span><span style="font-size:10.5pt;font-family:"Courier New";color:black">)<u></u><u></u></span></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">and got warning<u></u><u></u></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt"><span style="font-size:10.5pt;font-family:"Courier New";color:black">WARNING: evrexec [evrexec_mod.c:</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(9,134,88)">180</span><span style="font-size:10.5pt;font-family:"Courier New";color:black">]:
 evrexec_process(): empty event route block [_update]<u></u><u></u></span></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p>
<div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">ср, 14 сент. 2022 г. в 16:21, Daniel-Constantin Mierla <<a href="mailto:miconda@gmail.com" target="_blank">miconda@gmail.com</a>>:<u></u><u></u></p>
</div>
<blockquote style="border-top:none;border-right:none;border-bottom:none;border-left:1pt solid rgb(204,204,204);padding:0cm 0cm 0cm 6pt;margin-left:4.8pt;margin-right:0cm">
<div>
<p style="margin-left:35.4pt">Hello,<u></u><u></u></p>
<p style="margin-left:35.4pt">not sure I got right what is the issue and what would be a solution for it, but maybe you can leverage evrexec to create a child process and by that keep it in kamailio children list.<u></u><u></u></p>
<p style="margin-left:35.4pt">Cheers,<br>
Daniel<u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">On 13.09.22 19:15, Marat Gareev wrote:<u></u><u></u></p>
</div>
<blockquote style="margin-top:5pt;margin-bottom:5pt">
<div>
<p class="MsoNormal" style="margin-left:35.4pt">Hello! <u></u><u></u></p>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">I'm trying to use app_python module to perform periodic actions.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">This is a simple python code<u></u><u></u></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(122,62,157)">def</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><b><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(170,55,49)">_update</span></b><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">():</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(75,105,198)">while</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">True</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">:</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">_action</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">()</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">time</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">.</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">sleep</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">(</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">60</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">)</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(122,62,157)">class</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><b><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(122,62,157)">noop_handler</span></b><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">:</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(122,62,157)">def</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><b><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(170,55,49)">child_init</span></b><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">(</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(122,62,157)">self</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">,</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(122,62,157)">rank</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">):</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(75,105,198)">return</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">0</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(122,62,157)">def</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><b><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(170,55,49)">ksr_request_route</span></b><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">(</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(122,62,157)">self</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">,</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(122,62,157)">msg</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">):</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(75,105,198)">return</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">1</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(122,62,157)">def</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><b><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(170,55,49)">mod_init</span></b><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">():</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<i><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(170,170,170)"># signal.signal(signal.SIGTERM, signal.default_int_handler)</span></i><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(122,62,157)">proc</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">=</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"> multiprocessing</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">.</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">Process</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">(</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(122,62,157)">target</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">=</span><b><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(170,55,49)">_update</span></b><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">)</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<i><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(170,170,170)"># proc.daemon = True</span></i><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(122,62,157)">proc</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">.</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">start</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">()</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">ksr</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">.</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">notice</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">('</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(68,140,39)">Forked
 process </span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">{}</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(68,140,39)"> to update</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">\n'.</span><b><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(170,55,49)">format</span></b><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">(</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(122,62,157)">proc</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">.</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">pid</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">))</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(75,105,198)">return</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><b><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(122,62,157)">noop_handler</span></b><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">()</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u><u></u></span></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">After killing kamailio processes with SIGTERM signal (<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51);background:whitesmoke">killall kamailio</span>) I see zombie process.<u></u><u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">And if I try to process the signal in daemon mode (see the comments in the snippet above), I get critical errors in the logs and still see processes:<u></u><u></u></p>
</div>
<div>
<div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">0</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">(</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">37001</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">)</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(122,62,157)">NOTICE</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">:</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)"><</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">core</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">></span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">[</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">core</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">/</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">kemi</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">.</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">c</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">:</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">124</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">]:</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
 sr_kemi_core_notice</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">():</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"> Forked process
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">37002</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"> to update<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">1</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">(</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">37003</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">)</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(122,62,157)">ERROR</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">:</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)"><</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">core</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">></span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">[</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">core</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">/</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">udp_server</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">.</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">c</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">:</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">464</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">]:</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
 udp_rcv_loop</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">():</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"> recvfrom</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">:[</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">4</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">]</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
 Interrupted system call<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">Process Process</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">-</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">1</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">:</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">Traceback </span>
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">(</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">most recent call last</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">):</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">File </span>
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">"</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(68,140,39)">/usr/lib64/python2.7/multiprocessing/process.py</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">",</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
 line </span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">258</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">,</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">in</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"> _bootstrap<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">self</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">.</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">run</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">()</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">File </span>
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">"</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(68,140,39)">/usr/lib64/python2.7/multiprocessing/process.py</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">",</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
 line </span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">114</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">,</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">in</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"> run<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">self</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">.</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">_target</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">(*</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">self</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">.</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">_args</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">,</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">**</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">self</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">.</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">_kwargs</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">)</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">File </span>
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">"</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(68,140,39)">/tmp/script.py</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">",</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
 line </span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">155</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">,</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">in</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"> _update<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">time</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">.</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">sleep</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">(</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">period</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">)</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(122,62,157)">KeyboardInterrupt</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">0</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">(</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">37001</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">)</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(122,62,157)">ALERT</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">:</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)"><</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">core</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">></span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">[</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">main</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">.</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">c</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">:</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">774</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">]:</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
 handle_sigs</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">():</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"> child process
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">37002</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"> exited normally</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">,</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
 status</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">=</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">1</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">0</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">(</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">37001</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">)</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(122,62,157)">INFO</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">:</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)"><</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">core</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">></span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">[</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">main</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">.</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">c</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">:</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">802</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">]:</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
 handle_sigs</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">():</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"> terminating due to
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">SIGCHLD</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">1</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">(</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">37003</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">)</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(122,62,157)">ERROR</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">:</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)"><</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">core</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">></span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">[</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">core</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">/</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">udp_server</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">.</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">c</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">:</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">464</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">]:</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
 udp_rcv_loop</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">():</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"> recvfrom</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">:[</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">4</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">]</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
 Interrupted system call<u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">8</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">(</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">37014</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">)</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(122,62,157)">CRITICAL</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">:</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)"><</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">core</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">></span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">[</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">core</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">/</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">pass_fd</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">.</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">c</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">:</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">277</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">]:</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
 receive_fd</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">():</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">EOF</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"> on
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">4</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"><u></u><u></u></span></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt;line-height:14.25pt;background:whitesmoke">
<span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">1</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">(</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">37003</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">)</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(122,62,157)">ERROR</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">:</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)"><</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">core</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">></span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">[</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">core</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">/</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">udp_server</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">.</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">c</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">:</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">464</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">]:</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
 udp_rcv_loop</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">():</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)"> recvfrom</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">:[</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(156,93,39)">4</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(119,119,119)">]</span><span style="font-size:10.5pt;font-family:"Courier New";color:rgb(51,51,51)">
 Interrupted system call<u></u><u></u></span></p>
</div>
</div>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p>
</div>
<div>
<p class="MsoNormal" style="margin-left:35.4pt">So, how I can kill child process by SIGTERM signal?<u></u><u></u></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:35.4pt"><u></u> <u></u></p>
<pre style="margin-left:35.4pt">__________________________________________________________<u></u><u></u></pre>
<pre style="margin-left:35.4pt">Kamailio - Users Mailing List - Non Commercial Discussions<u></u><u></u></pre>
<pre style="margin-left:35.4pt">  * <a href="mailto:sr-users@lists.kamailio.org" target="_blank">sr-users@lists.kamailio.org</a><u></u><u></u></pre>
<pre style="margin-left:35.4pt">Important: keep the mailing list in the recipients, do not reply only to the sender!<u></u><u></u></pre>
<pre style="margin-left:35.4pt">Edit mailing list options or unsubscribe:<u></u><u></u></pre>
<pre style="margin-left:35.4pt">  * <a href="https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users" target="_blank">https://lists.kamailio.org/cgi-bin/mailman/listinfo/sr-users</a><u></u><u></u></pre>
</blockquote>
<pre style="margin-left:35.4pt">-- <u></u><u></u></pre>
<pre style="margin-left:35.4pt">Daniel-Constantin Mierla -- <a href="http://www.asipto.com" target="_blank">www.asipto.com</a><u></u><u></u></pre>
<pre style="margin-left:35.4pt"><a href="http://www.twitter.com/miconda" target="_blank">www.twitter.com/miconda</a> -- <a href="http://www.linkedin.com/in/miconda" target="_blank">www.linkedin.com/in/miconda</a><u></u><u></u></pre>
</div>
</blockquote>
</div>
</blockquote>
</div>
</div>
</div>

</div></blockquote></div>