5. [HDP-准备] Maximum Open Files R
2018-08-31 本文已影响0人
aries228
1. 执行 如下 ulimit 检查系统最大可打卡的文件数
ulimit -Sn
ulimit -Hn
2. 如果以上两个名命令的output 小于10000,请执行如下命令
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
======================================================================================