Skip to content

docs: memory sizes with suffixes and HG_MALLOC elastic arenas (4.1) - #30

Open
Lt-Flash wants to merge 4 commits into
OpenSIPS:mainfrom
Lt-Flash:hg-malloc-memory-docs
Open

Lt-Flash wants to merge 4 commits into
OpenSIPS:mainfrom
Lt-Flash:hg-malloc-memory-docs

Conversation

@Lt-Flash

@Lt-Flash Lt-Flash commented Oct 11, 2026 •

Copy link
Copy Markdown

Documentation for OpenSIPS/opensips#4327 (HG_MALLOC), for the pages that live in this repository:

  • troubleshooting/outofmem: -m/-M accept a k/m/g suffix from 4.1; new "Let the pool grow" subsection on HG_MALLOC's elastic INIT:CAP arenas, with LimitMEMLOCK, hg_advise and the grow-blocked statistics.
  • troubleshooting/increasemem: a short pointer to elastic arenas.
  • migration 4.0 -> 4.1: the new -m/-M forms and the opt-in HG_MALLOC parameters; no action is needed for existing setups.

This describes code that is not merged yet, so it should only go in together with or after OpenSIPS/opensips#4327. The core parameters, MI commands, events and statistics are documented in mem/README.hg_malloc.md in OpenSIPS/opensips#4327 and in configuration.md.

- troubleshooting/outofmem: -m/-M accept k/m/g from 4.1; new "Let the pool
  grow" subsection for HG_MALLOC's elastic INIT:CAP arenas, LimitMEMLOCK,
  hg_advise and the grow-blocked statistics.
- troubleshooting/increasemem: short pointer to elastic arenas.
- migration 4.0 -> 4.1: -m/-M forms and the opt-in HG_MALLOC parameters
  (no action needed for existing setups).

Documents OpenSIPS/opensips#4327.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant