Problem with oracle ulimit on RedHat AS 3

Problem with oracle ulimit on RedHat AS 3

Post by jdevrobert » Thu, 03 Mar 2005 08:03:24


Dear usenet,

I need help with the linux bash command: ulimit.

When I run it from my oracle account,
I see this:

ulimit -u 16384 -n 65536
bash: ulimit: max user processes: cannot modify limit: Operation not
permitted

I'd like to get the command working.

According to my Oracle docs I need to edit 2 files:

Add the following lines to /etc/security/limits.conf file:

* soft nproc 2047
* hard nproc 16384
* soft nofile 2048
* hard nofile 65536

Add the following line to the /etc/pam.d/login file:

session required /lib/security/pam_limits.so

So, I edited the above 2 files and then rebooted.

I still get the ulimit error.

Anyone out there see this problem and know how to fix it?

Here is info about my redhat AS:

royal:/etc# uname -a
Linux royal.pain.com 2.4.21-27.0.1.ELsmp #1 SMP Fri Dec 24 01:28:09 GMT
2004 i686 i686 i386 GNU/Linux
royal:/etc#


-moi
 
 
 

Problem with oracle ulimit on RedHat AS 3

Post by jdevrobert » Fri, 04 Mar 2005 07:29:55

Hi again,
I got a clue over at c.d.o.s:

the clue sent me here:
http://www.yqcomputer.com/ +ulimit+linux+bug&btnG=Googl...

http://www.yqcomputer.com/

So, be sure to include the configuration statement
"UsePrivilegeSeparation no"
in your sshd configuration file (found in /etc/ssh/sshd_config).

-moi