From owner-freebsd-current Fri Jan 12 3:29:32 2001 Delivered-To: freebsd-current@freebsd.org Received: from mta02.mail.mel.aone.net.au (mta02.mail.au.uu.net [203.2.192.82]) by hub.freebsd.org (Postfix) with ESMTP id C9A2E37B698 for ; Fri, 12 Jan 2001 03:29:08 -0800 (PST) Received: from camtech.net.au ([203.55.242.79]) by mta02.mail.mel.aone.net.au with ESMTP id <20010112112851.GGAU6914.mta02.mail.mel.aone.net.au@camtech.net.au>; Fri, 12 Jan 2001 22:28:51 +1100 Message-ID: <3A5EEAF7.E337C28E@camtech.net.au> Date: Fri, 12 Jan 2001 22:01:03 +1030 From: Matthew Thyer X-Mailer: Mozilla 4.76 [en] (X11; U; FreeBSD 5.0-CURRENT i386) X-Accept-Language: en MIME-Version: 1.0 To: Sheldon Hearn Cc: Edwin Culp , current@freebsd.org Subject: Re: /boot/kernel/kernel: swap_pager_getswapspace: failed References: <6360.979224080@axl.fw.uunet.co.za> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Sheldon Hearn wrote: > > On Fri, 12 Jan 2001 00:54:40 +1030, Matthew Thyer wrote: > > > > /boot/kernel/kernel: swap_pager_getswapspace: failed > > > > > > This seems to have started in the last week. > > > > > > > I saw the same problem until I stopped using mfs on /tmp. > > > > Stop using mfs for /tmp. > > Are you sure it's not just /tmp "filling up" swap? If it's just that, > all Edwin needs to do is limit the size of his MFS /tmp. I do this in > /etc/fstab: > > /dev/ad0s1b /tmp mfs rw,-s=245760 0 0 > > See the description of the -s option in mount_mfs(8). Well, limits are nice if you can predict your usage in advance. In my case I was using an unlimited mfs (as I have for years): /dev/ad0s2b /tmp mfs rw 0 0 I seem to remember some changes to mfs a while ago and (without checking cvsweb) I assume that's when this: -s size The size of the file system in sectors. This value defaults to the size of the raw partition specified in special (in other words, newfs will use the entire partition for the file system). became the default behaviour. This seems a bit of a pain. Is there anyway to go back (if I'm correct) to a dynamic swap user. I suppose I'm talking about a real tmpfs ? To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message