Question on ulimit & sh / ksh

From: <David.Knight_at_clubcorp.com>
Date: Fri, 19 Dec 2003 16:16:13 -0600

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
Received on Fri Dec 19 2003 - 22:20:54 NZDT

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:44 NZDT