From 11d2ccc2ce92362e29a53d7ab9441f7dd3b289da Mon Sep 17 00:00:00 2001 From: bms Date: Wed, 17 Jan 2007 22:23:28 +0000 Subject: Document the loader tunables which control hard process memory limits. Reviewed by: ru --- share/man/man7/tuning.7 | 22 +++++++++++++++++++++- 1 file changed, 21 insertions(+), 1 deletion(-) 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. -- cgit v1.1