RCTL(4)

πŸ“¦ version 15.1, in freebsd 14.5, freebsd 15.1, nixpkgs unstable

πŸ’… RCTL(4) β€” the resource limits manual, but make it make sense

okay bestie, so this is rctl(4) β€” the resource limits page, section 4, kernel interfaces. yes it's a whole manual page about limits and yes i'm gonna make it iconic. let's go ✨


🌸 NAME 🌸

rctl β€” resource limits. literally that's it, that's the whole vibe: resource limits. πŸŽ€


πŸ¦‹ SYNOPSIS πŸ¦‹

so to compile this driver into the kernel, you gotta place the following line in the kernel configuration file:

options RACCT
options RCTL

two lines, both required, no cap. put them in your kernel config and you're slaying. πŸ’…


✨ DESCRIPTION ✨

okay so the rctl subsystem is this super flexible resource limits mechanism, right? it's controlled by a set of rules, and those rules can be added or removed at runtime using the rctl(8) management utility. runtime changes, bestie β€” no reboots, no drama, we love a live-edit moment. 🫢


⭐ LOADER TUNABLES ⭐

these tunables can be set at the loader(8) prompt, or in loader.conf(5). pick your fighter. πŸ”₯

  • kern.racct.enable: 1 β€” enables rctl. this defaults to 1, unless options RACCT_DEFAULT_TO_DISABLED is set in the kernel configuration file. so it's on by default… until you tell it not to be. main character behaviour honestly. πŸ‘‘

🌈 SEE ALSO 🌈

go read those too, i'm not doing all the work for you πŸ’–


🌸 HISTORY 🌸

the rctl subsystem first appeared in FreeBSD 9.0. a legend was born, periodt. πŸŽ€


πŸ’œ AUTHORS πŸ’œ

the rctl subsystem was developed by Edward Tomasz Napierala <trasz@FreeBSD.org> under sponsorship from the FreeBSD Foundation. king behaviour, fr fr β€” sponsorship and everything. πŸ‘‘βœ¨


and that's the page, bestie! πŸ¦‹ this one's from Debian, dated May 28, 2017, filed under RCTL(4) β€” go forth and limit your resources responsibly πŸ’…πŸŽ€

πŸ“¦ where this page comes from