Bug 163069 - net-mgmt/net-snmp Memory Leak
Summary: net-mgmt/net-snmp Memory Leak
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Ryan Steinmetz
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-12-04 20:10 UTC by Ryan Frederick
Modified: 2011-12-07 23:00 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Ryan Frederick 2011-12-04 20:10:09 UTC
snmpd in net-mgmt/net-snmp version 5.7.1_* appears to contain a memory leak that steadily consumes all available memory and swap over the course of 12-18 hours before being killed.

How-To-Repeat: Allow snmpd to run normally (with queries by a network management system, OpenNMS in this case, at regular intervals).
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2011-12-04 20:10:18 UTC
Responsible Changed
From-To: freebsd-ports-bugs->zi

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2011-12-07 22:58:39 UTC
zi          2011-12-07 22:58:31 UTC

  FreeBSD ports repository

  Modified files:
    net-mgmt/net-snmp    Makefile 
    net-mgmt/net-snmp/files 
                            patch-agent-mibgroup-hardware-fsys-fsys_getfsstats.c 
  Added files:
    net-mgmt/net-snmp/files patch-agent__helpers__old_api.c 
                            patch-agent__mibgroup__host__data_access__swinst_apt.c 
                            patch-snmplib__snmp_api.c 
  Log:
  - Fix problem that was reintroduced with the upgrade to 5.7.1 [1]
  - Merge in upstream commits to resolve a handful of issues
    - 1421924b4852142192c5bb9e93ddbfed69e908fa [1]
    - 97172b311d20f4441c7a7e90092b59c1e0da99f7
    - 5fd26e4fa3e000ea9c81c38ab975b7946efe2157
    - cf82b894b2217c26edc6f1356351c932415604e2
  - Bump PORTREVISION
  
  PR:             ports/163069 [1]
  Reported by:    Ryan Frederick <ryanrfrederick@gmail.com> [1]
  Obtained from:  upstream repo
  Feature safe:   yes
  
  Revision  Changes    Path
  1.198     +1 -1      ports/net-mgmt/net-snmp/Makefile
  1.4       +8 -2      ports/net-mgmt/net-snmp/files/patch-agent-mibgroup-hardware-fsys-fsys_getfsstats.c
  1.1       +11 -0     ports/net-mgmt/net-snmp/files/patch-agent__helpers__old_api.c (new)
  1.1       +11 -0     ports/net-mgmt/net-snmp/files/patch-agent__mibgroup__host__data_access__swinst_apt.c (new)
  1.1       +23 -0     ports/net-mgmt/net-snmp/files/patch-snmplib__snmp_api.c (new)
_______________________________________________
cvs-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/cvs-all
To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
Comment 3 Ryan Steinmetz freebsd_committer freebsd_triage 2011-12-07 22:59:10 UTC
State Changed
From-To: open->closed

Resolved in 5.7.1_2.  Thanks for the report!