Browse Source

snmpstats Add improved explanation of memory usage

Issue #636
Olle E. Johansson 9 năm trước cách đây
mục cha
commit
0a149060aa
2 tập tin đã thay đổi với 13 bổ sung0 xóa
  1. 6 0
      modules/snmpstats/README
  2. 7 0
      modules/snmpstats/doc/snmpstats_admin.xml

+ 6 - 0
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

+ 7 - 0
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>