[OpenSIPS-Devel] [OpenSIPS/opensips] 779475: statistics: bug fix

Razvan Crainea razvan at opensips.org
Wed Jan 18 05:02:49 EST 2017


  Branch: refs/heads/master
  Home:   https://github.com/OpenSIPS/opensips
  Commit: 7794755731fb648e547e0b20a7baa3e7eb1f312a
      https://github.com/OpenSIPS/opensips/commit/7794755731fb648e547e0b20a7baa3e7eb1f312a
  Author: Cerghit Ionel <ionel.cerghit at gmail.com>
  Date:   2017-01-16 (Mon, 16 Jan 2017)

  Changed paths:
    M mem/shm_mem.c
    M statistics.c
    M statistics.h

  Log Message:
  -----------
  statistics: bug fix

proper handle freeing of the modules shared memory statistics,
change the STAT_ONLY_REGISTER flag to STAT_NO_ALLOC, as it now also blocks
the stats collector from freeing the generated statistics individually,
the freeing is done when the shared memory is destroyed at opensips
shutdown


  Commit: e2a6df0c16c42807483879bddef674946a891bfe
      https://github.com/OpenSIPS/opensips/commit/e2a6df0c16c42807483879bddef674946a891bfe
  Author: Cerghit Ionel <ionel.cerghit at gmail.com>
  Date:   2017-01-17 (Tue, 17 Jan 2017)

  Changed paths:
    M mem/f_malloc.c
    M mem/f_malloc.h
    M mem/hp_malloc.c
    M mem/hp_malloc.h
    M mem/module_info.c
    M mem/module_info.h
    M mem/q_malloc.c
    M mem/q_malloc.h
    M mem/shm_mem.c

  Log Message:
  -----------
  shm_module_stats: add maximum group usage

a new statistic was added for every module group declared which shows the
maximum real memory used by that module

fix a bug that generated underflows in the statistics, when the 'core' group
is declared all the fragments from the memory are marked with its new index,
before the fragments allocated before the declaration were mismanaged when freed
or rellocated


  Commit: a148da05e0e5d16e2864be18e2aa0fc39a323cda
      https://github.com/OpenSIPS/opensips/commit/a148da05e0e5d16e2864be18e2aa0fc39a323cda
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-01-18 (Wed, 18 Jan 2017)

  Changed paths:
    M mem/f_malloc.c
    M mem/f_malloc.h
    M mem/hp_malloc.c
    M mem/hp_malloc.h
    M mem/module_info.c
    M mem/module_info.h
    M mem/q_malloc.c
    M mem/q_malloc.h
    M mem/shm_mem.c
    M statistics.c
    M statistics.h

  Log Message:
  -----------
  Merge branch 'shm-groups-update' of https://github.com/ionel-cerghit/opensips into ionel-cerghit-shm-groups-update


  Commit: 6a9bf79f76d3638cb5f839565234f3417bc7c144
      https://github.com/OpenSIPS/opensips/commit/6a9bf79f76d3638cb5f839565234f3417bc7c144
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-01-18 (Wed, 18 Jan 2017)

  Changed paths:
    M Makefile.rules
    M mem/module_info.c
    M mem/module_info.h

  Log Message:
  -----------
  guard module_info.* with SHM_EXTRA_STATS

These files are only used when extra statistics are used


  Commit: 5eb58d6303b10b572c25196ec8bc1e3907389bd9
      https://github.com/OpenSIPS/opensips/commit/5eb58d6303b10b572c25196ec8bc1e3907389bd9
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-01-18 (Wed, 18 Jan 2017)

  Changed paths:
    M .gitignore

  Log Message:
  -----------
  Add files generated by SHM_EXTRA_STATS in gitignore


  Commit: 1b787de161932ce5ac607494492dada386690c63
      https://github.com/OpenSIPS/opensips/commit/1b787de161932ce5ac607494492dada386690c63
  Author: Razvan Crainea <razvan at opensips.org>
  Date:   2017-01-18 (Wed, 18 Jan 2017)

  Changed paths:
    M .gitignore
    M Makefile.rules
    M mem/f_malloc.c
    M mem/f_malloc.h
    M mem/hp_malloc.c
    M mem/hp_malloc.h
    M mem/module_info.c
    M mem/module_info.h
    M mem/q_malloc.c
    M mem/q_malloc.h
    M mem/shm_mem.c
    M statistics.c
    M statistics.h

  Log Message:
  -----------
  Merge branch 'ionel-cerghit-shm-groups-update'


Compare: https://github.com/OpenSIPS/opensips/compare/202193bf8b1b...1b787de16193


More information about the Devel mailing list