Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 04 Apr 2011 13:03:28 -0700
From:      Chuck Swiger <cswiger@mac.com>
To:        Anton Shterenlikht <mexas@bristol.ac.uk>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: how to increase stacksize?
Message-ID:  <B218D3BE-356C-4247-A5B6-7BC824117EDF@mac.com>
In-Reply-To: <20110404195034.GA31077@mech-cluster241.men.bris.ac.uk>
References:  <20110404195034.GA31077@mech-cluster241.men.bris.ac.uk>

next in thread | previous in thread | raw e-mail | index | archive | help
On Apr 4, 2011, at 12:50 PM, Anton Shterenlikht wrote:
> I'd like to increase stacksize.  How do I do this?

Set kern.maxssiz in /boot/loader.conf to a larger value-- also consider tweaking kern.dflssiz, unless you want to use limit/ulimit before invoking the process.  I don't believe you can change it for a running system via sysctl, although I could be mistaken on that....

Regards,
-- 
-Chuck




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?B218D3BE-356C-4247-A5B6-7BC824117EDF>