Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Jan 2005 01:43:48 -0800 (PST)
From:      Arne "Wörner" <arne_woerner@yahoo.com>
To:        Barath S <barath_yes@yahoo.com.sg>, FreeBsd-MailGrp <freebsd-fs@freebsd.org>
Subject:   Re: using mfs of size > 64Mb and system stability
Message-ID:  <20050107094348.42610.qmail@web41201.mail.yahoo.com>
In-Reply-To: <20050107093029.43306.qmail@web30306.mail.mud.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
--- Barath S <barath_yes@yahoo.com.sg> wrote:
> My intention is create a file system in memory of size
> > 128Mb and use that for my application. But, I
> couldn't do that as my system hangs whenever I create
> a mfs of size > 64Mb. I did the following...
> 
> a) Configured memory file system of size 128Mb using
> 'mdmfs' command with 'malloc' option. When I tried to
> copy files to this mfs, m/c hanged after copying some
> files. 
> b) Then I rebooted by m/c and configured memory file
> system of size 64Mb and this time the copying
> operation was successful
> c) I observed that the system hanged whenever I
> configure a mfs of size > 64Mb and used that mfs
> 
> a) Can someone provide me hints on what could be the
> problem ?
>  
I use R5.3. According to the man page mdconfig(8) a md of type
malloc should use "-o reserve", if it is large and to be "filled"
(I think the man page means "filled quickly"):
  "If the -o reserve option is not set, creating and filling
   a large malloc-backed memory disk is a very easy way to
   panic a system."

Maybe that helps?

Did you try type "swap"?

-Arne



		
__________________________________ 
Do you Yahoo!? 
The all-new My Yahoo! - Get yours free! 
http://my.yahoo.com 
 



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