*BSD News Article 8678


Return to BSD News archive

Newsgroups: comp.unix.bsd
Path: sserve!manuel.anu.edu.au!munnari.oz.au!news.hawaii.edu!ames!agate!spool.mu.edu!uunet!pipex!pavo.csi.cam.ac.uk!camcus!pc123
From: pc123@cus.cam.ac.uk (Pete Chown)
Subject: Re: [386BSD] Stack limit is too small
In-Reply-To: karl@NeoSoft.com's message of Sat, 5 Dec 1992 06:55:07 GMT
Message-ID: <PC123.92Dec5175734@apus.cus.cam.ac.uk>
Sender: news@infodev.cam.ac.uk (USENET news)
Nntp-Posting-Host: apus.cus.cam.ac.uk
Organization: U of Cambridge, England
References: <Byrxvz.LCG@NeoSoft.com>
Date: Sat, 5 Dec 1992 17:57:38 GMT
Lines: 18

In article <Byrxvz.LCG@NeoSoft.com> karl@NeoSoft.com (Karl Lehenbauer) writes:

   xxgdb blows out when sucking in wish's 3.4 MB of symbols.  Gnuware's
   fondness for alloca and such makes the default maxstack of 512K seem
   uncomfortably small, and just another limit to stop otherwise perfectly
   working programs. (sigh)

   bash users will want to do a "ulimit -s 4096", or more.

   csh users, well, RTFM.

% limit stacksize 4096

seems to be the command you are looking for.
--
---------------------------------------------+ "A tight hat can be stretched.
Pete Chown, pc123@phx.cam.ac.uk (Internet)   |  First damp the head with steam
            pc123@uk.ac.cam.phx (Janet :-)  -+  from a boiling kettle."