atom feed11 messages in org.freebsd.freebsd-archRe: Setting the default MAX Stack size
FromSent OnAttachments
Jim PirzykJul 18, 2001 4:18 pm 
Terry LambertJul 19, 2001 1:15 am 
Jim PirzykJul 19, 2001 8:36 am 
Bakul ShahJul 19, 2001 9:01 am 
Jim PirzykJul 19, 2001 9:07 am 
Terry LambertJul 20, 2001 8:40 am 
Terry LambertJul 20, 2001 8:44 am 
Bakul ShahJul 20, 2001 10:08 am 
Jim PirzykJul 20, 2001 12:03 pm 
Jim PirzykJul 20, 2001 12:55 pm 
Bruce EvansJul 21, 2001 4:40 am 
Subject:Re: Setting the default MAX Stack size
From:Terry Lambert (tlam@mindspring.com)
Date:Jul 20, 2001 8:44:25 am
List:org.freebsd.freebsd-arch

Bakul Shah wrote:

So I have a need to increase the max stack size in the kernel.

[ ... ]

How about something like

options MAXSSIZ="(256UL*1024*1024)"

in your config file?

This increases the maximum user space stack size, not the stack size in the kernel.

If this is what he meant, then yeah, this will do it; he also needs to look at his login class in login.conf, and "ulimit"/"limit"/"limits" (based on the shell he is using), to crank up the user space quota, and not just the top end limit.

If he's running in the kernel (the original question appears to be on the order of "can you put too much water in a nuclear reactor?" 8-)), that change won't help him.

-- Terry

To Unsubscribe: send mail to majo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message