[Freeswitch-users] defunct processes created by bgsystem / system

Dave Horton daveh at beachdognet.com
Wed Aug 9 17:45:30 UTC 2017


I have the following action in my dialplan: 

 <action application="bgsystem" data = "/opt/scripts/push_handler.php ${uuid} ${sip_contact_user} ${host}"/> 

each time that command gets executed I see another defunct freeswitch process created: 

root at cor03-san:/usr/local/freeswitch/log# ps -ef | grep freeswitch 
root 23010 1 2 06:37 ? 00:00:25 /usr/local/freeswitch/bin/freeswitch -nc -nonat 
root 23209 23010 0 06:44 ? 00:00:00 [freeswitch] <defunct> 
root 23242 23010 0 06:45 ? 00:00:00 [freeswitch] <defunct> 
root 23300 23010 0 06:48 ? 00:00:00 [freeswitch] <defunct> 

I tried changing 'bgsystem' to 'system' and reloaded the dialplan, but it continued to drop defunct processes.

I’ve entered Jira FS-10572 as it seems like this is a bug, but I am wondering if there is a workaround of some kind?


More information about the FreeSWITCH-users mailing list