Re: 7-BETA3 everyday reboot

From: Michael Haro <mharo_at_freebsd.org>
Date: Mon, 10 Dec 2007 13:06:39 -0800
On 12/10/07, Alexandre Biancalana <biancalana_at_gmail.com> wrote:
>
> On 12/10/07, Michael Haro <mharo_at_freebsd.org> wrote:
> >
> >
> >
> > On 12/10/07, Alexandre Biancalana <biancalana_at_gmail.com> wrote:
> > > On 12/7/07, Michael Haro <mharo_at_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
Received on Mon Dec 10 2007 - 20:06:42 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:39:23 UTC