LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   What is the difference btw. "soft nofile" and "hard nofile" by configuring open file? (https://www.linuxquestions.org/questions/linux-newbie-8/what-is-the-difference-btw-soft-nofile-and-hard-nofile-by-configuring-open-file-769637/)

thomas2004ch 11-17-2009 05:28 AM

What is the difference btw. "soft nofile" and "hard nofile" by configuring open file?
 
What is the difference between "soft nofile" and "hard nofile" by configuring 'open file'?

For example as below:
Code:

user1  soft  nofile  1000
user1  hard  nofile  2000


Disillusionist 11-17-2009 05:33 AM

As I understand it, the soft limit is a warning point, and the hard limit is a block.

User has 1000 files open, gets a warning but can continue.

User has 2000 files open, can't open file 2001


All times are GMT -5. The time now is 07:49 PM.