Message-id: <1366269383.84118.yahoomail...@web190602.mail.sg3.yahoo.com>
  From:       Simon K <k_simo...@yahoo.com>
  Subject:    net-snmp 5.6.1.1 problem
  Date:       Thu, 18 Apr 2013 15:16:23 +0800 (SGT)

  > Hi All ,
  > 
  > I am using HP-UX machine , i compiled and installed net-snmp version 
5.6.1.1 on my machine and after net-snmp installed CPU utilization is varying 
10-40%
  > 
  > Machine : HP-UX
  > Architecture : 11.23
  > 
  > Please help me to solve this problem , CPU utilization 10% to 40% after 
installing net-snmp software .
  > 
  > Thanks & Regards,


You mean the machine is kind of busy, right?


In my case the period of scan of interface table seems too short
because of using low-end cpu machine.

You can try to modify a value as below and build again.


--- net-snmp/agent/mibgroup/if-mib/ifTable/ifTable_data_access.h
+++ net-snmp/agent/mibgroup/if-mib/ifTable/ifTable_data_access.h
@@ -46,7 +46,7 @@
      * A 10 Mbps stream can wrap if*Octets in ~57 minutes.
      * At 100 Mbps it is ~5 minutes, and at 1 Gbps, ~34 seconds.
      */
-#define IFTABLE_CACHE_TIMEOUT   3
+#define IFTABLE_CACHE_TIMEOUT   30

 #define IFTABLE_REMOVE_MISSING_AFTER     (5 * 60) /* seconds */

Regards,

--
Kuroishi Mitsuo

------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Net-snmp-users mailing list
Net-snmp-users@lists.sourceforge.net
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users

Reply via email to