Usenet comp.sys.dec (1990-2013)
 help / color / mirror / Atom feed
* Increase stack size with C-compiler.
@ 1998-01-26  5:00 Emmanuel STAPF
  1998-01-28  5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  0 siblings, 1 reply; 2+ messages in thread
From: Emmanuel STAPF @ 1998-01-26  5:00 UTC (permalink / raw)



Hi,
    what is the way to increase the stack size with a C-compiler ? I am
working on a workstation alpha 3000/500 with the OS DEC digital Unix 4.0C.

Thanks in advance for your answer.

Jacques.





^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: Increase stack size with C-compiler.
  1998-01-26  5:00 Increase stack size with C-compiler Emmanuel STAPF
@ 1998-01-28  5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.
  0 siblings, 0 replies; 2+ messages in thread
From: Alan Rollow - Dr. File System's Home for Wayward Inodes. @ 1998-01-28  5:00 UTC (permalink / raw)




In article <6ajel0$l5r$1@news.rain.org>, "Emmanuel STAPF" <manus@eiffel.com> writes:

>    what is the way to increase the stack size with a C-compiler ? I am
>working on a workstation alpha 3000/500 with the OS DEC digital Unix 4.0C.

Most shells set the resource limits for the processes they start.  Check
the manual for the shell that you're using to see how to raise the limit
within the system maximum.  Csh uses "limit" and I think ksh uses "ulimit".
The program itself can use the setrlimit(2) system call to change the
limit itself.

If the system limit is too low you can change it with sysconfig.  Using
dxkerneltuner, it appears that the default and system maximum for the
stack size are part of the "proc" subsystem:

per-proc-stack-size
max-per-proc-stack-size

The first appears to be the default, with the 2nd the system maximum.
You can use dxkerneltuner to change them, so they'll take affect the
next time the system is booted.

>Jacques.

--
Alan Rollow				alan@nabeth.cxo.dec.com




^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~1998-01-28  5:00 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-01-26  5:00 Increase stack size with C-compiler Emmanuel STAPF
1998-01-28  5:00 ` Alan Rollow - Dr. File System's Home for Wayward Inodes.

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox