RCTL.CONF(5)
π RCTL.CONF(5) π
okay so this is the manual page for rctl.conf β it lives in File Formats Manual, and honestly? underrated.
β¨ NAME β¨
rctl.conf β the resource limits database defaults, bestie. that's the whole vibe.
π DESCRIPTION π
so like, the /etc/rctl.conf file gets read in when the system goes into multi-user mode, and its whole job is to set the default contents of the RCTL database. main character energy, truly. π
and the way /etc/rctl.conf is formatted? it's literally in the format of the rctl(8) command, i.e.
subject:subject-id:resource:action=amount/per
comments are denoted by a # at the beginning of a line β yes bestie, that's the move. π«Ά but also!! comments can exist at the end of a line too, as seen in the EXAMPLES section below. iykyk.
π¦ FILES π¦
/etc/rctl.confβ initial settings forrctl(8). that's it, that's the file. π
πΈ EXAMPLES πΈ
so say you wanna limit the number of processes for users in login class "testing" β you'd use a rule like this:
# Resource limits for the "testing" class.
loginclass:testing:maxproc:deny=100/user # At most 100 processes per user
see how the comment sits right there at the end of the line? iconic. no cap. π₯
π§ SEE ALSO π§
β HISTORY β
the rctl.conf file appeared in FreeBSD 9.0. periodt. π
π and that's the page!! brought to you by Debian, dated October 6, 2023 β slay, go set some limits, bestie ππβ¨
π¦ where this page comes from
- freebsd 15.1: base 15.1
- nixpkgs unstable: source
- Copyright (c) 2011 Edward Tomasz Napierala
- Copyright (c) 1999 Chris Costello <chris@FreeBSD.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms