From Jim.Pirzyk@disney.com  Thu Jul 12 12:50:40 2001
Return-Path: <Jim.Pirzyk@disney.com>
Received: from mail.disney.com (mail.disney.com [204.128.192.15])
	by hub.freebsd.org (Postfix) with ESMTP id BEBC837B401
	for <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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 <FreeBSD-gnats-submit@freebsd.org>; 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
Subject: Changing the max stack size in the kernel
X-Send-Pr-Version: 3.113

>Number:         28925
>Category:       kern
>Synopsis:       Changing the max stack size in the kernel
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    pirzyk
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jul 12 13:00:01 PDT 2001
>Closed-Date:    Fri Jul 20 13:44:48 PDT 2001
>Last-Modified:  Fri Jul 20 13:45:17 PDT 2001
>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:
Responsible-Changed-From-To: freebsd-bugs->pirzyk 
Responsible-Changed-By: pirzyk 
Responsible-Changed-When: Sat Jul 14 20:08:39 PDT 2001 
Responsible-Changed-Why:  
picked up another of my open calls 

http://www.FreeBSD.org/cgi/query-pr.cgi?pr=28925 
State-Changed-From-To: open->closed 
State-Changed-By: pirzyk 
State-Changed-When: Fri Jul 20 13:44:48 PDT 2001 
State-Changed-Why:  
Commited the changes to -CURRENT, will be MFC'ed in 1 week. 


http://www.FreeBSD.org/cgi/query-pr.cgi?pr=28925 
>Unformatted:
