Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

change linux root max file descriptors

# Check current limits
ulimit -a

vim /etc/security/limits.conf

# <user|group> <limit> <type> <amount>
* soft nofile 40000
* hard nofile 40000

reboot
 
PREVIOUS NEXT
Tagged: #change #linux #root #max #file #descriptors
ADD COMMENT
Topic
Name
7+4 =