Operating System - Linux
1831043 Members
2416 Online
110019 Solutions
New Discussion

Re: /etc/security/limits.conf

 
SOLVED
Go to solution
Edwin Ruiz_2
Super Advisor

/etc/security/limits.conf

Hi:
i modified the file /etc/security/limits.conf for change values reported using ulimit command. problem is that if i logind with oracle user values no change. it works using root user only. why?

thanks
7 REPLIES 7
Chris Saunderson
Frequent Advisor

Re: /etc/security/limits.conf

According to the man page for limits.conf, did you specify the Oracle user? Unless you wish to set defaults across your system (using the '*' character), you need to specify the user.
Ted Nugent called. He wants his shirt back.
Edwin Ruiz_2
Super Advisor

Re: /etc/security/limits.conf

Yes.. i am using *
Muthukumar_5
Honored Contributor

Re: /etc/security/limits.conf

hai,

We can control ulimit informations over limits.conf file,


oracle core 0

specify the informations over there.

If you are using only default entry * defined items and details only will be for all users.

make the changes on limits.conf file and check what is

$ ulimit -a
saying

Easy to suggest when don't know about the problem!
Jeroen Peereboom
Honored Contributor
Solution

Re: /etc/security/limits.conf

L.S.

I added these lines to /etc/security/limits.conf:
oracle hard nofile 65536
oracle hard nproc 16384

Login with oracle account and check with ulimit -a.

Maybe the settings are set somewhere else too? .profile, .bashrc, ...

JP.
Jeroen Peereboom
Honored Contributor

Re: /etc/security/limits.conf

In my latest reply: use ulimit -aH if you set HARD limits..

JP.
Edwin Ruiz_2
Super Advisor

Re: /etc/security/limits.conf

Thanks for ur comments! do i nedd to reboot my system? i change limits.conf , but no works yet.
Edwin Ruiz_2
Super Advisor

Re: /etc/security/limits.conf

Problem is that when i login with user oracle, ulimit -a no show values in limits.conf, only when i login using root and then su - oracle, ulimit -a show values in limits.conf.