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

bheemesh v <[email protected]>
Newsgroups gmane.network.net-snmp.user
Message-ID <[email protected]>
Hello,

"ls" does not take that long and is available as in /proc/net/dev of the
mips filesystem.

Now i have this problem specifically for large VLAN creations which would
mean large number of interface data and IP-data , my concern is specific to
these areas.
Bcos when no large VLAN's avaiab;e not much to update for IF-MIB and IP-MIB.
Excuse me if i am not making sense here, as i am a novice in net-snmp area.

But frankly when no large VLAN's are present snmpd process shows 0% on top
output.
But anythng above 1000 VLANS, this is shows 100%.

Let me know.

Thanks.
BR,
Bheemesh



On Sat, Nov 21, 2009 at 2:24 AM, Mike Ayers <[email protected]> wrote:

> > 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.