*BSD News Article 76940


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!nntp.coast.net!news-res.gsl.net!news.gsl.net!news.mathworks.com!newsfeed.internetmci.com!newsxfer2.itd.umich.edu!uunet!in3.uu.net!news.iij.ad.jp!triton.ad.jp!news1.pu-toyama.ac.jp!icews5!cancer.nca5.ad.jp!kudpc!kuis-news!wnoc-kyo-news!hakozaki.karrn!wnoc-fukuoka-news!js-fukuoka-news!js-fuktech-news!news-gw!gleeson
From: gleeson@ferret.justsystem.co.jp
Newsgroups: comp.unix.bsd.bsdi.misc
Subject: 'limit' problems with datasize
Date: 26 Aug 1996 04:55:48 GMT
Organization: Justsystem Corporation
Lines: 19
Distribution: world
Message-ID: <GLEESON.96Aug26135548@ferret.justsystem.co.jp>
Reply-To: Timothy_Gleeson@justsystem.co.jp
NNTP-Posting-Host: ferret.tkstech.justsystem.co.jp

I've got 2 boxes running 2.1 and 2.0.1 and with both of them observe the
following behaviour.

The standard systemwide soft and hard limits on a process' datasize are 16MB 
and 64MB respectively, as set in param.c.

However, for all users 'limit' and 'limit -h' both say the datasize limit is
32M.

As superuser, I can do a 'limit -h datasize unlimited' and then looking at
the value set it says 64MB, as expected.

So, why are the limits set at 32MB/32MB rather than 16MB/64MB?

Tim
--
Tim Gleeson				Justsystem Corporation
Timothy_Gleeson@justsystem.co.jp	Okihama Higashi 3-46
					Tokushima 770, Japan