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
Thanks for your responses! This is what I did:
ulimit -a (root)
core file size (blocks) 0 data seg size (kbytes) unlimited file size (blocks) unlimited
open files 1024 pipe size (512 bytes) 8 stack size (kbytes) 8192 cpu time (seconds) unlimited max user processes 7168 virtual memory (kbytes) unlimited
Change /etc/security/limits.conf to include:
# - stack - max stack size (KB) * soft stack 32768 * hard stack 32768 # - nofile - max number of open files * soft nofile 65536 * hard nofile 65536 # - nproc - max number of processes * soft nproc 16384 * hard nproc 16384
reboot. Logging in as oracle92:
ulimit -a
core file size (blocks) 0 data seg size (kbytes) unlimited file size (blocks) unlimited
open files 65536 pipe size (512 bytes) 8 stack size (kbytes) 32768 cpu time (seconds) unlimited max user processes 16384 virtual memory (kbytes) unlimited ---------------------
linuxquestion_at_yahoo.com wrote in message news:<672ceaed.0406291647.436acd79_at_posting.google.com>...
> 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
Received on Thu Jul 01 2004 - 00:27:39 CDT