diff options
author | bms <bms@FreeBSD.org> | 2007-01-17 22:23:28 +0000 |
---|---|---|
committer | bms <bms@FreeBSD.org> | 2007-01-17 22:23:28 +0000 |
commit | 11d2ccc2ce92362e29a53d7ab9441f7dd3b289da (patch) | |
tree | 2b5416b33806c1837a97fc080e5bea4f6bed239f /share/man/man7 | |
parent | 9856d14ea172cf7e0e7726ab8c4216943f433461 (diff) | |
download | FreeBSD-src-11d2ccc2ce92362e29a53d7ab9441f7dd3b289da.zip FreeBSD-src-11d2ccc2ce92362e29a53d7ab9441f7dd3b289da.tar.gz |
Document the loader tunables which control hard process memory limits.
Reviewed by: ru
Diffstat (limited to 'share/man/man7')
-rw-r--r-- | share/man/man7/tuning.7 | 22 |
1 files changed, 21 insertions, 1 deletions
diff --git a/share/man/man7/tuning.7 b/share/man/man7/tuning.7 index 4b10d72..278195e 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. |