Re: panic: kmem_malloc(16384): kmem_map too small: md-mounted /tmp filled up
- From: Alex Kozlov <spam@xxxxxxxxxxxxx>
- Date: Tue, 27 Feb 2007 22:53:51 +0200
On Tue, Feb 27, 2007 at 02:48:11PM -0500, Mikhail Teterin wrote:
On Tuesday 27 February 2007 11:41, Alex Kozlov wrote:Bad default.
= On Tue, Feb 27, 2007 at 10:59:08AM -0500, Mikhail Teterin wrote:
= > /tmp's space allocation (after reboot) is as follows:
= >
= > Filesystem 1K-blocks Used Avail Capacity Mounted on
= > /dev/md0 2026030 3552 1860396 0% /tmp
= >
= > Note, that it is supposed to hold 2Gb, but was filled up and paniced
= > holding about 300Mb... Probably, because it is created with ``-M''
= > by default -- but it is not supposed to panic anyway!
= You may want to set -o reserve option. Or better, switch to a swap backed
= md.
Yes, I switched to swap-backed md already. But the malloc-based variety is
currently the _default_ (see /etc/defaults/rc.conf)...
Anyway, you may wish to change tmpmfs_flags on something like that:
"-S -m0 -o async,nosymfollow,nosuid"
Creation of a 2Gb malloc-based md should've failed on a machine with 768Mb ofOnly if you set '-o reserve'. Memory for malloc-based md was allocated
RAM, shouldn't it have?
dynamically.
--
Adios
_______________________________________________
freebsd-stable@xxxxxxxxxxx mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@xxxxxxxxxxx"
- Follow-Ups:
- Re: panic: kmem_malloc(16384): kmem_map too small: md-mounted /tmp filled up
- From: Mikhail Teterin
- Re: panic: kmem_malloc(16384): kmem_map too small: md-mounted /tmp filled up
- Prev by Date: Re: PATCH: new acpi embedded controller I/O model
- Next by Date: Re: panic: kmem_malloc(16384): kmem_map too small: md-mounted /tmp filled up
- Previous by thread: Re: panic: kmem_malloc(16384): kmem_map too small: md-mounted /tmp filled up
- Next by thread: Re: panic: kmem_malloc(16384): kmem_map too small: md-mounted /tmp filled up
- Index(es):
Relevant Pages
|
|