aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce M Simpson <bms@FreeBSD.org>2007-01-17 22:23:28 +0000
committerBruce M Simpson <bms@FreeBSD.org>2007-01-17 22:23:28 +0000
commit394c6ef282d19f6f8e7154c6ad04adc2550c3b5d (patch)
tree2b5416b33806c1837a97fc080e5bea4f6bed239f
parentf67af5c918c976a630c2a2c8c5b52eac0eb09fb4 (diff)
downloadsrc-394c6ef282d19f6f8e7154c6ad04adc2550c3b5d.tar.gz
src-394c6ef282d19f6f8e7154c6ad04adc2550c3b5d.zip
Document the loader tunables which control hard process memory limits.
Reviewed by: ru
Notes
Notes: svn path=/head/; revision=166076
-rw-r--r--share/man/man7/tuning.722
1 files changed, 21 insertions, 1 deletions
diff --git a/share/man/man7/tuning.7 b/share/man/man7/tuning.7
index 4b10d728a5ca..278195e0004f 100644
--- a/share/man/man7/tuning.7
+++ b/share/man/man7/tuning.7
@@ -23,7 +23,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd June 25, 2002
+.Dd January 17, 2007
.Dt TUNING 7
.Os
.Sh NAME
@@ -743,6 +743,26 @@ option
.Cd maxusers
instead.
.Pp
+The
+.Va kern.dfldsiz
+and
+.Va kern.dflssiz
+tunables set the default soft limits for process data and stack size
+respectively.
+Processes may increase these up to the hard limits by calling
+.Xr setrlimit 2 .
+The
+.Va kern.maxdsiz ,
+.Va kern.maxssiz ,
+and
+.Va kern.maxtsiz
+tunables set the hard limits for process data, stack, and text size
+respectively; processes may not exceed these limits.
+The
+.Va kern.sgrowsiz
+tunable controls how much the stack segment will grow when a process
+needs to allocate more stack.
+.Pp
.Va kern.ipc.nmbclusters
may be adjusted to increase the number of network mbufs the system is
willing to allocate.