RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 1437508 - bad performance of snmpd while walk-through ipv6IfDescr if interface index too large
Summary: bad performance of snmpd while walk-through ipv6IfDescr if interface index to...
Keywords:
Status: CLOSED DUPLICATE of bug 1411290
Alias: None
Product: Red Hat Enterprise Linux 7
Classification: Red Hat
Component: net-snmp
Version: 7.3
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: rc
: ---
Assignee: Josef Ridky
QA Contact: BaseOS QE - Apps
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-03-30 12:48 UTC by Karel Srot
Modified: 2019-01-10 12:08 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1411306
Environment:
Last Closed: 2019-01-10 12:08:04 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Karel Srot 2017-03-30 12:48:49 UTC
I am observing the same behaviour on RHEL-7 with
  net-snmp-5.7.2-24.el7_2.1

+++ This bug was initially created as a clone of Bug #1411306 +++

Description of problem:
This bug is revealed bz fixing bz1396337.
snmpd eatch too much CPU and RAM while processing ipv6IfDescr part of the tree if interface index is too large. It eats more resources as index is larger. This leads to timeout snmpwalk request, the timeout needs to be extend to get the data.

I also get core-dumps at some point, see attachment.

Version-Release number of selected component (if applicable):
net-snmp-5.5-60.el6

How reproducible:
100%

Steps to Reproduce:
1. set manage ifindex to be big enough, e.g. 268435448
2. start snmpd
3. issue snmpbulkwalk -t 15 localhost ipv6IfDescr

Actual results:
snmpbulkwalk times out and snmpd eats up system resources and coredumps

Expected results:
snmpd behaves nicely to system resources and snmpbulkwalk gets all the data

Additional info:

Comment 1 Josef Ridky 2019-01-10 12:08:04 UTC

*** This bug has been marked as a duplicate of bug 1411290 ***


Note You need to log in before you can comment on or make changes to this bug.