<div dir="ltr">Check the status of the child process if you gcore or strace it.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On 4 April 2014 13:50, Steven Ayre <span dir="ltr"><<a href="mailto:steveayre@gmail.com" target="_blank">steveayre@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div class=""><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">
<span style="font-family:arial,sans-serif;font-size:13px">when does Freeswitch decides to fork processes</span></blockquote>
<div><br></div></div><div>That's going to be rather dependant on your use-case. For ordinary call bridging it has no need to. You could grep the source code to find out. It'll need to any time you run an external process, such as when sending email (I assume it's wrapping sendmail or similar?).</div>
<div class="">
<div><br></div><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"><span style="font-family:arial,sans-serif;font-size:13px">what can cuase system() to hang?</span></blockquote>
<div><br></div></div><div>Since system() doesn't return until the child process is completed, anything causing that child process to hang would.<br></div></div><div class="gmail_extra"><br><br><div class="gmail_quote">
<div><div class="h5">On 3 April 2014 09:43, Yehavi Bourvine <span dir="ltr"><<a href="mailto:yehavi.bourvine@gmail.com" target="_blank">yehavi.bourvine@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="rtl"><div dir="ltr">Hello,</div><div dir="ltr"> </div><div dir="ltr"> I am trying to chase a problem hapenning from time to time. The problem is that freeswitch starts acting slowly, it starts forking processes and I have to restart it.</div>
<div dir="ltr"> </div><div dir="ltr">It did not happen with 1.0.x, but it happens with various 1.2.x; it happened today a few times on 1.2.23 so I reverted to 1.2.22 to see whether it helps in the meantime.</div><div dir="ltr">
</div><div dir="ltr">Using GCORE on one of the new processes I've found that at least one of them is hung in system() call used by voicemail to email voicemail messages. If I kill the process then the Email is sent.</div>
<div dir="ltr"> </div><div dir="ltr">So, when does Freeswitch decides to fork processes and what can cuase system() to hang?</div><div dir="ltr"> </div><div dir="ltr">I do not open JIRA yet as I cannot jump to the git HEAD (production system and have to do things very carefully...</div>
<div dir="ltr"> </div><div dir="ltr"> Thanks, __Yehavi:</div></div>
<br></div></div>_________________________________________________________________________<br>
Professional FreeSWITCH Consulting Services:<br>
<a href="mailto:consulting@freeswitch.org" target="_blank">consulting@freeswitch.org</a><br>
<a href="http://www.freeswitchsolutions.com" target="_blank">http://www.freeswitchsolutions.com</a><br>
<br>
FreeSWITCH-powered IP PBX: The CudaTel Communication Server<br>
<a href="http://www.cudatel.com" target="_blank">http://www.cudatel.com</a><br>
<br>
Official FreeSWITCH Sites<br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<a href="http://wiki.freeswitch.org" target="_blank">http://wiki.freeswitch.org</a><br>
<a href="http://www.cluecon.com" target="_blank">http://www.cluecon.com</a><br>
<br>
FreeSWITCH-users mailing list<br>
<a href="mailto:FreeSWITCH-users@lists.freeswitch.org" target="_blank">FreeSWITCH-users@lists.freeswitch.org</a><br>
<a href="http://lists.freeswitch.org/mailman/listinfo/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/listinfo/freeswitch-users</a><br>
UNSUBSCRIBE:<a href="http://lists.freeswitch.org/mailman/options/freeswitch-users" target="_blank">http://lists.freeswitch.org/mailman/options/freeswitch-users</a><br>
<a href="http://www.freeswitch.org" target="_blank">http://www.freeswitch.org</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>