tru64-unix-managers (formerly alpha-osf-managers) (1994-2012)
 help / color / mirror / Atom feed
From: Mike Iglesias <iglesias () draco ! acs ! uci ! edu>
To: tru64-unix-managers
Subject: Problems with limit command in DUnix 4.0D
Date: Fri, 19 Jun 1998 05:38:14 +0000	[thread overview]
Message-ID: <96078712011757.tru64-unix-managers.marc@archive.invalid> (raw)

We're having a problem with the limit built-in command in csh on DUnix
4.0d (ksh, sh, and bash have the same problem with their ulimit command).
It appears that the limit command has no effect on whatever limit
you're trying to change in 4.0D, but it works in 4.0B (as does ksh,
sh, and bash).  We even tried a short C program that did a 
getrlimit(), a setrlimit(), and another getrlimit() - it works in
4.0B, but not in 4.0D.

I could not find anything in the on-line release notes about this.

I have included an example of this below my sig.  Has anyone else
seen this?


Mike Iglesias                        Internet:    iglesias@draco.acs.uci.edu
University of California, Irvine     phone:       949-824-6926
Office of Academic Computing         FAX:         949-824-2069


First, on DUnix 4.0B...

draco% uname -a
OSF1 draco.acs.uci.edu V4.0 564 alpha
draco% limit -h
cputime 	unlimited
filesize 	unlimited
datasize 	1572864 kbytes
stacksize 	46875 kbytes
coredumpsize 	unlimited
memoryuse 	106584 kbytes
vmemoryuse 	1572864 kbytes
descriptors 	4096 
draco% limit
cputime 	unlimited
filesize 	unlimited
datasize 	262144 kbytes
stacksize 	4096 kbytes
coredumpsize 	0 kbytes
memoryuse 	106584 kbytes
vmemoryuse 	1048576 kbytes
descriptors 	4096 
draco% limit stacksize 40000
draco% limit
cputime 	unlimited
filesize 	unlimited
datasize 	262144 kbytes
stacksize 	40000 kbytes
coredumpsize 	0 kbytes
memoryuse 	106584 kbytes
vmemoryuse 	1048576 kbytes
descriptors 	4096 


Now, on DUnix 4.0D

% uname -a
OSF1 disco-duck.acs.uci.edu V4.0 878 alpha
% limit -h
cputime 	unlimited
filesize 	unlimited
datasize 	2097152 kbytes
stacksize 	524288 kbytes
coredumpsize 	unlimited
memoryuse 	58008 kbytes
descriptors 	4096 files
addressspace 	1048576 kbytes
% limit
cputime 	unlimited
filesize 	unlimited
datasize 	1048576 kbytes
stacksize 	32768 kbytes
coredumpsize 	unlimited
memoryuse 	58008 kbytes
descriptors 	4096 files
addressspace 	1048576 kbytes
% limit stacksize 40000
% limit
cputime 	unlimited
filesize 	unlimited
datasize 	1048576 kbytes
stacksize 	32768 kbytes
coredumpsize 	unlimited
memoryuse 	58008 kbytes
descriptors 	4096 files
addressspace 	1048576 kbytes

                 reply	other threads:[~1998-06-19  5:38 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
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