panic: kmem_malloc(16384): kmem_map too small: md-mounted /tmp filled up

Kris Kennaway kris at obsecurity.org
Mon Mar 5 03:59:47 UTC 2007


On Sun, Mar 04, 2007 at 10:59:46AM +0300, Yar Tikhiy wrote:
> On Tue, Feb 27, 2007 at 04:03:30PM -0500, Mikhail Teterin wrote:
> > On Tuesday 27 February 2007 15:53, Alex Kozlov wrote:
> > = > Yes, I switched to swap-backed md already. But the malloc-based variety is 
> > = > currently the _default_ (see /etc/defaults/rc.conf)...
> > = Bad default.
> > 
> > Filing a PR.
> 
> Keep in mind that changing the default can break existing setups.
> Such setups are likely to be broken anyway, but...  E.g., if we
> drop the -M flag, it will break systems with tons of RAM but little
> swap using tmpmfs.

How will it break them?  swap backing only touches swap if there is
memory pressure, i.e. precisely the situation in which malloc backing
will panic.

Kris
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-stable/attachments/20070305/16271023/attachment.pgp


More information about the freebsd-stable mailing list