From owner-freebsd-ports@FreeBSD.ORG Mon Jul 5 14:03:55 2010 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9AD08106566B for ; Mon, 5 Jul 2010 14:03:55 +0000 (UTC) (envelope-from freebsd-ports@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 562F78FC0A for ; Mon, 5 Jul 2010 14:03:55 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1OVmH1-0002KZ-Vd for freebsd-ports@freebsd.org; Mon, 05 Jul 2010 16:03:51 +0200 Received: from 91.205.197.96 ([91.205.197.96]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Jul 2010 16:03:51 +0200 Received: from jumper99 by 91.205.197.96 with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 05 Jul 2010 16:03:51 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-ports@freebsd.org From: "Helmut Schneider" Date: Mon, 5 Jul 2010 14:03:37 +0000 (UTC) Lines: 25 Message-ID: References: Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: 91.205.197.96 User-Agent: XanaNews/1.19.1.269 X-Ref: news.gmane.org ~XNS:00000059 Subject: Re: ports/133758 and net-snmp-5.5 - inactive memory stil not counted as free memory X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 05 Jul 2010 14:03:55 -0000 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 > > Clearly the "Inact" isn't counted as free memory which is causing my > monitoring to throw alerts when there is actually lots of "free" > memory left (where free=free+inact). net-snmp now reports inactive memory as cache memory (actually inactive memory is not free memory). Please check. Helmut -- No Swen today, my love has gone away My mailbox stands for lorn, a symbol of the dawn