当安装alluxio时,出现允许打开的文件数目过小问题: The user limit for number of open files is too small. The current value is 4096. For production use, it should be bigger than 16384 解决方法: #查看当前系统允许打开文件数目 cat /proc/sys/fs/file-max #查看用户可以打开的文件数目 # Check Hard Limit in Linux ulimit -Hn # Check Soft Limits in Linux ulimit -Sn #修改系统 sysctl -w fs.file-max=500000 # 临时生效; vi /etc/sysctl.conf # 永久生效 cat /proc/sys/fs/file-max 验证 sysctl -p # 修改立即生效; # 修改用户限制 参考链接: |
|