If it appears that no child process has stopped, then do not terminate on SIGCHLD. Certain modules like app_python can run external scripts which cause child processes to be started and stopped. That can result in SIGCHLD being received even though there is no real problem. Therefore, we do not terminate Kamailio unless we can find the child process which has stopped. You can view, comment on, or merge this pull request online at:
https://github.com/kamailio/kamailio/pull/1101
-- Commit Summary --
* core: Don't terminate on harmless SIGCHLD.
-- File Changes --
M src/main.c (13)
-- Patch Links --
https://github.com/kamailio/kamailio/pull/1101.patch https://github.com/kamailio/kamailio/pull/1101.diff
Thanks!
Merged #1101.