From owner-freebsd-hackers Tue Jan 12 16:31:55 1999 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id QAA13889 for freebsd-hackers-outgoing; Tue, 12 Jan 1999 16:31:55 -0800 (PST) (envelope-from owner-freebsd-hackers@FreeBSD.ORG) Received: from smtp03.primenet.com (smtp03.primenet.com [206.165.6.133]) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id QAA13882 for ; Tue, 12 Jan 1999 16:31:54 -0800 (PST) (envelope-from tlambert@usr08.primenet.com) Received: (from daemon@localhost) by smtp03.primenet.com (8.8.8/8.8.8) id RAA13098; Tue, 12 Jan 1999 17:31:11 -0700 (MST) Received: from usr08.primenet.com(206.165.6.208) via SMTP by smtp03.primenet.com, id smtpd012984; Tue Jan 12 17:31:05 1999 Received: (from tlambert@localhost) by usr08.primenet.com (8.8.5/8.8.5) id RAA15567; Tue, 12 Jan 1999 17:30:51 -0700 (MST) From: Terry Lambert Message-Id: <199901130030.RAA15567@usr08.primenet.com> Subject: Re: limiting per process swap space utilization like Solaris ulimit? To: bad@wireless.net (Bernie Doehner) Date: Wed, 13 Jan 1999 00:30:51 +0000 (GMT) Cc: dillon@apollo.backplane.com, hackers@FreeBSD.ORG In-Reply-To: from "Bernie Doehner" at Jan 12, 99 03:52:03 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > Why is it that under bash's ulimit -v, the swap space utilization is the > sum of the data segment size and the stack size? Read-only pages don't need to be backed by swap? > Is this correct / valid for all shells (not just bash, which explicitly > prints this out as the per process swap space limitation)? On machines where the program image is not used as a read-only swap store, this would be different. You may have to install an old copy of Xenix or SVR3.2 to find such a machine, though... Terry Lambert terry@lambert.org --- Any opinions in this posting are my own and not those of my present or previous employers. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message