[Freeswitch-users] When does Freeswitch starts to fork processes?
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:
> 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
> Official FreeSWITCH Sites
> FreeSWITCH-users mailing list
> FreeSWITCH-users at lists.freeswitch.org
-------------- next part --------------
An HTML attachment was scrubbed...
Join us at ClueCon 2013 Aug 6-8, 2013
More information about the FreeSWITCH-users