mirror of
https://github.com/freebsd/freebsd-src
synced 2024-09-06 17:18:32 +00:00
Document RLIMIT_AS. While here, correct an insertion sort error.
This commit is contained in:
parent
07f5454078
commit
c294e3b58c
Notes:
svn2git
2020-12-20 02:59:44 +00:00
svn path=/head/; revision=130437
|
@ -32,7 +32,7 @@
|
|||
.\" @(#)getrlimit.2 8.1 (Berkeley) 6/4/93
|
||||
.\" $FreeBSD$
|
||||
.\"
|
||||
.Dd June 4, 1993
|
||||
.Dd June 13, 2004
|
||||
.Dt GETRLIMIT 2
|
||||
.Os
|
||||
.Sh NAME
|
||||
|
@ -61,6 +61,9 @@ The
|
|||
.Fa resource
|
||||
argument is one of the following:
|
||||
.Bl -tag -width RLIMIT_FSIZEAA
|
||||
.It Li RLIMIT_AS
|
||||
The maximum amount (in bytes) of virtual memory the process is
|
||||
allowed to map.
|
||||
.It Li RLIMIT_CORE
|
||||
The largest size (in bytes)
|
||||
.Xr core 5
|
||||
|
@ -90,14 +93,14 @@ grow.
|
|||
This imposes a limit on the amount of physical memory to be given to
|
||||
a process; if memory is tight, the system will prefer to take memory
|
||||
from processes that are exceeding their declared resident set size.
|
||||
.It Li RLIMIT_STACK
|
||||
The maximum size (in bytes) of the stack segment for a process;
|
||||
this defines how far a program's stack segment may be extended.
|
||||
Stack extension is performed automatically by the system.
|
||||
.It Li RLIMIT_SBSIZE
|
||||
The maximum size (in bytes) of socket buffer usage for this user.
|
||||
This limits the amount of network memory, and hence the amount of
|
||||
mbufs, that this user may hold at any time.
|
||||
.It Li RLIMIT_STACK
|
||||
The maximum size (in bytes) of the stack segment for a process;
|
||||
this defines how far a program's stack segment may be extended.
|
||||
Stack extension is performed automatically by the system.
|
||||
.El
|
||||
.Pp
|
||||
A resource limit is specified as a soft limit and a hard limit. When a
|
||||
|
|
Loading…
Reference in a new issue