Axp-List Archive
Re: limit or ulimit

Subject: Re: limit or ulimit
From: Stuart Midgley (stuart@physics.uwa.edu.au)
Date: Mon Aug 7 19:11:44 2000


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

_______________________________________________ Axp-list mailing list Axp-list@redhat.com https://listman.redhat.com/mailman/listinfo/axp-list



This archive was generated by hypermail version 2a22 on Fri Sep 1 05:03:57 2000 PDT
Send any problems or questions about this archive to webmaster@alphalinux.org.