🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: gnu.bash.bug
Article #121

ulimit problem and suggestion

#121
From: Andrew Thomas
Date: Thu, 15 Jun 1989 17:56
27 lines
1334 bytes
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
Technical Details
Message-ID: <8906151756.AA12146@watsnew.waterloo.edu>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!agate!ucbvax!tut.cis.ohio-state.edu!WATSNEW.WATERLOO.EDU!andrewt

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!rutgers!shelby!agate!ucbvax!tut.cis.ohio-state.edu!WATSNEW.WATERLOO.EDU!andrewt
From: andrewt@WATSNEW.WATERLOO.EDU (Andrew Thomas)
Newsgroups: gnu.bash.bug
Subject: ulimit problem and suggestion
Message-ID: <8906151756.AA12146@watsnew.waterloo.edu>
Date: 15 Jun 89 17:56:51 GMT
Sender: daemon@tut.cis.ohio-state.edu
Distribution: gnu
Organization: GNUs Not Usenet
Lines: 27