Module: kamailio Branch: master Commit: 0a149060aa4a1dfce119a4907a4bb2b334079127 URL: https://github.com/kamailio/kamailio/commit/0a149060aa4a1dfce119a4907a4bb2b3...
Author: Olle E. Johansson oej@edvina.net Committer: Olle E. Johansson oej@edvina.net Date: 2016-05-24T15:18:24+02:00
snmpstats Add improved explanation of memory usage
Issue #636
---
Modified: modules/snmpstats/README Modified: modules/snmpstats/doc/snmpstats_admin.xml
---
Diff: https://github.com/kamailio/kamailio/commit/0a149060aa4a1dfce119a4907a4bb2b3... Patch: https://github.com/kamailio/kamailio/commit/0a149060aa4a1dfce119a4907a4bb2b3...
---
diff --git a/modules/snmpstats/README b/modules/snmpstats/README index 12d2c31..dbc1e43 100644 --- a/modules/snmpstats/README +++ b/modules/snmpstats/README @@ -417,6 +417,12 @@ modparam("snmpstats", "snmpCommunity", "customCommunityString") parameter is set to 1. This will result in more memory usage and bigger exporter structure.
+ If you enable this setting and NOT use it (i.e. not check the SNMP + tables for registrations) an internal memory queue of usrloc changes + will keep growing in shared (core) memory. To release the queue memory, + run snmpwalk or use a monitoring tool to check the tables with regular + intervals. + Default value is "0" (don't export).
Example 1.8. Setting the export_registrar parameter diff --git a/modules/snmpstats/doc/snmpstats_admin.xml b/modules/snmpstats/doc/snmpstats_admin.xml index 71a7b61..6789a37 100644 --- a/modules/snmpstats/doc/snmpstats_admin.xml +++ b/modules/snmpstats/doc/snmpstats_admin.xml @@ -440,6 +440,13 @@ modparam("snmpstats", "snmpCommunity", "customCommunityString") this parameter is set to 1. This will result in more memory usage and bigger exporter structure. </para> + <para> + If you enable this setting and NOT use it (i.e. not check the SNMP tables + for registrations) an internal memory queue of usrloc changes will + keep growing in shared (core) memory. To release the queue memory, + run snmpwalk or use a monitoring tool to check the tables with + regular intervals. + </para>
<para> <emphasis>