From owner-freebsd-questions@FreeBSD.ORG Wed Nov 7 17:37:05 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 9D13C16A41B for ; Wed, 7 Nov 2007 17:37:05 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from betty.computinginnovations.com (mail.computinginnovations.com [64.81.227.250]) by mx1.freebsd.org (Postfix) with ESMTP id 47C4913C48D for ; Wed, 7 Nov 2007 17:37:05 +0000 (UTC) (envelope-from derek@computinginnovations.com) Received: from p28.computinginnovations.com (dhcp-10-20-30-100.computinginnovations.com [10.20.30.100]) (authenticated bits=0) by betty.computinginnovations.com (8.13.8/8.13.8) with ESMTP id lA7Halq1005202; Wed, 7 Nov 2007 11:36:48 -0600 (CST) (envelope-from derek@computinginnovations.com) Message-Id: <6.0.0.22.2.20071107113329.023a3410@mail.computinginnovations.com> X-Sender: derek@mail.computinginnovations.com X-Mailer: QUALCOMM Windows Eudora Version 6.0.0.22 Date: Wed, 07 Nov 2007 11:36:04 -0600 To: Mario Lobo , freebsd-questions@freebsd.org From: Derek Ragona In-Reply-To: <200711071426.44621.mario.lobo@ipad.com.br> References: <200711071139.55971.mario.lobo@ipad.com.br> <20071107152341.GA76731@owl.midgard.homeip.net> <200711071426.44621.mario.lobo@ipad.com.br> Mime-Version: 1.0 X-ComputingInnovations-MailScanner-Information: Please contact the ISP for more information X-ComputingInnovations-MailScanner: Found to be clean X-ComputingInnovations-MailScanner-From: derek@computinginnovations.com X-Spam-Status: No Content-Type: text/plain; charset="us-ascii"; format=flowed X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: Subject: Re: 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 17:37:05 -0000 At 11:26 AM 11/7/2007, Mario Lobo wrote: >On Wednesday 07 November 2007, Erik Trulsson wrote: > > On Wed, Nov 07, 2007 at 11:39:55AM -0300, Mario Lobo wrote: > > > 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? > > > > Yes, it is normal and nothing to worry about. > > > > > Does the '1915M Inact' means "zombie memory" (non-returned)? > > > > No. 'Inact[ive]', 'Cache' and 'Free' can all be considered free memory in > > slighly different states. > > There are differences between them that can be important in some > > circumstances, but if you are just trying to determine if you have a memory > > leak somewhere they can be lumped together, > > > > > Is there a manual garbage collector i could run? > > > > No. > > > > > What is your advise on what method I could use to precisely track down > > > what program(s) is(are) causing this? > > > > My advice is that you ignore it. It is nothing to worry about. > >Ok. Thanks Erik ! Pitty the majordomo cut out the .png file I sent. > > > I have seen memory "eaten up" by running anti-virus and mail scanning > > software particularly if you are not bouncing spam. I would check your > > spam handling. > > > > -Derek > >Derek, what exactly do you suggest that I should check in the spam handling >area ? I would look and see if you are getting a lot of spam to start deleting those emails. Often trying to reject or do more processing of them makes an infinite loop which can really drag a server down. -Derek -- This message has been scanned for viruses and dangerous content by MailScanner, and is believed to be clean. MailScanner thanks transtec Computers for their support.