摘要:
fd的数量决定了fd的最大值在Linux下,系统全部能够打开的fd总数为:/proc/sys/fs/file-max,取决于内存The file-max file /proc/sys/fs/file-max sets the maximum number of file-handles that the Linux kernel will allocate. We generally tune this file to improve the number of open files by increasing the value of /proc/sys/fs/file-max to som 阅读全文