summaryrefslogtreecommitdiff
path: root/static/freebsd/man5/rctl.conf.5 4.html
blob: 8e70342e0e9faee6fbe6e0dfaa57b54b6e53e8e0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
<table class="head">
  <tr>
    <td class="head-ltitle">RCTL.CONF(5)</td>
    <td class="head-vol">File Formats Manual</td>
    <td class="head-rtitle">RCTL.CONF(5)</td>
  </tr>
</table>
<div class="manual-text">
<section class="Sh">
<h1 class="Sh" id="NAME"><a class="permalink" href="#NAME">NAME</a></h1>
<p class="Pp"><code class="Nm">rctl.conf</code> &#x2014;
    <span class="Nd">resource limits database defaults</span></p>
</section>
<section class="Sh">
<h1 class="Sh" id="DESCRIPTION"><a class="permalink" href="#DESCRIPTION">DESCRIPTION</a></h1>
<p class="Pp">The <span class="Pa">/etc/rctl.conf</span> file is read in when
    the system goes into multi-user mode to set default contents of the RCTL
    database. The <span class="Pa">/etc/rctl.conf</span> is in the format of the
    <a class="Xr">rctl(8)</a> command, i.e.</p>
<div class="Bd Pp Bd-indent Li">
<pre>subject:subject-id:resource:action=amount/per</pre>
</div>
<p class="Pp">Comments are denoted by a &#x201C;#&#x201D; at the beginning of a
    line. Comments can also exist at the end of a line, as seen in the
    <a class="Sx" href="#EXAMPLES">EXAMPLES</a> section, below.</p>
</section>
<section class="Sh">
<h1 class="Sh" id="FILES"><a class="permalink" href="#FILES">FILES</a></h1>
<dl class="Bl-tag Bl-compact">
  <dt><span class="Pa">/etc/rctl.conf</span></dt>
  <dd>Initial settings for <a class="Xr">rctl(8)</a>.</dd>
</dl>
</section>
<section class="Sh">
<h1 class="Sh" id="EXAMPLES"><a class="permalink" href="#EXAMPLES">EXAMPLES</a></h1>
<p class="Pp">To limit the number of processes for users in login class
    &quot;testing&quot;, use a rule like</p>
<div class="Bd Pp Bd-indent Li">
<pre># Resource limits for the &quot;testing&quot; class.
loginclass:testing:maxproc:deny=100/user # At most 100 processes per user</pre>
</div>
</section>
<section class="Sh">
<h1 class="Sh" id="SEE_ALSO"><a class="permalink" href="#SEE_ALSO">SEE
  ALSO</a></h1>
<p class="Pp"><a class="Xr">rctl(8)</a></p>
</section>
<section class="Sh">
<h1 class="Sh" id="HISTORY"><a class="permalink" href="#HISTORY">HISTORY</a></h1>
<p class="Pp">The <code class="Nm">rctl.conf</code> file appeared in
    <span class="Ux">FreeBSD 9.0</span>.</p>
</section>
</div>
<table class="foot">
  <tr>
    <td class="foot-date">October 6, 2023</td>
    <td class="foot-os">FreeBSD 15.0</td>
  </tr>
</table>