Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 25 Jun 1996 10:20:07 +0200 (SAT)
From:      John Hay <jhay@mikom.csir.co.za>
To:        davidg@root.com
Cc:        stable@FreeBSD.org
Subject:   Re: lockups.
Message-ID:  <199606250820.KAA15124@zibbi.mikom.csir.co.za>
In-Reply-To: <199606250712.AAA03836@root.com> from David Greenman at "Jun 25, 96 00:12:09 am"

next in thread | previous in thread | raw e-mail | index | archive | help
> >> And the (swap) disk(s) are busy no end?  thats what i got this weekend
> >> having just updated the kernel...  then yesterday i looked what actually
> >> had changed (not that much), and this is what i'm running now:
> >> 
> >> Index: src/sys/vm/vm_pageout.c
> >[ patch deleted ]
> >
> >I also got this heavy swapping with a -stable kernel built on Saturday.
> >It got so bad that we could not work anymore and I had to revert to an
> >old kernel.
> 
>    Other than consistency checks, the only change that has been made to the
> pageout daemon was last Wednesday when the RSS limiting code was #if 0'd.
> The code shouldn't have come into play on most systems (since the default
> limit is 1/2 of all memory). The problem is that it might not be safe due to
> the recursive calling nature of the functions that do the trimming and because
> it walks through the 'allproc' list in a potentially dangerous manner.
>    You could try to enable it and see if this is the "night and day"
> difference that you're describing. Change the #if 0 to a #if 1 at the end of
> /sys/vm/vm_pageout.c.
> 

I will try it out tonight. The people working on the machine won't allow me
to reboot it during the day. The previous kernel (which are running now) is
quite old it is from 4 May.

A bit background on the machine. It is a 90MHz Pentium with 32MB RAM and
196MB swap spread over 3 SCSI disks hooked to a NCR controller. When "busy"
there is about 32 logins and about 64MB swap used.
 
John
-- 
John Hay -- John.Hay@mikom.csir.co.za



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