🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

1 total messages Started by Andrew Thomas Thu, 15 Jun 1989 17:56
ulimit problem and suggestion
#121
Author: 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
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads