RE: net-snmp-5.4.2.1 snmpd cpu usage 100%

"Mike Ayers" <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <83E753BE7B6A324ABB336245BAF1DAAC0D767FC9@mailserver.metatv-ds.metatv.com>
> From: bheemesh v [mailto:[email protected]]
> Sent: Friday, November 20, 2009 12:12 AM

> YES, CPU stays 100% for ever, i think your guess might be right. But as
> an observation when i had less than 2000 VLAN's this was not the case
> it is used to fluctuate between 10-40-100 but predominently 100%.

	Hmmmm...

	I once did some testing on performance of directories in the ext2 filesystem.  I found that directory operations - list, add a file, remove a file, etc.  were frisky up until about 1000 entries.  By 2000 entries there was a perceptible slowdown.  With 4000 entries in a directory, it took over a day just to remove all the files.  My conclusion was that the directory operations were iterating the entire directory list for each operation, leading to exponential performance degradation.  I saw the same problem adding routes, with the same thresholds.  If this is your issue, you will have problems no matter what, but heavy caching should help matters a little.  To test this, do an ls in the directory that holds all the vlans.


	HTH,

Mike

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
Net-snmp-users mailing list
[email protected]
Please see the following page to unsubscribe or change other options:
https://lists.sourceforge.net/lists/listinfo/net-snmp-users
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.