Hi,

I want to change for maximum number of open file descriptors and maximum
number of processes for oracle user. But I am getting the above erroe
message. Can anyone help me?

Here the details about my system:

ite90084:~ # more /etc/SuSE-release

openSUSE 10.2 (X86-64)

VERSION = 10.2


ite90084:~ # uname -a

Linux ite90084 2.6.18.2-34-default #1 SMP Mon Nov 27 11:46:27 UTC 2006 x86_64 
x86_64 x86_64 GNU/Linux


ite90084:~ # ulimit -a

core file size          (blocks, -c) 0

data seg size           (kbytes, -d) unlimited

file size               (blocks, -f) unlimited

pending signals                 (-i) 16120

max locked memory       (kbytes, -l) 32

max memory size         (kbytes, -m) 1723460

open files                      (-n) 1024

pipe size            (512 bytes, -p) 8

POSIX message queues     (bytes, -q) 819200

stack size              (kbytes, -s) 8192

cpu time               (seconds, -t) unlimited

max user processes              (-u) 16120

virtual memory          (kbytes, -v) 4982880

file locks                      (-x) unlimited


To change the parameters, I added these lines to  /etc/security/limits.conf

oracle              soft    nproc   2047

oracle              hard    nproc   16384

oracle              soft    nofile  1024

oracle              hard    nofile  65536


and to /etc/pam.d/login

session  required       pam_limits.so


and to /etc/profile.local

if [ $USER = "oracle" ]; then

        if [ $SHELL = "/bin/ksh" ]; then

                ulimit -p 16384

                ulimit -n 65536

        else

                ulimit -u 16384 -n 65536

        fi

fi


regards,
Samatha

-- 
Samatha Kottha
Zentrum für Informationsdienste und Hochleistungsrechnen (ZIH)
Technische Universität Dresden                  Tel: (+49) 351 463-38776
Room 1019                                       Fax: (+49) 351 463-38245
Noethnitzer Straße 46 
01187 Dresden
Germany 

--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to