Question on ulimit & sh / ksh

David.Knight_at_clubcorp.com
Date: 12/19/03

  • Next message: ldg_at_ulysium.net: "quick shell scripting question"
    Date: Fri, 19 Dec 2003 16:16:13 -0600
    To: tru64-unix-managers@ornl.gov
    
    

    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


  • Next message: ldg_at_ulysium.net: "quick shell scripting question"

    Relevant Pages

    • Re: upper file size limit
      ... ksh, which having performed all the fsadm bits and the kernel tuning ... They had a ULIMIT set obscenely low in login, ... bash may be 'more manly' but to me it does stupid things. ...
      (comp.unix.sco.misc)
    • [HPADM] [SUMMARY ] ksh: unlimited: bad number
      ... the new behavior of ulimit is actually more "correct". ... Now with the new patch bundles installed the kshpatch has ... The QPK B.11.00.58.5 contains ksh patch PHCO_26783, ... the ulimit setting for oracle account was listed below. ...
      (HP-UX-Admin)
    • Re: gzip OSR 5.0.7 File Size Limit Exceeded (core dumped)
      ... > I have tried this command in bash, ksh, and csh. ... > # ulimit unlimited ...
      (comp.unix.sco.misc)
    • Changing data ulimit & kernel
      ... I am confused as to where the number comes from when I run a 'ulimit ... ksh: ulimit: exceeds allowable limit ... I thought it was maxdsiz, ...
      (comp.sys.hp.hpux)
    • [HPADM] ksh: unlimited: bad number
      ... ulimit problem on oracle account. ... ksh: unlimited: bad number ... the ulimit setting for oracle account was listed below. ...
      (HP-UX-Admin)