perf_memory_report
Monitors OpenSIPS shared-memory and per-process package-memory usage to detect out-of-memory errors and module leaks. Tracks shm for cross-process state and pkg for private memory, preventing silent call failures.
Instructions
Report OpenSIPS shared-memory and per-process package-memory usage.
shm is the pool OpenSIPS uses for cross-process state (dialogs,
usrloc, tm transactions). Running out triggers out of shm memory
errors that kill calls silently — this is the number to watch in
production. pkg is per-process private memory; a runaway module
leak shows up there first.
Tool call template
This tool declares no required parameters. Add optional parameters from the input schema as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {},
"name": "perf_memory_report"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||