Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 12 Jul 2001 12:50:34 -0700 (PDT)
From:      Jim.Pirzyk@disney.com
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   kern/28925: Changing the max stack size in the kernel
Message-ID:  <200107121950.f6CJoY210436@snoopy.fan.fa.disney.com>

next in thread | raw e-mail | index | archive | help

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200107121950.f6CJoY210436>