Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Jan 1999 17:06:32 -0800 (PST)
From:      Bernie Doehner <bad@wireless.net>
To:        Terry Lambert <tlambert@primenet.com>
Cc:        dillon@apollo.backplane.com, hackers@FreeBSD.ORG
Subject:   Re: limiting per process swap space utilization like Solaris ulimit?
Message-ID:  <Pine.BSF.3.95.990112170304.21447A-100000@wireless.net>
In-Reply-To: <199901130030.RAA15567@usr08.primenet.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Wed, 13 Jan 1999, Terry Lambert wrote:

> > 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?

Actualy I already asked the very same question in a different forum.  I
assume the text segment is NOT swapped out because it is referenced way
TOO often to be practical/efficient to swap out?

> > 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...
> 

Actualy I think Solaris does this too..

Thanks.

Bernie


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.95.990112170304.21447A-100000>