From owner-freebsd-current Fri Jun 28 6: 8:29 2002 Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 01BB337B401 for ; Fri, 28 Jun 2002 06:08:12 -0700 (PDT) Received: from fw.mccons.net (adsl-65-64-105-41.dsl.kscymo.swbell.net [65.64.105.41]) by mx1.FreeBSD.org (Postfix) with ESMTP id B250C43E06 for ; Fri, 28 Jun 2002 06:08:10 -0700 (PDT) (envelope-from root@mccons.net) Received: (from root@localhost) by fw.mccons.net (8.11.3/8.11.4) id g5SD89G93238 for current@freebsd.org; Fri, 28 Jun 2002 08:08:09 -0500 (CDT) (envelope-from root@mccons.net) Received: from localhost (root@localhost) by fw.mccons.net (8.11.3/8.11.4av) with ESMTP id g5SD7qH93212 for ; Fri, 28 Jun 2002 08:07:53 -0500 (CDT) (envelope-from root@mccons.net) Date: Fri, 28 Jun 2002 08:07:50 -0500 (CDT) From: Wm Brian McCane To: Subject: Re: memory/swapping problem In-Reply-To: <3D1C3DBD.10203@attbi.com> Message-ID: <20020628080323.U91563-100000@fw.mccons.net> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-Virus-Scanned: by AMaViS perl-11 X-Razor-Spam-ID: 36165e16333890f6a418fe51f1938c58b87a31e5 Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG On Fri, 28 Jun 2002, Anthony Jenkins wrote: > > Wm Brian McCane wrote: > > >I am having a problem with a new server that I am setting up to host my > >UseNet news and email. > > > >Machine: > > 1.26GHz 512MB/L1 Cache > > 768MB PC133 Memory > > 4x60GB UDMA100 IDE Drives > > 4x36GB 160MBit SCSI Drives > > > >OS: 5.0-CURRENT (yes I know, but I have been CURRENT since 386bsd 0.1) > >Software: > > INN 2.3.3 > > Sendmail w/amavisd milter > > ipop3d > > > >This machine has been running for about 2 months on CURRENT with no > >problems, but I recently upgraded the CPU from an 866 to the new one. At > >that time, I also planned to replace the motherboard with a new Intel SAI2 > >dual processor board, add a 2nd processor and drop in 3x512MB ECC > >Registered DIMMs. So I built and installed a more current CURRENT and > >added SMP to the config for my kernel. The motherboard was defective, so > >I put back in the original board and memory chips, while I wait for the > >replacement board. The 2nd night after the build was done, I started > >having memory/swap/wired problems. I rebuilt the kernel for UP operation, > >but the problems have not gone away. > > > >Machine averages about 95% idle all day except during news expiration. > >For the first day, it averages around 45M wired. 'inn' process is about > >137MB RSS. During expiration there is an understandable spike in CPU and > >Swap activity. 'expire' process is about 259MB RSS. When the expiration > >completes there is about 254MB still wired. The second night it goes to > >500+MB wired and the system never finishes expiration before I get a call > >that email is down. I have actually gone out and killed every process > >running on the machine that I can (including inetd, syslogd, cron, sshd, > >sendmail and inn). The wired memory is never released until I reboot the > >machine. > > > The only issue that I've had that remotely resembles that involes CPU > usage, not memory. Assuming your statistics are from top(1), can you > try 'top -S' to display what system process resources are also? I'm > betting it's some system task, since your killing user processes has had > no effect. (btw my issue is the "irq10:" task seemingly locked in > *Giant state and sucking >50% the CPU/WCPU measure.) > > -- > Anthony Jenkins > Anthony, Tried this, nothing was showing huge memory consumption. I had to reboot the machine anyway, so while it was down I put in another 256MB of memory and manually ran the expire. No huge cpu/swap spike, and no increase in wired memory after the expire. Looks like the wired memory problem is tied to the swapping in some way, based on empirical data. - brian +-----------------------------------+------------------------------------------+ He rides a cycle of mighty days, and \ Wm Brian and Lori McCane represents the last great schizm among\ McCane Consulting the gods. Evil though he obviously is, \ root@bmccane.maxbaud.net he is a mighty figure, this father of \ http://bmccane.maxbaud.net/ my spirit, and I respect him as the sons \ http://www.sellit-here.com/ of old did the fathers of their bodies. \ http://recall.maxbaud.net/ Roger Zelazny - "Lord of Light" \ http://www.maxbaud.net/ +-------------------------------------------+----------------------------------+ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message