From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from int-mx1.corp.redhat.com (unknown [172.16.44.254]) by listman.redhat.com (Postfix) with ESMTP id A5D242EFE3 for ; Wed, 17 Oct 2001 09:35:15 -0400 (EDT) Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by int-mx1.corp.redhat.com (8.11.6/8.11.6) with SMTP id f9HDZFN03483 for ; Wed, 17 Oct 2001 09:35:15 -0400 Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f9HDZFd29516 for axp-list@listman.redhat.com; Wed, 17 Oct 2001 09:35:15 -0400 Received: from hall.mail.mindspring.net (hall.mail.mindspring.net [207.69.200.60]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f9HDZFg29512 for ; Wed, 17 Oct 2001 09:35:15 -0400 Received: from ekkinc.com (user-2injl1t.dialup.mindspring.com [165.121.212.61]) by hall.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id JAA04692 for ; Wed, 17 Oct 2001 09:35:09 -0400 (EDT) Message-ID: <3BCD7709.8E269391@ekkinc.com> Date: Wed, 17 Oct 2001 08:18:17 -0400 From: Ken Siersma X-Mailer: Mozilla 4.75 [en] (X11; U; Linux 2.2.12 i686) X-Accept-Language: en, ja MIME-Version: 1.0 To: axp-list@redhat.com Subject: Re: Stack sizes (Re: Which kernel to use?) References: Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: That's a very good question. How do you measure how much stack you need? When I first started to learn sysadmin, I was told - "Our software will crash unless stacksize is set to unlimited". I just accepted that as fact. I do know that on the alpha with 2.2.16 running, a stacksize of 32768 was enough to not cause the machine to lock up, but it wasn't enough to prevent the software from crashing if it required more than 128MB of RAM. Ken jsturm1@home.com wrote: > On Tue, 16 Oct 2001, Ken Siersma wrote: > > Wow. So, what do you run? I was very happy to see that RH 7.1 could handle a > > stacksize set to unlimited. RH 6.2 couldn't do that. Do you know if running > > a 2.2.x kernel could affect 7.1's ability to do this? The ability to handle > > unlimited stacksize was the most important reason I upgraded to 7.1. > > How much stack do you need? I had no trouble with a 512MB stack and > a 2.2.19 kernel (after I did "ulimit -s unlimited" as root). > > Note that the kernel initializes the stack bottom to 0x120000000 so it > could not grow much larger than 4GB regardless, unless you allocate an > alternate stack (e.g. with mmap). > > Jeff > > _______________________________________________ > Axp-list mailing list > Axp-list@redhat.com > https://listman.redhat.com/mailman/listinfo/axp-list -- Ken Siersma, Software Engineer EKK, Inc. 100 North Pond Drive Suite A Walled Lake, Michigan, 48390 USA phone: (248) 624-9957 fax: (248) 624-7158 http://www.ekkinc.com