Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Stuart Midgley <stuart@physics.uwa.edu.au>
To: axp-list@redhat.com, hanchul@kriss.re.kr
Subject: Re: limit or ulimit
Date: Tue, 08 Aug 2000 10:11:44 +0800	[thread overview]
Message-ID: <398F6C60.B99AFE2D@physics.uwa.edu.au> (raw)
In-Reply-To: Pine.GSO.4.21.0008071853250.8657-100000@krissol.kriss.re.kr

To modify the hard limits for your entire system, modify the file
/etc/initscript

	cat /etc/initscript

	ulimit -Hs 262144
	#Execute the program.
	eval exec "$4"

Bascially, when all the /etc/rc.d scripts are executed, they will be run
with stack hardlimit set to 256MB.  This includes the login control
process.

This means that in your .bashrc .cshrc you can do things like

	ulimit

and get a hard stack size set to 256MB.

Stu.



Hanchul Kim wrote:
> 
> Hi All,
> 
> I would appreicate if someone tells me how I can change the "hard limit" of
> "stacksize" as superuser.
> I am currently running RedHat 6.2 on Compaq DS10.
> 
> Thank you.
> 
> Hanchul Kim


-- 
<--------------------------------------------------------------------->
  Stuart Midgley                      |  stuart@physics.uwa.edu.au
  Department of Physics               |  +61 8 9380 7014   Work
  University of Western Australia     |  +61 8 9380 1014   Fax
  Nedlands   WA   6907                |      0413 565920   Mob




  reply	other threads:[~2000-08-08  2:12 UTC|newest]

Thread overview: 10+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2000-08-07  9:58 limit or ulimit Hanchul Kim
2000-08-08  2:11 ` Stuart Midgley [this message]
2000-08-08  2:40   ` Hanchul Kim
2000-08-08  2:45     ` Stuart Midgley
2000-08-08  6:58       ` Hanchul Kim
2000-08-08 12:41     ` Richard June
  -- strict thread matches above, loose matches on Subject: below --
2000-08-07 13:09 Kurt Ludwig
2000-08-07 20:52 ` W Bauske
2000-08-07 21:08   ` Michal Jaegermann
2000-08-07 21:24 Kurt Ludwig
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