Unix/Linux 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.


UNIX for Advanced & Expert Users

Closed Linux or Unix Question    
Thread Tools Search this Thread Display Modes
Old Unix and Linux 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
Unix or Linux Question /etc/security/limits.conf


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
Old Unix and Linux 10-15-2007
reborg's Unix or Linux Image
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 12 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 Linux or Unix Question

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Linux 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 08:20 PM
Modifying limits.conf & pam.d luft Red Hat 3 10-05-2009 10:51 AM
Solaris counterpart of /etc/security/limits.conf slash_blog Solaris 0 02-14-2008 07:47 AM
limits.conf shooroop UNIX for Dummies Questions & Answers 2 10-27-2005 08:07 PM
limits.conf dozy Linux 1 10-26-2005 12:12 PM

All times are GMT -4. The time now is 02:23 AM.