Справочник по Debian

       

Too many open files


The Linux kernel may complain "Too many open files". This is due to the small default value (8096) for file-max. To fix this problem, run the following command as root:

# echo "65536" > /proc/sys/fs/file-max # for 2.2 and 2.4 kernel # echo "131072" > /proc/sys/fs/inode-max # for 2.2 kernel only

or put the following into /etc/sysctl.conf for the permanent change:

file-max=65536 # for 2.2 and 2.4 kernel inode-max=131072 # for 2.2 kernel only



Содержание раздела