/etc/security/limits.conf | Unix Linux Forums | UNIX for Advanced & Expert Users

  Go Back    


UNIX for Advanced & Expert Users Expert-to-Expert. Learn advanced UNIX, UNIX commands, Linux, Operating Systems, System Administration, Programming, Shell, Shell Scripts, Solaris, Linux, HP-UX, AIX, OS X, BSD.

/etc/security/limits.conf

UNIX for Advanced & Expert Users


Closed Thread    
 
Thread Tools Search this Thread Display Modes
    #1  
Old 10-15-2007
praveen_b744 praveen_b744 is offline
Registered User
 
Join Date: Aug 2007
Last Activity: 24 August 2010, 9:15 AM EDT
Posts: 64
Thanks: 0
Thanked 0 Times in 0 Posts
Question /etc/security/limits.conf

HI,

To restrict the number of files and number of processes used the user we use the following configuration in the file /etc/security/limits.conf.[ I use this while installing the oracle database]

oracle soft nofile 65572
oracle hard nofile 65572
oracle soft noproc 16384
oracle soft noproc 16384

My question is what do the 'soft' and 'hard' mean?
Sponsored Links
    #2  
Old 10-15-2007
reborg's Avatar
reborg reborg is offline Forum Advisor  
Administrator Emeritus
 
Join Date: Mar 2005
Last Activity: 29 March 2012, 7:00 PM EDT
Location: Ireland
Posts: 4,464
Thanks: 0
Thanked 11 Times in 11 Posts
Soft limit is the default limit set when a user session starts and can be increased up to the the hard limit using ulimit. The hard limit is the absolute limit.

In you case both are the same so the value has a fixed maximum from the outset.
Sponsored Links
Closed Thread

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

More UNIX and Linux Forum Topics You Might Find Helpful
Thread Thread Starter Forum Replies Last Post
/etc/security/limits.conf NIS netgroup support rethink Linux 2 08-26-2011 07:20 PM
Modifying limits.conf & pam.d luft Red Hat 3 10-05-2009 09:51 AM
Solaris counterpart of /etc/security/limits.conf slash_blog Solaris 0 02-14-2008 06:47 AM
limits.conf shooroop UNIX for Dummies Questions & Answers 2 10-27-2005 07:07 PM
limits.conf dozy Linux 1 10-26-2005 11:12 AM



All times are GMT -4. The time now is 12:00 AM.