Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Aug 1995 17:43:52 +0100 (BST)
From:      Doug Rabson <dfr@render.com>
To:        Marcus.John@wiesbaden.netsurf.de
Cc:        freebsd-bugs@freebsd.org
Subject:   Re: Diskless swapping panics->reboots
Message-ID:  <Pine.BSF.3.91.950829174245.1192Q-100000@minnow.render.com>
In-Reply-To: <m0smIhG-0001IiC@vistec.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 26 Aug 1995 Marcus.John@wiesbaden.netsurf.de wrote:

> Hi Doug,
> 
> last week I got a grip on a HP E35 running HP-UX 9.04 (A configuration that is
> proposed accroding to the FreeBSD-Handbook), but the problem is still the same.
> 
> When FreeBSD runs low on memory (vmstat reports ~ 100...150) it simply reboots.
> 
> Further investigatin with a new kernel, built with config -g and an additional 
> savcore setting, showed up that there is *NO* panic, it simply dies quick.
> 
> After the reboot you still see ~69k of junk data in the swapfile on the 
> NFS-Server.
> 
> Perhaps this will give you, or anybody else, some more clues for this bug.
> 
> Thanks
> 

I just saw this on Usenet:

From: graichen@sirius.physik.fu-berlin.de (Thomas Graichen)
Newsgroups: comp.unix.bsd.freebsd.misc
Subject: Re: FreeBSD diskless

Thomas Graichen (graichen@sirius.physik.fu-berlin.de) wrote:
: hello

: has anybody set up a (or some ...) FreeBSD machines diskless - with root
: _and_ swap via nfs - i've got it working so far very good - but only with
: local swap - if i try to use swapping over nfs the system comes up ok - but
: short after it starts swapping many processes die on signals 11 and
: sometimes 6 and the machine hangs - are there any tricks i don't know ?

: thanks in advance - t

: p.s.: it's FreeBSD 2.0.5-RELEASE

i've now solved the problem - simply use dd if=/dev/zero of=swapfile bs=...
count=... for craeting the swapfile and not touch like said in the Diskless
FAQ - and it seems that the size of that file must be exactly the size of
the swapsize parameter in cfg.X.X.X.X


--
Doug Rabson, Microsoft RenderMorphics Ltd.	Mail:  dfr@render.com
						Phone: +44 171 251 4411
						FAX:   +44 171 251 0939




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.950829174245.1192Q-100000>