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_at_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
Received on Fri Jun 19 1998 - 07:39:17 NZST