From owner-freebsd-bugs Thu Jul 12 13: 0:10 2001 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D997837B403 for ; Thu, 12 Jul 2001 13:00:01 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.4/8.11.4) id f6CK01X02858; Thu, 12 Jul 2001 13:00:01 -0700 (PDT) (envelope-from gnats) Received: from mail.disney.com (mail.disney.com [204.128.192.15]) by hub.freebsd.org (Postfix) with ESMTP id BEBC837B401 for ; Thu, 12 Jul 2001 12:50:40 -0700 (PDT) (envelope-from Jim.Pirzyk@disney.com) Received: from pain10.corp.disney.com (root@pain10.corp.disney.com [153.7.110.100]) by mail.disney.com (Switch-2.0.1/Switch-2.0.1) with SMTP id f6CJnsI28760 for ; Thu, 12 Jul 2001 12:49:55 -0700 (PDT) Received: from [172.30.50.1] by pain.corp.disney.com with ESMTP for FreeBSD-gnats-submit@freebsd.org; Thu, 12 Jul 2001 12:51:30 -0700 Received: from plio.fan.fa.disney.com (plio.fan.fa.disney.com [153.7.118.2]) by pecos.fa.disney.com (8.11.3/8.11.3) with ESMTP id f6CJsEs20788 for ; Thu, 12 Jul 2001 12:54:14 -0700 (PDT) Received: from snoopy.fan.fa.disney.com (snoopy.fan.fa.disney.com [153.7.117.170]) by plio.fan.fa.disney.com (8.9.2/8.9.2) with ESMTP id MAA26133 for ; Thu, 12 Jul 2001 12:50:34 -0700 (PDT) (envelope-from Jim.Pirzyk@mailhost) Received: (from Jim.Pirzyk@localhost) by snoopy.fan.fa.disney.com (8.11.3/8.11.3) id f6CJoY210436; Thu, 12 Jul 2001 12:50:34 -0700 (PDT) (envelope-from Jim.Pirzyk) Message-Id: <200107121950.f6CJoY210436@snoopy.fan.fa.disney.com> Date: Thu, 12 Jul 2001 12:50:34 -0700 (PDT) From: Jim.Pirzyk@disney.com Reply-To: Jim.Pirzyk@disney.com To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.113 Subject: kern/28925: Changing the max stack size in the kernel Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org >Number: 28925 >Category: kern >Synopsis: Changing the max stack size in the kernel >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Thu Jul 12 13:00:01 PDT 2001 >Closed-Date: >Last-Modified: >Originator: Jim Pirzyk >Release: FreeBSD 4.3-RELEASE i386 >Organization: >Environment: System: FreeBSD snoopy 4.3-RELEASE FreeBSD 4.3-RELEASE #9: Thu Jul 12 12:17:21 PDT 2001 root@snoopy:/auto/roy/dist/pub/FreeBSD/4.3-RELEASE/sys/compile/UP_WORKSTATION i386 A system running FreeBSD with 2GB of Ram, a data max size set to 2GB and wanting to set the stack size to 128MB (from the default of 64MB). >Description: There is no parameter in the kernel configs to increase the stack size, like there is to increase the data size. >How-To-Repeat: limit stacksize 131072 limit: stacksize: Can't set limit >Fix: add this patch, and add MAXSSIZ to your kernel config (with the same format as MAXDSIZ). *** ./sys/conf/options.orig Thu Jul 12 12:03:00 2001 --- ./sys/conf/options Thu Jul 12 12:03:12 2001 *************** *** 208,213 **** --- 208,214 ---- # Resource limits. DFLDSIZ opt_rlimit.h MAXDSIZ opt_rlimit.h + MAXSSIZ opt_rlimit.h # Net stuff. ACCEPT_FILTER_DATA >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message