[OpenSIPS-Devel] [OpenSIPS/opensips] 3a7818: -d binary option: Evaluate before PKG malloc initi...
Liviu Chircu
noreply at github.com
Fri Mar 19 11:14:31 EST 2021
Branch: refs/heads/3.1
Home: https://github.com/OpenSIPS/opensips
Commit: 3a7818d1d4e57f06ac2ccfe5133814496f962324
https://github.com/OpenSIPS/opensips/commit/3a7818d1d4e57f06ac2ccfe5133814496f962324
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.
(cherry picked from commit 32e41a8c1880f04563695c28903991d3c43a55df)
Commit: 5ad179b122bc45708058e64985c6dcf2d8f37b11
https://github.com/OpenSIPS/opensips/commit/5ad179b122bc45708058e64985c6dcf2d8f37b11
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!)
(cherry picked from commit 92541f2d2a19e5f9d1535ac1130c4ae5c66182f9)
Compare: https://github.com/OpenSIPS/opensips/compare/636760b1d5c9...5ad179b122bc
More information about the Devel
mailing list