/tmp filesystem full

RW rwmaillists at googlemail.com
Thu Aug 23 11:58:05 UTC 2012


On Wed, 22 Aug 2012 21:24:47 -0700
Michael Sierchio wrote:

> On Wed, Aug 22, 2012 at 7:17 PM, RW <rwmaillists at googlemail.com>
> wrote:
> 
> >  tmpfs and "swap" md devices don't actually need swap. I don't seen
> > any advantage in your way of creating an md device for /tmp.
> 
> Then you don't understand. ;-)  The advantage of my approach is
> avoiding a kernel panic when writing to the tmpfs 

md device

> when you haven't
> pre-allocated all the filesystem space at creation time.  If that
> happens to matter to you...

It's the other way around, "malloc" md devices can cause kernel
panics.  "swap" md device use ordinary VM memory. If you set the limit
too high without swap you can slow performance, but it shouldn't
cause a kernel panic.

The default of 2MB isn't going to make a significant difference on any
normal install.


More information about the freebsd-questions mailing list