Current-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Doc error - sysctl



> On 25. Jul 2022, at 16:30, Paul Goyette <paul%whooppee.com@localhost> 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 | paul%whooppee.com@localhost    |
> | Software Developer | 0786 F758 55DE 53BA 7731 | pgoyette%netbsd.org@localhost  |
> | & Network Engineer |                          | pgoyette99%gmail.com@localhost |
> +--------------------+--------------------------+----------------------+

--
J. Hannken-Illjes - hannken%mailbox.org@localhost

Attachment: signature.asc
Description: Message signed with OpenPGP



Home | Main Index | Thread Index | Old Index