Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Usenet -> c.d.o.server -> Re: Setting ulimit values in files on Redhat AS 2.1
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