Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
From: stolcke@ICSI.Berkeley.EDU (Andreas Stolcke)
Subject: Re: getrusage on DEC OSF1 V1.3
Date: 2 Jan 1995 22:46:39 GMT	[thread overview]
Message-ID: <3e9vof$748@agate.berkeley.edu> (raw)
In-Reply-To: 3d9t2b$obu$1@usenet.pa.dec.com

In article <3d9t2b$obu$1@usenet.pa.dec.com>,
Jeffrey Mogul <mogul@pa.dec.com> wrote:
>In article <3d9pk2$e8l@homer.cs.mcgill.ca> bremner@cs.mcgill.ca (David BREMNER) writes:
>>Can anyone clue me as to why the following program, which prints 
>>something reasonable on suns running SunOs 4.1.3 and SGI's running 
>>Irix 5.2, prints 0 on OSF1 V1.3 on a DEC AXP?
>
>On OSF/1 V2.0 and V3.0, it prints a non-zero value.
>
>>I realize the working set size is usually an estimate, but always
>>returning zero seems a little weak :-)
>>
>>Is this a well known "feature", or am I doing something wrong?
>
>I think what you are "doing wrong" is running an old version of
>the operating system.  V1.3 certainly had bugs that were fixed 
>in 2.0 or 3.0.
>

However, even on a 2.0 system, I see the following buggy behavior
in /bin/csh:

21% limit mem
memoryuse       90912 kbytes
22% limit mem 10000k
23% limit mem
memoryuse       0 kbytes

(The limit command on other limit types works fine.)

I observed the same problem at the C level: as soon as one tries to set
the RSS to anything, it in fact is returned as "0" in later getrlimit
calls (although programs still run, so this can't be the true limit).


-- 
Andreas Stolcke					stolcke@icsi.berkeley.edu
International Computer Science Institute	stolcke@ucbicsi.bitnet
1947 Center St., Suite 600, Berkeley, CA 94704	(510) 642-4274 ext. 126


  reply	other threads:[~1995-01-02 22:46 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
1994-12-21 17:45 getrusage on DEC OSF1 V1.3 David BREMNER
1994-12-21 18:44 ` Jeffrey Mogul
1995-01-02 22:46   ` Andreas Stolcke [this message]
1995-01-04  2:55     ` Jeffrey Mogul
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox