Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 2004 14:08:48 +0000
From:      Colin Percival <colin.percival@wadham.ox.ac.uk>
To:        Chris Elsworth <chris@shagged.org>
Cc:        freebsd-current@freebsd.org
Subject:   Re: mdconfig unable to allocate memory
Message-ID:  <6.0.1.1.1.20040227140137.03e01818@imap.sfu.ca>
In-Reply-To: <20040227135836.GA52534@shagged.org>
References:  <20040227101410.GA45369@shagged.org> <xzpwu68d4xy.fsf@dwp.des.no> <20040227135836.GA52534@shagged.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 13:58 27/02/2004, Chris Elsworth wrote:
>Thanks for the reply. Is creating 1GB of non-pageable memory not
>possible then? Even if I explicitly give the kernel far more than that
>to play with?

   It is possible.  It isn't a good idea, but it is possible.

>...
>So, in short, is there any rule of thumb to follow when tweaking these
>settings?

   Yes, several:
1. Don't do it.
2. Pray.
3. Don't do it.
4. If you absolutely must do it, make sure you have a serial console
connected.
5. Don't do it.

>  It's a bit worrying that an out of the box 5.2.1 managed to
>crash at all.

   The fact that running out of kernel address space can cause
problems is quite well documented.

   Why do you want to have a GB malloc-backed disk anyway?

Colin Percival




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