From owner-freebsd-questions@FreeBSD.ORG Wed Nov 7 15:06:19 2007 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0110C16A46B for ; Wed, 7 Nov 2007 15:06:19 +0000 (UTC) (envelope-from mario.lobo@ipad.com.br) Received: from ipad.com.br (recife.ipad.com.br [200.249.204.129]) by mx1.freebsd.org (Postfix) with SMTP id 7EF6313C4D1 for ; Wed, 7 Nov 2007 15:06:15 +0000 (UTC) (envelope-from mario.lobo@ipad.com.br) Received: (qmail 25583 invoked by uid 79); 7 Nov 2007 14:39:14 -0000 Received: from 192.168.64.1 by recife.ipad.com.br (envelope-from , uid 1008) with qmail-scanner-1.25-st-qms (clamdscan: 0.92rc2/4688. spamassassin: 3.1.8. perlscan: 1.25-st-qms. Clear:RC:1(192.168.64.1):. Processed in 0.027353 secs); 07 Nov 2007 14:39:14 -0000 X-Antivirus-IPAD-Mail-From: mario.lobo@ipad.com.br via recife.ipad.com.br X-Antivirus-IPAD: 1.25-st-qms (Clear:RC:1(192.168.64.1):. Processed in 0.027353 secs Process 25575) Received: from unknown (HELO lobo.ipad.com.br) (mario.lobo@ipad.com.br@192.168.64.1) by ipad.com.br with SMTP; 7 Nov 2007 14:39:14 -0000 From: Mario Lobo Organization: IPAD To: freebsd-questions@freebsd.org Date: Wed, 7 Nov 2007 11:39:55 -0300 User-Agent: KMail/1.9.7 X-Face: "j9,S@~?m[/.]/lb=?utf-8?q?S=5D=2EI=0A=09ITlWP=3A-?=" MIME-Version: 1.0 Content-Type: Multipart/Mixed; boundary="Boundary-00=_74cMHRu49pwLB76" Message-Id: <200711071139.55971.mario.lobo@ipad.com.br> X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Memory problem X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 07 Nov 2007 15:06:19 -0000 --Boundary-00=_74cMHRu49pwLB76 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Content-Disposition: inline Hello; I'm running a qmailrocks install + DNS server here. Hosting 14 domains and their respective e-mail accounts. Everything seems to be working fine. The machine is: ------------------------------------------ FreeBSD 6.2-STABLE #0: Mon Sep 10 14:15:16 BRT 2007 CPU: Intel(R) Core(TM)2 CPU 6700 @ 2.66GHz (2669.94-MHz K8-class CPU) Origin = "GenuineIntel" Id = 0x6f6 Stepping = 6 Cores per package: 2 real memory = 3488481280 (3326 MB) avail memory = 3362598912 (3206 MB) FreeBSD/SMP: Multiprocessor System Detected: 2 CPUs cpu0 (BSP): APIC ID: 0 cpu1 (AP): APIC ID: 1 ------------------------------------------ When I turn the machine on/restart it, it starts off with around 2800 Mb free memory. I know that, in its course of work, a few of those processes do not properly return memory back to the system. The machine was last restarted exactly a week ago (last wednesday). Now 'top' shows me this: ------------------------------------------ last pid: 17204; load averages: 0.00, 0.04, 0.06 up 5+21:00:50 11:18:58 135 processes: 1 running, 132 sleeping, 2 zombie CPU states: 0.6% user, 0.0% nice, 0.4% system, 0.2% interrupt, 98.9% idle Mem: 379M Active, 1915M Inact, 256M Wired, 119M Cache, 214M Buf, 415M Free Swap: 5120M Total, 5120M Free ------------------------------------------ Here are my questions: Is this a "normal thing" to happen with memory in just one week? Does the '1915M Inact' means "zombie memory" (non-returned)? Is there a manual garbage collector i could run? What is your advise on what method I could use to precisely track down what program(s) is(are) causing this? I am attaching a png graphic of this. Thanks, -- ********************************************************** //| //| Mario Lobo // |// | http://www.ipad.com.br // // ||||||| FreeBSD since 2.2.8 - 100% Rwindows-free ********************************************************** --Boundary-00=_74cMHRu49pwLB76--