Date: Fri, 17 Feb 2017 16:21:53 +0000 From: Arthur Chance <freebsd@qeng-ho.org> To: Scott Bennett <bennett@sdf.org>, freebsd-questions@freebsd.org Subject: Re: pf can't get memory for tables Message-ID: <1cd15985-dcf5-673f-9517-63575c8fbf1e@qeng-ho.org> In-Reply-To: <201702170919.v1H9J45t015787@sdf.org> References: <201702170919.v1H9J45t015787@sdf.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 17/02/2017 09:19, Scott Bennett wrote: [much snippage] > After > puzzling over this turn of events on my screen for several seconds...aha! > The machine has only 4 GB of RAM, so a long while back I added > > vm.kmem_size_max=805306368 > > to /boot/loader.conf in order to limit the tendency at the time for ZFS to > take over everything with a growing ARC. Unfortunately, vm.kmem_size_max > is one of those tunables that can only be set at boot time, so I can't easily > experiment with increasing the value. If you want to control the ARC size, surely setting vfs.zfs.arc_max in /boot/loader.conf is more specific than vm.kmem_size_max? Unfortunately that's a boot time tunable as well. -- By June 1949, people had begun to realize that it was not so easy to get a program right as had at one time appeared. It was on one of my journeys between the EDSAC room and the punching equipment that the realization came over me with full force that a good part of the remainder of my life was going to be spent in finding errors in my own programs. -- Maurice Wilkes
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1cd15985-dcf5-673f-9517-63575c8fbf1e>