Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 12 Jan 2001 22:01:03 +1030
From:      Matthew Thyer <thyerm@camtech.net.au>
To:        Sheldon Hearn <sheldonh@uunet.co.za>
Cc:        Edwin Culp <eculp@encontacto.net>, current@freebsd.org
Subject:   Re: /boot/kernel/kernel: swap_pager_getswapspace: failed
Message-ID:  <3A5EEAF7.E337C28E@camtech.net.au>
References:  <6360.979224080@axl.fw.uunet.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
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




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