Date: Mon, 14 Jun 2010 14:03:48 +0000 (UTC) From: "Helmut Schneider" <jumper99@gmx.de> To: freebsd-ports@freebsd.org Subject: Re: ports/133758 and net-snmp-5.5 - inactive memory stil not counted as free memory Message-ID: <xn0gvdpbr7g8nzd003@news.gmane.org> References: <a9a9f1ad843802e6f2c5edcfc9600988@10.16.255.155>
next in thread | previous in thread | raw e-mail | index | archive | help
Thomas Steen Rasmussen wrote: > I am experiencing what seems like the problem in > http://www.freebsd.org/cgi/query-pr.cgi?pr=133758 > > I have net-snmp-5.5 installed on FreeBSD 7.2 i386 and it returns this: > UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 189072 kB > UCD-SNMP-MIB::memTotalFree.0 = INTEGER: 273204 kB > > When this is what 'top' says: > Mem: 157M Active, 1467M Inact, 189M Wired, 8580K Cache, 112M Buf, 176M > Free IMHO ucd-snmp is completely foobar. See my PR: http://www.freebsd.org/cgi/query-pr.cgi?pr=147468 But see also: # snmpwalk -v2c -cpublic localhost .1.3.6.1.4.1.2021.4 UCD-SNMP-MIB::memIndex.0 = INTEGER: 0 UCD-SNMP-MIB::memErrorName.0 = STRING: swap UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 3583872 kB UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 3583872 kB UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 4179676 kB UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 1482980 kB UCD-SNMP-MIB::memTotalFree.0 = INTEGER: 1589660 kB UCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000 kB UCD-SNMP-MIB::memShared.0 = INTEGER: 133364 kB UCD-SNMP-MIB::memBuffer.0 = INTEGER: 427888 kB UCD-SNMP-MIB::memCached.0 = INTEGER: 180428864 kB UCD-SNMP-MIB::memSwapError.0 = INTEGER: noError(0) UCD-SNMP-MIB::memSwapErrorMsg.0 = STRING: # snmpwalk -v2c -cpublic localhost .1.3.6.1.4.1.2021.4 UCD-SNMP-MIB::memIndex.0 = INTEGER: 0 UCD-SNMP-MIB::memErrorName.0 = STRING: swap UCD-SNMP-MIB::memTotalSwap.0 = INTEGER: 3583872 kB UCD-SNMP-MIB::memAvailSwap.0 = INTEGER: 3583872 kB UCD-SNMP-MIB::memTotalReal.0 = INTEGER: 4179676 kB UCD-SNMP-MIB::memAvailReal.0 = INTEGER: 1317912 kB UCD-SNMP-MIB::memTotalFree.0 = INTEGER: 3260720 kB UCD-SNMP-MIB::memMinimumSwap.0 = INTEGER: 16000 kB UCD-SNMP-MIB::memShared.0 = INTEGER: 109740 kB UCD-SNMP-MIB::memBuffer.0 = INTEGER: 427888 kB UCD-SNMP-MIB::memCached.0 = INTEGER: 0 kB UCD-SNMP-MIB::memSwapError.0 = INTEGER: noError(0) UCD-SNMP-MIB::memSwapErrorMsg.0 = STRING: # Within one or two seconds memTotalFree changed from 1589660 kB to 3260720 kB. According to "top" ~1.5GB is the correct value. Same for memCached, flip-flopping from 180428864 kB(!!) to 0 kb within the same second. -- No Swen today, my love has gone away My mailbox stands for lorn, a symbol of the dawn
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?xn0gvdpbr7g8nzd003>