Date: Wed, 30 Jun 2004 03:35:07 +0200 From: Ronald Klop <ronald-freebsd7@klop.yi.org> To: Doug White <dwhite@gumbysoft.com> Cc: current@freebsd.org Subject: Re: panic: kmem_malloc; Should I increase some setting? Message-ID: <opsadv0teym97yfk@outgoing.local> In-Reply-To: <20040629182027.I54069@carver.gumbysoft.com> References: <opsadr3evnm97yfk@outgoing.local> <20040629182027.I54069@carver.gumbysoft.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tue, 29 Jun 2004 18:22:57 -0700 (PDT), Doug White <dwhite@gumbysoft.com> wrote: > On Wed, 30 Jun 2004, Ronald Klop wrote: > >> I get the following panics while untarring a 30MB archive on an md >> device >> create with: >> tmpmfs="YES" >> tmpsize="256m" > > This is a malloc-backed md disk, which consumes memory directly from KVM. > If you do a large extraction it will consume all of KVM and cause your > panic. Unless you're running diskless and this is your only option > besides NFS, either don't use tmpmfs or avoid extracting large amounts of > data to /tmp. Thanks, I read this a few moments ago in the manual page. Isn't there a way to prevent or warn people when they create a malloc backed disk that is larger than KVM? I think a panic isn't very user friendly and it took me quite some time to figure this out. Ronald. -- Ronald Klop Amsterdam, The Netherlands
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?opsadv0teym97yfk>