From owner-freebsd-stable Fri Feb 14 8:53:32 2003 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id AD8DD37B401 for ; Fri, 14 Feb 2003 08:53:31 -0800 (PST) Received: from flood.ping.uio.no (flood.ping.uio.no [129.240.78.31]) by mx1.FreeBSD.org (Postfix) with ESMTP id AF11543F85 for ; Fri, 14 Feb 2003 08:53:30 -0800 (PST) (envelope-from des@ofug.org) Received: by flood.ping.uio.no (Postfix, from userid 2602) id 75EC8536E; Fri, 14 Feb 2003 17:53: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: The Hermit Hacker Cc: David Schultz , freebsd-stable@FreeBSD.ORG Subject: Re: latest kernel issue ... or increased KVA_FILES ... ? From: Dag-Erling Smorgrav Date: Fri, 14 Feb 2003 17:53:27 +0100 In-Reply-To: <20030214121353.T76487@localhost> (The Hermit Hacker's message of "Fri, 14 Feb 2003 12:20:53 -0400 (AST)") Message-ID: User-Agent: Gnus/5.090014 (Oort Gnus v0.14) Emacs/21.2 (i386--freebsd) References: <20030214065945.L76487@localhost> <20030214115355.GA424@HAL9000.homeunix.com> <20030214121353.T76487@localhost> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG The Hermit Hacker writes: > When Tor suggested changing this to me, he mentioned "This reduces the > address space available for userland processes, but very few applications > need more than 1 GB for data in a single process." ... now, if I'm > understanding this correctly, if I set it to 512, a single process won't > be able to exceed 2GB (*very* unlikely), but what happens if it does? > Does the process just crash, but the system remains running? mmpa() will fail and malloc() will return NULL when the process runs out of address space, and the process will segfault if it does not adequately handle those failures. Note that this can happen long before the system runs out of actual memory and swap, e.g. if the process mmaps large files. DES -- Dag-Erling Smorgrav - des@ofug.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message