[Freeswitch-users] When does Freeswitch starts to fork processes?
Steven Ayre
steveayre at gmail.com
Fri Apr 4 21:50:02 MSD 2014
>
> when does Freeswitch decides to fork processes
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?).
what can cuase system() to hang?
Since system() doesn't return until the child process is completed,
anything causing that child process to hang would.
On 3 April 2014 09:43, Yehavi Bourvine <yehavi.bourvine at gmail.com> wrote:
> Hello,
>
> 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.
>
> 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.
>
> 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.
>
> So, when does Freeswitch decides to fork processes and what can cuase
> system() to hang?
>
> I do not open JIRA yet as I cannot jump to the git HEAD (production system
> and have to do things very carefully...
>
> Thanks, __Yehavi:
>
> _________________________________________________________________________
> Professional FreeSWITCH Consulting Services:
> consulting at freeswitch.org
> http://www.freeswitchsolutions.com
>
>
>
>
> Official FreeSWITCH Sites
> http://www.freeswitch.org
> http://wiki.freeswitch.org
> http://www.cluecon.com
>
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
> http://lists.freeswitch.org/mailman/listinfo/freeswitch-users
> UNSUBSCRIBE:http://lists.freeswitch.org/mailman/options/freeswitch-users
> http://www.freeswitch.org
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.freeswitch.org/pipermail/freeswitch-users/attachments/20140404/a0392f45/attachment-0001.html
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users
mailing list