From owner-freebsd-questions@FreeBSD.ORG Mon Apr 4 20:32:06 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 1DDE7106566C for ; Mon, 4 Apr 2011 20:32:06 +0000 (UTC) (envelope-from mexas@bristol.ac.uk) Received: from dirj.bris.ac.uk (dirj.bris.ac.uk [137.222.10.78]) by mx1.freebsd.org (Postfix) with ESMTP id C99808FC19 for ; Mon, 4 Apr 2011 20:32:05 +0000 (UTC) Received: from ncsc.bris.ac.uk ([137.222.10.41]) by dirj.bris.ac.uk with esmtp (Exim 4.72) (envelope-from ) id 1Q6qRQ-0003rt-Rx; Mon, 04 Apr 2011 21:32:04 +0100 Received: from mech-cluster241.men.bris.ac.uk ([137.222.187.241]) by ncsc.bris.ac.uk with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1Q6qRQ-0005d5-KF; Mon, 04 Apr 2011 21:32:04 +0100 Received: from mech-cluster241.men.bris.ac.uk (localhost [127.0.0.1]) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4) with ESMTP id p34KW4tv031483; Mon, 4 Apr 2011 21:32:04 +0100 (BST) (envelope-from mexas@bristol.ac.uk) Received: (from mexas@localhost) by mech-cluster241.men.bris.ac.uk (8.14.4/8.14.4/Submit) id p34KW4p9031482; Mon, 4 Apr 2011 21:32:04 +0100 (BST) (envelope-from mexas@bristol.ac.uk) X-Authentication-Warning: mech-cluster241.men.bris.ac.uk: mexas set sender to mexas@bristol.ac.uk using -f Date: Mon, 4 Apr 2011 21:32:04 +0100 From: Anton Shterenlikht To: Chuck Swiger Message-ID: <20110404203204.GA31453@mech-cluster241.men.bris.ac.uk> Mail-Followup-To: Chuck Swiger , Anton Shterenlikht , freebsd-questions@freebsd.org References: <20110404195034.GA31077@mech-cluster241.men.bris.ac.uk> <20110404201735.GA31338@mech-cluster241.men.bris.ac.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: Anton Shterenlikht , 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:32:06 -0000 On Mon, Apr 04, 2011 at 01:21:16PM -0700, Chuck Swiger wrote: > 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 > Many thanks. I was trying to learn by looking at sys/kern/subr_param.c, but this is much more informative. Anton -- Anton Shterenlikht Room 2.6, Queen's Building Mech Eng Dept Bristol University University Walk, Bristol BS8 1TR, UK Tel: +44 (0)117 331 5944 Fax: +44 (0)117 929 4423