From owner-svn-src-all@FreeBSD.ORG Sat Jan 31 12:29:13 2009 Return-Path: Delivered-To: svn-src-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 4870E1065670; Sat, 31 Jan 2009 12:29:13 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 352A08FC19; Sat, 31 Jan 2009 12:29:13 +0000 (UTC) (envelope-from keramida@FreeBSD.org) Received: from svn.freebsd.org (localhost [127.0.0.1]) by svn.freebsd.org (8.14.3/8.14.3) with ESMTP id n0VCTDcg024413; Sat, 31 Jan 2009 12:29:13 GMT (envelope-from keramida@svn.freebsd.org) Received: (from keramida@localhost) by svn.freebsd.org (8.14.3/8.14.3/Submit) id n0VCTDpk024412; Sat, 31 Jan 2009 12:29:13 GMT (envelope-from keramida@svn.freebsd.org) Message-Id: <200901311229.n0VCTDpk024412@svn.freebsd.org> From: Giorgos Keramidas Date: Sat, 31 Jan 2009 12:29:13 +0000 (UTC) To: src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-6@freebsd.org X-SVN-Group: stable-6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Cc: Subject: svn commit: r187951 - stable/6/share/man/man7 X-BeenThere: svn-src-all@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: "SVN commit messages for the entire src tree \(except for " user" and " projects" \)" List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 Jan 2009 12:29:14 -0000 Author: keramida (doc committer) Date: Sat Jan 31 12:29:12 2009 New Revision: 187951 URL: http://svn.freebsd.org/changeset/base/187951 Log: MFC 166076 from /head : bms | 2007-01-18 00:23:28 +0200 : : Document the loader tunables which control hard process memory limits. : : Reviewed by: ru : PR: docs/118545 Modified: stable/6/share/man/man7/ (props changed) stable/6/share/man/man7/ports.7 (props changed) stable/6/share/man/man7/tuning.7 Modified: stable/6/share/man/man7/tuning.7 ============================================================================== --- stable/6/share/man/man7/tuning.7 Sat Jan 31 12:26:06 2009 (r187950) +++ stable/6/share/man/man7/tuning.7 Sat Jan 31 12:29:12 2009 (r187951) @@ -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.