From mboxrd@z Thu Jan 1 00:00:00 1970 Received: (qmail 17704 invoked from network); 30 Jun 1999 02:52:14 -0000 Received: from mail.redhat.com (199.183.24.239) by lists.redhat.com with SMTP; 30 Jun 1999 02:52:14 -0000 Received: from ares.cs.Virginia.EDU (ares.cs.Virginia.EDU [128.143.136.41] (may be forged)) by mail.redhat.com (8.8.7/8.8.7) with ESMTP id WAA18137 for ; Tue, 29 Jun 1999 22:52:13 -0400 Received: from adder.cs.Virginia.EDU (adder.cs.Virginia.EDU [128.143.137.18]) by ares.cs.Virginia.EDU (8.9.2/8.9.2/UVACS-1999030200) with ESMTP id WAA16770 for ; Tue, 29 Jun 1999 22:52:12 -0400 (EDT) From: Greg Lindahl Received: (from lindahl@localhost) by adder.cs.Virginia.EDU (8.8.5/8.8.5) id WAA07711 for axp-list@redhat.com; Tue, 29 Jun 1999 22:52:11 -0400 (EDT) Message-Id: <199906300252.WAA07711@adder.cs.Virginia.EDU> Subject: Re: The stack and digital unix binaries To: axp-list@redhat.com Date: Tue, 29 Jun 1999 22:52:11 -0400 (EDT) In-Reply-To: <37794CB6.DCBFFA29@lanl.gov> from "Neil Carlson" at Jun 29, 99 04:46:14 pm X-Mailer: ELM [version 2.4 PL25] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit > > If you don't like the hard limit, then you can raise it by editing > > /etc/security/limits.conf (may be a RedHat-only hack, I dunno.) > > I don't know what this does on your system but on my RH 5.2 systems > it doesn't do squat. This file is part of pam, and looks to me to > be a placeholder for some future functionality. Me and my big mouth. I recompiled my kernels to up it. Then I poked around and had never tried /etc/security/limits.conf The following hack does work; I found out about it after I recompiled. > Log in as root and edit a file called /etc/initscript. On my machine > this > script did not already exist. In it put the following lines: > # > ulimit -Hs unlimited > ulimit -Ss unlimited > > eval exec "$4" > > Then issue "chmod +x /etc/initscript" and reboot the machine. Logging > in > either as root or an unpriviledged [sic] user should result in > effectively > unlimited stack memory (on the order of 2 GB).