From owner-freebsd-questions@FreeBSD.ORG Mon Apr 4 20:21:21 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C88EE1065676 for ; Mon, 4 Apr 2011 20:21:21 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout026.mac.com (asmtpout026.mac.com [17.148.16.101]) by mx1.freebsd.org (Postfix) with ESMTP id AE7B68FC1A for ; Mon, 4 Apr 2011 20:21:21 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII Received: from cswiger1.apple.com ([17.209.4.71]) by asmtp026.mac.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTPSA id <0LJ500IUK9VGYO50@asmtp026.mac.com> for freebsd-questions@freebsd.org; Mon, 04 Apr 2011 13:21:17 -0700 (PDT) X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:5.2.15,1.0.148,0.0.0000 definitions=2011-04-04_05:2011-04-04, 2011-04-04, 1970-01-01 signatures=0 X-Proofpoint-Spam-Details: rule=notspam policy=default score=0 spamscore=0 ipscore=0 suspectscore=0 phishscore=0 bulkscore=0 adultscore=0 classifier=spam adjust=0 reason=mlx engine=6.0.2-1012030000 definitions=main-1104040110 From: Chuck Swiger In-reply-to: <20110404201735.GA31338@mech-cluster241.men.bris.ac.uk> Date: Mon, 04 Apr 2011 13:21:16 -0700 Message-id: References: <20110404195034.GA31077@mech-cluster241.men.bris.ac.uk> <20110404201735.GA31338@mech-cluster241.men.bris.ac.uk> To: Anton Shterenlikht X-Mailer: Apple Mail (2.1084) Cc: freebsd-questions@freebsd.org Subject: Re: how to increase stacksize? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 04 Apr 2011 20:21:21 -0000 On Apr 4, 2011, at 1:17 PM, Anton Shterenlikht wrote: >> Set kern.maxssiz in /boot/loader.conf >> to a larger value-- also consider >> tweaking kern.dflssiz, > > What does this limit? > > Is it documented anywhere? It appears to be documented in the manpages: http://www.freebsd.org/cgi/man.cgi?query=tuning&sektion=7 http://www.freebsd.org/cgi/man.cgi?query=loader&sektion=8 ...and sys/boot/forth/loader.conf says: #hw.physmem="1G" # Limit physical memory. See loader(8) #kern.dfldsiz="" # Set the initial data size limit #kern.dflssiz="" # Set the initial stack size limit #kern.hz="100" # Set the kernel interval timer rate #kern.maxbcache="" # Set the max buffer cache KVA storage #kern.maxdsiz="" # Set the max data size #kern.maxfiles="" # Set the sys. wide open files limit #kern.maxproc="" # Set the maximum # of processes #kern.maxssiz="" # Set the max stack size #kern.maxswzone="" # Set the max swmeta KVA storage #kern.maxtsiz="" # Set the max text size Regards, -- -Chuck