Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: Setting ulimit values in files on Redhat AS 2.1

Re: Setting ulimit values in files on Redhat AS 2.1

From: Andreas Korn <andreas.korn.NOSPAM_at_onlinehome.de>
Date: Wed, 30 Jun 2004 21:37:53 +0200
Message-ID: <cbv4qg$k37$1@online.de>


linuxquestion_at_yahoo.com wrote:

> Hello,
>
> I need to set a few parameters at boot time.
>
> They need to be:
> stack size (kbytes) (ulimit -s): 32768
> open files (ulimit -n): 4096
> max user processes (ulimit -u): 16384
>
> I know it's possible to fool around with scripts
> and/or echo commands. (Please don't bother
> telling me about them, I'm trying to avoid that.)
>
> However, I want to just set these values once in a
> file, such as in Sysctl.conf:
>
> fs.file-max = 131014
>
>
> Is it possible to set these ulimit values, in a file?
> What is the file? What is the secret?
>
>
> Thanks a lot

If you need these for a specific user, set them in the ~/.tcshrc or ~/.bashrc or whatever your user config for your shell is. If you want it systemwide, place files like limits.sh and limits.csh with the calls in /etc/profile.d .

Andreas Received on Wed Jun 30 2004 - 14:37:53 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US