From owner-freebsd-current Thu Feb 7 10:10:25 2002 Delivered-To: freebsd-current@freebsd.org Received: from web21404.mail.yahoo.com (web21404.mail.yahoo.com [216.136.232.74]) by hub.freebsd.org (Postfix) with SMTP id 200A437B438 for ; Thu, 7 Feb 2002 10:10:10 -0800 (PST) Message-ID: <20020207181009.89995.qmail@web21404.mail.yahoo.com> Received: from [217.37.25.145] by web21404.mail.yahoo.com via HTTP; Thu, 07 Feb 2002 10:10:09 PST Date: Thu, 7 Feb 2002 10:10:09 -0800 (PST) From: Adam Nealis Subject: Re: Max size of a process in FreeBSD. To: Dag-Erling Smorgrav , Doug White Cc: Adam Nealis , freebsd-current@FreeBSD.ORG In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-current@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --- Dag-Erling Smorgrav wrote: > Doug White writes: > > It's limited to MAXDSIZ (max data size). > > Not quite - the size of the data segment is limited to the value of > 'limits -d', which starts out at DFLDSIZ and cannot be larger than > MAXDSIZ. Likewise, the size of the stack is limited to the value of > 'limits -s', which cannot be larger that MAXSSIZ. I don't think > there's a limit on text size (other than "total address space minus > kernel address space"), but a very large text segment will obviously > limit the size of the data and stack segments. > > > You can raise this up to 2GB or > > so, but you will eventually hit the KVM boundary. I don't recall what the > > KVM limit is right now, I thought it was 2GB but I think it was reduced > > recently ... > > The kernel address space used to be 256 MB in 3.x, but was bumped to 1 > GB before 4.0-RELEASE. See FAQ list entry 17.15. Which FAQ is that? The online FAQ at http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/index.html Only has "funnies" for section 17, and doesn't go up to 17.15. Adam. __________________________________________________ Do You Yahoo!? Send FREE Valentine eCards with Yahoo! Greetings! http://greetings.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message