According to http://www.net-snmp.org/docs/CHANGES.html (PATCH 1879261) inactive memory should be treated as cached memory instead of used memory. Actually this does not happen in the current port for what every reason. My C knowledge is very little so feel free to improve/correct my patch. Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->sylvio Over to maintainer (via the GNATS Auto Assign Tool)
sylvio 2010-07-04 14:44:16 UTC FreeBSD ports repository Modified files: net-mgmt/net-snmp Makefile net-mgmt/net-snmp/files patch-memory_freebsd.c Log: - Fixed inactive memory should be treated as cached memory instead of used memory. - BUMP PORTREVISION PR: ports/148339 Submitted by: Helmut Schneider <jumper99@gmx.de> Feature safe: yes Revision Changes Path 1.185 +1 -1 ports/net-mgmt/net-snmp/Makefile 1.6 +11 -7 ports/net-mgmt/net-snmp/files/patch-memory_freebsd.c _______________________________________________ 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"
State Changed From-To: open->closed Committed. Thanks!
A commit references this bug: Author: zi Date: Fri Feb 20 14:52:03 UTC 2015 New revision: 379435 URL: https://svnweb.freebsd.org/changeset/ports/379435 Log: - Bring back lost patch to fix memory usage calculations - Bump PORTREVISION PR: 148339 Changes: head/net-mgmt/net-snmp/Makefile head/net-mgmt/net-snmp/files/patch-agent_mibgroup_hardware_memory_memory__freebsd.c