Date: Mon, 10 Dec 2007 13:06:39 -0800 From: "Michael Haro" <mharo@freebsd.org> To: "Alexandre Biancalana" <biancalana@gmail.com> Cc: freebsd-current@freebsd.org, Benjamin Close <Benjamin.Close@clearchain.com> Subject: Re: 7-BETA3 everyday reboot Message-ID: <dbc12cb30712101306h68d989edq82681139ac5df8ec@mail.gmail.com> In-Reply-To: <8e10486b0712100951m85f0278neb73ac4277779ba4@mail.gmail.com> References: <8e10486b0711280537n222d6cd5le33639b82a11f45@mail.gmail.com> <8e10486b0711300247q4438235ata70ca42030871286@mail.gmail.com> <20071130124801.74c40ef9@peedub.jennejohn.org> <8e10486b0712040521u5c7015b8h86d0da5554162898@mail.gmail.com> <47556554.3010505@clearchain.com> <8e10486b0712040719ydcf32e0mbe690c3f18968691@mail.gmail.com> <dbc12cb30712070036k3a83f7c7nf429ae818f72e073@mail.gmail.com> <8e10486b0712100523k45c61865v7821d0522ad5f994@mail.gmail.com> <dbc12cb30712100906y701c6c32p7d79f2db8f78f0a4@mail.gmail.com> <8e10486b0712100951m85f0278neb73ac4277779ba4@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/10/07, Alexandre Biancalana <biancalana@gmail.com> wrote: > > On 12/10/07, Michael Haro <mharo@freebsd.org> wrote: > > > > > > > > On 12/10/07, Alexandre Biancalana <biancalana@gmail.com> wrote: > > > On 12/7/07, Michael Haro <mharo@freebsd.org> wrote: > > > > > > > > > > > > > > I have found that turning off zil and prefetch seem to keep > things > > > > > > happier on one of the heavily loaded servers that I look after. > > > > > > It also appears to prevent a deadlock under very heavy load - > > something > > > > > > I've not yet had time to debug. > > > > > > Try adding: > > > > > > > > > > > > vfs.zfs.zil_disable=1 > > > > > > vfs.zfs.prefetch_disable="1" > > > > > > > > > > > > to /boot/loader.conf > > > > > > > > > > > > and let us know if it makes a difference. > > > > > > > > > > Added now only > > > > > > > > > > vfs.zfs.prefetch_disable="1" > > > > > > > > > > > > > > > I let you know the result. > > > > > > > > Is the result promising? > > > > > > > > > > > Yes ! The machine does not reboot anymore ! > > > > What combination of settings did you have to do to make it stable? I > tried > > setting vfs.zfs.prefetch_disable="1' in loader.conf and my machine still > > panics within 20 minutes during (I think) large file transfers. > > > > > Here is my /boot/loader.conf: > > kern.maxdsiz="2G" # Set the max data size to 4GB > kern.maxssiz="1G" # Set the max stack size 2GB > > vfs.zfs.prefetch_disable="1" > vfs.zfs.arc_max="1G" > > vm.kmem_size_max="1500M" > vm.kmem_size="1500M" > > kern.ipc.nmbclusters="32768" > I only have 1G of RAM. Any ideas what good values would be? Right now I have vm.kmem_size and kmem_size_max set to 512M as the wiki recommended and vfs.zfs.prefetch_disable="1" with everything else at their defaults and I can easily panic the kernel. I'm using i386 with a RELENG_7 kernel as of yesterday. Does this match what you're using? I wonder if that makes a difference. Thanks
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?dbc12cb30712101306h68d989edq82681139ac5df8ec>