From owner-freebsd-current Thu Feb 7 4:32:35 2002 Delivered-To: freebsd-current@freebsd.org Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by hub.freebsd.org (Postfix) with ESMTP id 89FE737B41D for ; Thu, 7 Feb 2002 04:32:29 -0800 (PST) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 638875341; Thu, 7 Feb 2002 13:32:28 +0100 (CET) X-URL: http://www.ofug.org/~des/ X-Disclaimer: The views expressed in this message do not necessarily coincide with those of any organisation or company with which I am or have been affiliated. To: Doug White Cc: Adam Nealis , freebsd-current@FreeBSD.ORG Subject: Re: Max size of a process in FreeBSD. References: <20020206131406.X73049-100000@resnet.uoregon.edu> From: Dag-Erling Smorgrav Date: 07 Feb 2002 13:32:27 +0100 In-Reply-To: <20020206131406.X73049-100000@resnet.uoregon.edu> Message-ID: Lines: 22 User-Agent: Gnus/5.0808 (Gnus v5.8.8) Emacs/21.1 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 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. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-current" in the body of the message