[OpenSIPS-Devel] [OpenSIPS/opensips] f06624: Added more flags when forking internal processes.

Bogdan-Andrei Iancu bogdan at opensips.org
Fri Mar 2 10:42:57 EST 2018


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: f066245683682b72a7ba34e63253373f1819bf6b
      https://github.com/OpenSIPS/opensips/commit/f066245683682b72a7ba34e63253373f1819bf6b
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2018-03-02 (Fri, 02 Mar 2018)

  Changed paths:
    M main.c
    M pt.c
    M pt.h
    M sr_module.c
    M timer.c

  Log Message:
  -----------
  Added more flags when forking internal processes.

Two new flags were added :
* NO_LOAD - the process should not be counted when calculated the load
* IS_EXTRA - this is an EXTRA process requests by a module (it is not an OpenSIPS core process)


  Commit: f14801795fabfd2c847c49574e48c19ef05d7175
      https://github.com/OpenSIPS/opensips/commit/f14801795fabfd2c847c49574e48c19ef05d7175
  Author: Bogdan-Andrei Iancu <bogdan at opensips.org>
  Date:   2018-03-02 (Fri, 02 Mar 2018)

  Changed paths:
    M pt.c
    M pt_load.c
    M pt_load.h

  Log Message:
  -----------
  Added new set of load statistics for extra procs.

The "load" set of stats (rt, 1m, 10m) covers now only the OpenSIPS core processes (it does not count the load for the extra processes forked by the modules).
The new "load-all" set will count the load for *all* OpenSIPS procs, core or module.


Compare: https://github.com/OpenSIPS/opensips/compare/dc51ee60f450...f14801795fab


More information about the Devel mailing list