rctl.conf(5)

rctl.conf5

Resource limits database defaults

Overview

The /etc/rctl.conf file is read in when the system goes into multi-user mode to set default contents of the RCTL database. The /etc/rctl.conf is 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. Comments can also exist at the end of a line, as seen in the EXAMPLES section, below.

Files

/etc/rctl.conf

Initial settings for rctl(8).

Examples

To limit the number of processes for users in login class "testing", use a rule like

# Resource limits for the "testing" class.
loginclass:testing:maxproc:deny=100/user # At most 100 processes per user

Releases

34 releases since FreeBSD 9.0-RELEASE; the text changed 21 times.

  1. 9.0
  2. 9.1
  3. 9.2
  4. 9.3
  5. 10.0
  6. 10.1
  7. 10.2
  8. 10.3
  9. 10.4
  10. 11.0
  11. 11.1
  12. 11.2
  13. 11.3
  14. 11.4
  15. 12.0
  16. 12.1
  17. 12.2
  18. 12.3
  19. 12.4
  20. 13.0–13.2
  21. 13.3–14.5
  22. 15.0–16.0

History

The rctl.conf file appeared in FreeBSD 9.0.

From base 16.0-CURRENT-20261027-61c70dc16a79 in FreeBSD 16.0-CURRENT (2026-10-27). Parsed by carta from the page's mdoc source.