Troubleshooting kernel panic with zfs

Olav Gjerde olav at backupbay.com
Tue Sep 25 16:39:35 UTC 2018


On Sat, Sep 22, 2018 at 4:54 AM Shane Ambler <FreeBSD at shaneware.biz> wrote:
>
> On 21/9/18 10:34 pm, Mike Tancsa wrote:
> >
> > Given all the issues with memory pressure perhaps ARC is eating too
> > much, I would try artificially limiting it so it does not eat up too
> > much RAM.  We had a similar purposed server but with 32G RAM and I found
> > one day the system was randomly shooting processes to reclaim RAM
> >
> > eg
> > pid xxx (yyy), uid zzzz, was killed: out of swap space
> >
>
> I have seen these errors, for me they came when >90% ram is wired.
>
> This is something I reported in bug 229764. While ARC is wired, there is
> also a max_wired that limits other wired allocations, these two are
> independent and can total more than physical ram.
>
> max_wired defaults to 30% ram, so arc_max should be kept less than 70%
>
> I also had positive results applying review D7538
>
> --
> FreeBSD - the place to B...Storing Data
>
> Shane Ambler
>
> _______________________________________________
> freebsd-fs at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-fs
> To unsubscribe, send any mail to "freebsd-fs-unsubscribe at freebsd.org"

How large is your swap?
You can check it with the swapinfo command
https://www.freebsd.org/cgi/man.cgi?query=swapinfo&sektion=8

--
Kind Regards / Med Vennlig Hilsen

Olav Grønås Gjerde

BackupBay Gjerde
Asalvegen 19
4051 SOLA
Norway
Phone: +47 918 000 59


More information about the freebsd-fs mailing list