[OpenSIPS-Devel] [OpenSIPS/opensips] 143358: Do waitpid() if a SIGCHILD is received.

Bogdan-Andrei Iancu bogdan at opensips.org
Tue Jan 20 18:26:16 CET 2015


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 1433587f4275637b3f2acfa35c1595a74bcae26d
      https://github.com/OpenSIPS/opensips/commit/1433587f4275637b3f2acfa35c1595a74bcae26d
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-20 (Tue, 20 Jan 2015)

  Changed paths:
    M main.c

  Log Message:
  -----------
  Do waitpid() if a SIGCHILD is received.

Generic handling on non-OpenSIPS processes (external forks) - if an OpenSIPS process receives SIGCHILD, do automatically a waitpid (non-blocking) to avoid zombi processes.


  Commit: 270cf27bad87f4962b5ff0eb2b3bc57a5484a298
      https://github.com/OpenSIPS/opensips/commit/270cf27bad87f4962b5ff0eb2b3bc57a5484a298
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-20 (Tue, 20 Jan 2015)

  Changed paths:
    M async.c
    M async.h
    M modules/tm/async.c

  Log Message:
  -----------
  Use 2 ret codes - function and async.

We need to have to kinds of return codes in parallel - the return code of the function, reporting whatever it is doing inside (like for the sync'ed functions) and one for the async engine, to report what is the status of the async part (started, not started, done in sync way, no IO done, etc).


  Commit: e7e989d3f88a7189a91e0f232f2159c92ae67207
      https://github.com/OpenSIPS/opensips/commit/e7e989d3f88a7189a91e0f232f2159c92ae67207
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-20 (Tue, 20 Jan 2015)

  Changed paths:
    M modules/exec/README
    M modules/exec/doc/exec_admin.xml
    M modules/exec/exec.c
    M modules/exec/exec.h
    M modules/exec/exec_mod.c

  Log Message:
  -----------
  Several updates:

-use the "async_status" to report the status at async level
-drop the old async implementation (kind of exec and do not wait)
-if no output is required from command, do not wait on it at all
-README file updated


  Commit: 701128a1924a76d523caf0589e90d65aa1afd761
      https://github.com/OpenSIPS/opensips/commit/701128a1924a76d523caf0589e90d65aa1afd761
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-20 (Tue, 20 Jan 2015)

  Changed paths:
    M modules/rest_client/README
    M modules/rest_client/doc/rest_client_admin.xml
    M modules/rest_client/rest_client.c
    M modules/rest_client/rest_methods.c

  Log Message:
  -----------
  Updates on return codes and README


  Commit: 9b4d41ea3e3630cb80ce4aceaa202bfaea5869d6
      https://github.com/OpenSIPS/opensips/commit/9b4d41ea3e3630cb80ce4aceaa202bfaea5869d6
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2015-01-20 (Tue, 20 Jan 2015)

  Changed paths:
    M modules/exec/README
    M modules/exec/doc/exec_admin.xml

  Log Message:
  -----------
  README fix


Compare: https://github.com/OpenSIPS/opensips/compare/3e18886730f3...9b4d41ea3e36


More information about the Devel mailing list