[comp.sys.sun] Stack space with Sunos 4.0

barry@ads.com (Barry Lustig) (03/02/89)

In article <981@nvuxr.UUCP> you write:
> How can I increase the stack limit?  Swap space doesn't seem to
> be the issue (I tried doing the compile on another machine
> which has over 40Mbytes of swap, and it made no difference).

Try "limit stacksize 8192".  The argument to the stacksize argument to
limit is in kilobytes.  If that doesn't work set it even higher.  But, be
very careful that you don't do "unlimit stacksize".  This will cause any
process that you spawn from that shell to fail with problems in the
dynamically linking loader.

Barry Lustig
Advanced Decision Systems	barry@ADS.COM

pl@uunet.uu.net (Pertti Lehtinen) (03/04/89)

nvuxr!cmc3@bellcore.bellcore.com (c.m.chase):
> How can I increase the stack limit?

Try 'man limit' to get info about setting limits.

Althoug it seems that you can't set stacksize unlimited under 4.0.


Pertti Lehtinen
pl@tut.fi
Pertti Lehtinen
Tampere University of Technology
Software Systems Laboratory