summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordas <das@FreeBSD.org>2004-06-13 22:19:29 +0000
committerdas <das@FreeBSD.org>2004-06-13 22:19:29 +0000
commitc0ccc29a8f4e7ed802e563b756992c0cb47cef41 (patch)
tree14a9ffe76c94d05e1b1309b18fc96e963c5cff92
parent79f173407b910b6c69b494b755180b392efc5526 (diff)
downloadFreeBSD-src-c0ccc29a8f4e7ed802e563b756992c0cb47cef41.zip
FreeBSD-src-c0ccc29a8f4e7ed802e563b756992c0cb47cef41.tar.gz
Document RLIMIT_AS. While here, correct an insertion sort error.
-rw-r--r--lib/libc/sys/getrlimit.213
1 files changed, 8 insertions, 5 deletions
diff --git a/lib/libc/sys/getrlimit.2 b/lib/libc/sys/getrlimit.2
index ce0fcd0..0712244 100644
--- a/lib/libc/sys/getrlimit.2
+++ b/lib/libc/sys/getrlimit.2
@@ -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
OpenPOWER on IntegriCloud