*BSD News Article 75843


Return to BSD News archive

Path: euryale.cc.adfa.oz.au!newshost.carno.net.au!harbinger.cc.monash.edu.au!munnari.OZ.AU!spool.mu.edu!usenet.eel.ufl.edu!gatech!news.mathworks.com!fu-berlin.de!main.Germany.EU.net!Dortmund.Germany.EU.net!interface-business.de!usenet
From: j@ida.interface-business.de (J Wunsch)
Newsgroups: comp.unix.bsd.netbsd.misc
Subject: Re: How to get more useable VM?
Date: 9 Aug 1996 15:15:58 GMT
Organization: interface business GmbH, Dresden
Lines: 19
Message-ID: <4ufkne$5f0@innocence.interface-business.de>
References: <4u6ufm$vi@news.siemens.at> <4uae15$avo@nnrp1.news.primenet.com>
Reply-To: joerg_wunsch@interface-business.de (Joerg Wunsch)
NNTP-Posting-Host: ida.interface-business.de
X-Newsreader: knews 0.9.6
X-Phone: +49-351-31809-14
X-Fax: +49-351-3361187
X-PGP-Fingerprint: DC 47 E6 E4 FF A6 E9 8F  93 21 E0 7D F9 12 D6 4E

Eleanor Diamse <diamse@primenet.com> wrote:

> : 1. How can I increase the size of the stack and other limits?
> 
> (in ksh... similar in csh)
> ulimit -d 32000

But that's the data segment size.  ulimit -s manipulates the stack
size.

Note that the Korn shell (& clones) default to manipulate both, the
soft _and_ the hard limits, so there's no way back.  Use ulimit -S -s
to avoid this.  The csh's are not suffering from this braindeadness,
their limit command manipulates the soft limits by default.

-- 
J"org Wunsch					       Unix support engineer
joerg_wunsch@interface-business.de       http://www.interface-business.de/~j