Date: Wed, 08 Jun 2005 18:37:38 +0100 From: Alex Zbyslaw <xfb52@dial.pipex.com> To: Tony Shadwick <tshadwick@goinet.com> Cc: freebsd-questions@freebsd.org Subject: Re: 12TB GEOM stripe, newfs, then fsck: cannot alloc 768053748 bytes for blockmap Message-ID: <42A72CE2.2020303@dial.pipex.com> In-Reply-To: <20050608104357.O23064@mail.goinet.com> References: <42A717EB.8095.9574FF2F@localhost> <42A70833.806@dial.pipex.com> <20050608104357.O23064@mail.goinet.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Tony Shadwick wrote: > Did I just understand you right, or did you just say that the default > amount of RAM that FreeBSD allows in the kernel is 512MB without > throwing that switch at compile time???? > > Aw crap. If you're right, you just explained one of the grander > mysteries I'm experiencing with one of my boxes that keeps > experiencing symptoms of running out of RAM.... That's what comes of reading LINT (4.X) and NOTES (5.X) <smug> :-) It's the default amount of RAM that a single process is allowed to consume, assuming "limit datasize unlimited". It basically defines what unlimited means, as I understand it. Found it when running some tricky conversion jobs on large data files... Looks like you can fix it without recompiling though. See Dan Nelson's message... There's also a max for stack size and for the default. From NOTES # # Certain applications can grow to be larger than the 512M limit # that FreeBSD initially imposes. Below are some options to # allow that limit to grow to 1GB, and can be increased further # with changing the parameters. MAXDSIZ is the maximum that the # limit can be set to, and the DFLDSIZ is the default value for # the limit. MAXSSIZ is the maximum that the stack limit can be # set to. You might want to set the default lower than the max, # and explicitly set the maximum with a shell command for processes # that regularly exceed the limit like INND. # options MAXDSIZ=(1024UL*1024*1024) options MAXSSIZ=(256UL*1024*1024) options DFLDSIZ=(256UL*1024*1024) --Alex
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?42A72CE2.2020303>