andrewt@WATSNEW.WATERLOO.EDU (Andrew Thomas) (06/16/89)
I tried ulimit in bash 0.99 on a uVaxII running Ultrix 2.0. bash> ulimit -s I get a message telling my current maximum stack size. bash> ulimit -s 1000000000 bad ulimit bash> ulimit -s 100000000 no message bash> ulimit -s -663296 !!!!!! bash> ulimit -s 32000 bad ulimit bash> ulimit -s 2048 bad ulimit basically, once I have set ulimit to 100000000, I can never reset it. If I try to start a sub-bash now, it just core dumps with an illegal instruction. Some programs die now, some don't. (ls, sh survive, csh dies). Also a suggestion: ulimit should provide some idea of what the maximum setting is for a particular resource, or have a keyword 'unlimited' as in csh, so we don't have to worry about it. Andrew Thomas andrewt@watsnew.waterloo.edu Systems Design Eng. University of Waterloo "If a million people do a stupid thing, it's still a stupid thing." - Opus