1. 執(zhí)行 如下 ulimit 檢查系統(tǒng)最大可打卡的文件數(shù)
????ulimit -Sn
????ulimit -Hn
2. 如果以上兩個名命令的output 小于10000捺弦,請執(zhí)行如下命令
????ulimit -n 10000
===================================from hortonworks======================================
The recommended maximum number of open file descriptors is 10000, or more. To check the current value set for the maximum number of open file descriptors, execute the following shell commands on each host:
ulimit -Sn
ulimit -Hn
If the output is not greater than 10000, run the following command to set it to a suitable default:
ulimit -n 10000
======================================================================================