Re: Doc error - sysctl
On Mon, 25 Jul 2022, J. Hannken-Illjes wrote: On 25. Jul 2022, at 16:30, Paul Goyette wrote: It seems that kern.maxvnodes is dodcumented as "cannot be lowered" kern.maxvnodes (KERN_MAXVNODES) The maximum number of vnodes available on the system. This can only be raised. However, the kernel allows you to lower the value, and it helps if you want to flush file cache (free up active memory). Yes, it can be lowered and will fail if you try to go below the number of active vnodes. Please go ahead and fix the documentation. Done! ++--+--+ | Paul Goyette | PGP Key fingerprint: | E-mail addresses:| | (Retired) | FA29 0E3B 35AF E8AE 6651 | p...@whooppee.com| | Software Developer | 0786 F758 55DE 53BA 7731 | pgoye...@netbsd.org | | & Network Engineer | | pgoyett...@gmail.com | ++--+--+
Re: Doc error - sysctl
> On 25. Jul 2022, at 16:30, Paul Goyette wrote: > > It seems that kern.maxvnodes is dodcumented as "cannot be lowered" > > kern.maxvnodes (KERN_MAXVNODES) > The maximum number of vnodes available on the system. This can > only be raised. > > However, the kernel allows you to lower the value, and it helps if > you want to flush file cache (free up active memory). Yes, it can be lowered and will fail if you try to go below the number of active vnodes. Please go ahead and fix the documentation. > > > ++--+--+ > | Paul Goyette | PGP Key fingerprint: | E-mail addresses:| > | (Retired) | FA29 0E3B 35AF E8AE 6651 | p...@whooppee.com| > | Software Developer | 0786 F758 55DE 53BA 7731 | pgoye...@netbsd.org | > | & Network Engineer | | pgoyett...@gmail.com | > ++--+--+ -- J. Hannken-Illjes - hann...@mailbox.org signature.asc Description: Message signed with OpenPGP
Doc error - sysctl
It seems that kern.maxvnodes is dodcumented as "cannot be lowered" kern.maxvnodes (KERN_MAXVNODES) The maximum number of vnodes available on the system. This can only be raised. However, the kernel allows you to lower the value, and it helps if you want to flush file cache (free up active memory). ++--+--+ | Paul Goyette | PGP Key fingerprint: | E-mail addresses:| | (Retired) | FA29 0E3B 35AF E8AE 6651 | p...@whooppee.com| | Software Developer | 0786 F758 55DE 53BA 7731 | pgoye...@netbsd.org | | & Network Engineer | | pgoyett...@gmail.com | ++--+--+