Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 09 Nov 2004 23:34:05 +0100
From:      Ronald Klop <ronald-freebsd8@klop.yi.org>
To:        ls+lists.freebsd.org.mailman.listinfo.freebsd-stable93930659@gambit.com.ru, freebsd-stable@freebsd.org
Subject:   Re: 5.3: tmpmfs="YES": panic: kmem_malloc(4096): kmem_map toosmall: 63737856 total allocated
Message-ID:  <opsg7ya3jo8527sy@smtp.local>
In-Reply-To: <20041109083810.GJ58031@gambit.com.ru>
References:  <20041105110830.GP58031@gambit.com.ru> <20041105215427.GA33096@xor.obsecurity.org> <20041109083810.GJ58031@gambit.com.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 9 Nov 2004 11:38:10 +0300,  
<ls+lists.freebsd.org.mailman.listinfo.freebsd-stable93930659@gambit.com.ru>  
wrote:

>>> This host has 192 MB of RAM and 512 MB of swap.
>>> +	/sbin/mdmfs -i 4096 -s $1    md $2
>
> 5 ноября 2004 г. в 13:54 -0800, Kris Kennaway пишет:
>> See the manpage. You don't have enough RAM in your system to do that.
>
> A bug in manpage? "By default, mdmfs creates a swap-based (MD_SWAP)  
> disk".
>
> I'm running mdmfs WITHOUT "-M" flag.

I didn't see the complete thread, so maybe I'm missing some context.

Just set up your tmp from fstab with something like this.

md	/tmp	mfs	rw,-s64m	0	0

If you look at the code which handles tmpmfs it is used for diskless  
booting. So there is no swap usable for ramdisk.

Ronald.

-- 
  Ronald Klop, Amsterdam, The Netherlands



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