Date: Thu, 23 Aug 2012 12:57:54 +0100 From: RW <rwmaillists@googlemail.com> To: freebsd-questions@freebsd.org Subject: Re: /tmp filesystem full Message-ID: <20120823125754.53f9f545@gumby.homeunix.com> In-Reply-To: <CAHu1Y72OdQqxEeehj_ST1pCa4_3QPiT3PqNej4m-psn22bEu2w@mail.gmail.com> References: <201208221934.q7MJYfwM063804@mail.r-bonomi.com> <1345664911.2501.8.camel@z6000.lenzicasa> <CAHu1Y72xwNevgKQ8eVYYOzGC80-511DtDe8kJMWbYJm5Tq28CA@mail.gmail.com> <20120822232112.07ac3517@gumby.homeunix.com> <20120822232907.34fc82fc@gumby.homeunix.com> <CAHu1Y71Y_cxv_qgQaMmzdx5kZHtXGuLGaxx9QQAE8QBWGL3fUA@mail.gmail.com> <20120823031754.0b52bed6@gumby.homeunix.com> <CAHu1Y72OdQqxEeehj_ST1pCa4_3QPiT3PqNej4m-psn22bEu2w@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 22 Aug 2012 21:24:47 -0700 Michael Sierchio wrote: > On Wed, Aug 22, 2012 at 7:17 PM, RW <rwmaillists@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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120823125754.53f9f545>