What controls stacksize?

From: esci <esci_at_fastlane.net>
Date: Thu, 22 Apr 1999 17:04:46 -0500 (CDT)

Where is the limit for the maximum stacksize allowed for a process set? A
grep through both /usr/include and /usr/sys didn't seem to find it.

I seem to be limited to 32 MB for the stack area for a process which seems a
little absurd on a machine w/ 256 MB of core and several GB of swap space.


> dec%esci {123} ulimit -a
> time(seconds) unlimited
> file(blocks) unlimited
> data(kbytes) 1048576
> stack(kbytes) 2048
> memory(kbytes) 248912
> coredump(blocks) 0
> nofiles(descriptors) 4096
> vmemory(kbytes) 1048576
> dec%esci {124} ulimit -s unlimited
> /bin/ulimit[25]: ulimit: exceeds allowable limit
> dec%esci {125} limit stacksize unlimited
> dec%esci {126} ulimit -a
> time(seconds) unlimited
> file(blocks) unlimited
> data(kbytes) 1048576
> stack(kbytes) 32768
> memory(kbytes) 248912
> coredump(blocks) 0
> nofiles(descriptors) 4096
> vmemory(kbytes) 1048576
> dec%esci {127}
>

Thanks,


Reginald Beardsley

------------------------------------------------------------------------
              Exploration Software Consultants Inc.

Voice: 972-379-0557 email: rhb_at_acm.org
Fax: 972-379-0558
------------------------------------------------------------------------
Received on Thu Apr 22 1999 - 22:09:02 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:39 NZDT