linux modify the file open limit to the number

1, View Open File quantitative restrictions

ulimit -a
ulimit -n

2, temporary modification

ulimit -n 2048

3, permanent changes

vi /etc/security/limits.conf 
additional 
* Soft nofile 65535 
* 65535 Hard nofile 

previous note asterisk (*) to be retained

 

 

Guess you like

Origin www.cnblogs.com/asker009/p/11320449.html