From owner-freebsd-questions@FreeBSD.ORG Mon Apr 4 20:03:51 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 CFE3F1065677 for ; Mon, 4 Apr 2011 20:03:51 +0000 (UTC) (envelope-from cswiger@mac.com) Received: from asmtpout019.mac.com (asmtpout019.mac.com [17.148.16.94]) by mx1.freebsd.org (Postfix) with ESMTP id B73538FC26 for ; Mon, 4 Apr 2011 20:03:51 +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 asmtp019.mac.com (Oracle Communications Messaging Exchange Server 7u4-20.01 64bit (built Nov 21 2010)) with ESMTPSA id <0LJ500BTB91SS640@asmtp019.mac.com> for freebsd-questions@freebsd.org; Mon, 04 Apr 2011 13:03:28 -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-1104040107 From: Chuck Swiger In-reply-to: <20110404195034.GA31077@mech-cluster241.men.bris.ac.uk> Date: Mon, 04 Apr 2011 13:03:28 -0700 Message-id: References: <20110404195034.GA31077@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:03:51 -0000 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