From: Ken Siersma <Ken.Siersma@ekkinc.com>
To: axp-list@redhat.com
Subject: Re: Stack sizes (Re: Which kernel to use?)
Date: Wed, 17 Oct 2001 08:18:17 -0400 [thread overview]
Message-ID: <3BCD7709.8E269391@ekkinc.com> (raw)
In-Reply-To: Pine.LNX.4.10.10110170911270.19740-100000@mars.deadcafe.org
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
next prev parent reply other threads:[~2001-10-17 13:35 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-10-16 18:56 Which kernel to use? Ken Siersma
2001-10-16 20:29 ` John Jasen
2001-10-16 20:34 ` Rich Payne
2001-10-16 19:33 ` Ken Siersma
2001-10-17 6:36 ` Linus Gasser
2001-10-17 14:00 ` Ken Siersma
2001-10-19 8:40 ` Linus Gasser
2001-10-17 13:21 ` Stack sizes (Re: Which kernel to use?) jsturm1
2001-10-17 12:18 ` Ken Siersma [this message]
2001-10-17 14:42 ` Which kernel to use? John Jasen
2001-10-17 14:04 ` Ken Siersma
2001-10-17 19:47 ` W Bauske
2001-10-16 20:40 ` John Jasen
read-only archive
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox