[OpenSIPS-Devel] [OpenSIPS/opensips] 32e41a: -d binary option: Evaluate before PKG malloc initi...

Liviu Chircu noreply at github.com
Fri Mar 19 11:10:54 EST 2021


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 32e41a8c1880f04563695c28903991d3c43a55df
      https://github.com/OpenSIPS/opensips/commit/32e41a8c1880f04563695c28903991d3c43a55df
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-03-19 (Fri, 19 Mar 2021)

  Changed paths:
    M main.c

  Log Message:
  -----------
  -d binary option: Evaluate before PKG malloc initializations

There is no need to delay the evaluation of '-d'.  By moving it earlier,
we gain the ability to control the logging of PKG memory initialization.

This patch doesn't change the fact that '-d' is somewhat broken,
because it will immediately get overridden by the 'log_level'
configuration file option.  But this is subject to a future patch.


  Commit: 92541f2d2a19e5f9d1535ac1130c4ae5c66182f9
      https://github.com/OpenSIPS/opensips/commit/92541f2d2a19e5f9d1535ac1130c4ae5c66182f9
  Author: Liviu Chircu <liviu at opensips.org>
  Date:   2021-03-19 (Fri, 19 Mar 2021)

  Changed paths:
    M main.c
    M modules/drouting/drouting.c

  Log Message:
  -----------
  Improve SHM / PKG / RPM memory block logging on startup

  * bump up the log level to NOTICE (matching the default `log_level`)
  * display the used allocator for each memory block
  * correct the unit from Mb (megabits??) to MB (megabytes!)


Compare: https://github.com/OpenSIPS/opensips/compare/c64d8cb3d314...92541f2d2a19



More information about the Devel mailing list