Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Jun 2002 08:07:50 -0500 (CDT)
From:      Wm Brian McCane <root@mccons.net>
To:        <current@freebsd.org>
Subject:   Re: memory/swapping problem
Message-ID:  <20020628080323.U91563-100000@fw.mccons.net>
In-Reply-To: <3D1C3DBD.10203@attbi.com>

next in thread | previous in thread | raw e-mail | index | archive | help

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020628080323.U91563-100000>