Question on ulimit & sh / ksh

From: David.Knight@clubcorp.com
Date: Fri Dec 19 2003 - 17:16:13 EST


Managers,
        This should be an easy one... I have found a lot of talk on this
list about ulimit but none answer my question.

In the born shell the ulimit command act's a little different then in the
korn shell.

For instance:
[applmgr dalunix170.clubcorp.com custpr] $ ulimit -d 2097152
ksh: ulimit: exceeds allowable limit

# ulimit -a
time(seconds) unlimited
file(blocks) unlimited
data(kbytes) 8388608
stack(kbytes) 4096
memory(kbytes) 22607680
coredump(blocks) unlimited
nofiles(descriptors) 4096
vmemory(kbytes) 8388608
# sh
# ulimit -a
8388608

Yet it lets me set ulimit -d to 2097152 in korn shell....

Why is this??

-David



This archive was generated by hypermail 2.1.7 : Sat Apr 12 2008 - 10:49:46 EDT