According to FAQ: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/misc.html#TOP-FREEMEM Inactive pages are a kind of cache memory. So count them as cache under UCD-SNMP mib's memory section. This makes monitoring software happy (like nagios's check_snmp_mem.pl). Port maintainer (kuriyama@FreeBSD.org) is cc'd. Generated with FreeBSD Port Tools 0.77
Responsible Changed From-To: freebsd-ports-bugs->kuriyama Over to maintainer
Tested this change against net-snmp net-snmp-5.3.2_1 on amd64. Works correctly on 64-bit system. (Patch is now obsolete with change from 5.3.1 to 5.3.2, but the change to memory_freebsd2.c works as advertised and seems to be very sensible.) ==ml -- Michael W. Lucas mwlucas@BlackHelicopters.org, mwlucas@FreeBSD.org http://www.BlackHelicopters.org/~mwlucas/ Now Shipping: "Absolute FreeBSD" -- http://www.AbsoluteFreeBSD.com On 5/4/2007, the TSA kept 3 pairs of my soiled undies "for security reasons."
kuriyama 2008-03-30 08:13:41 UTC FreeBSD ports repository Modified files: net-mgmt/net-snmp Makefile net-mgmt/net-snmp/files patch-configure.in Added files: net-mgmt/net-snmp/files patch-memory_freebsd2.c Log: - Remove unused dependency. - Remove unused message about WITH_INETADDRESS_HACK knob. - Count inactive memory as cache [1]. PR: ports/116437 [1] Submitted by: rafan [1] Revision Changes Path 1.152 +7 -9 ports/net-mgmt/net-snmp/Makefile 1.6 +0 -38 ports/net-mgmt/net-snmp/files/patch-configure.in 1.8 +11 -0 ports/net-mgmt/net-snmp/files/patch-memory_freebsd2.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"
State Changed From-To: open->closed Committed, thanks!