From: Greg Lindahl <lindahl@cs.virginia.edu>
To: axp-list@redhat.com
Subject: Re: The stack and digital unix binaries
Date: Tue, 29 Jun 1999 22:52:11 -0400 (EDT) [thread overview]
Message-ID: <199906300252.WAA07711@adder.cs.Virginia.EDU> (raw)
In-Reply-To: <37794CB6.DCBFFA29@lanl.gov> from "Neil Carlson" at Jun 29, 99 04:46:14 pm
> > 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).
prev parent reply other threads:[~1999-06-30 2:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
1999-06-29 18:20 The stack and digital unix binaries Neil Carlson
1999-06-29 19:26 ` Greg Lindahl
1999-06-29 22:46 ` Neil Carlson
1999-06-30 2:52 ` Greg Lindahl [this message]
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