From owner-freebsd-arch Fri Jul 20 8:44:18 2001 Delivered-To: freebsd-arch@freebsd.org Received: from harrier.mail.pas.earthlink.net (harrier.mail.pas.earthlink.net [207.217.121.12]) by hub.freebsd.org (Postfix) with ESMTP id 5F10537B401 for ; Fri, 20 Jul 2001 08:44:14 -0700 (PDT) (envelope-from tlambert2@mindspring.com) Received: from mindspring.com (dialup-209.245.134.204.Dial1.SanJose1.Level3.net [209.245.134.204]) by harrier.mail.pas.earthlink.net (EL-8_9_3_3/8.9.3) with ESMTP id IAA01536; Fri, 20 Jul 2001 08:44:09 -0700 (PDT) Message-ID: <3B5851EF.19B13D73@mindspring.com> Date: Fri, 20 Jul 2001 08:44:47 -0700 From: Terry Lambert Reply-To: tlambert2@mindspring.com X-Mailer: Mozilla 4.7 [en]C-CCK-MCD {Sony} (Win98; U) X-Accept-Language: en MIME-Version: 1.0 To: Bakul Shah Cc: Jim Pirzyk , arch@FreeBSD.ORG Subject: Re: Setting the default MAX Stack size References: <200107191602.MAA23206@illustrious.cnchost.com> Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-arch@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG 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 majordomo@FreeBSD.org with "unsubscribe freebsd-arch" in the body of the message