文章目录 open file limit open file limit 修改方法: (1)ulimit -HSn 102400 # 当前终端有效,退出之后,open files 又变为默认值。 (2)将ulimit -HSn 102400写到/etc/profile中,因为每次登录终端时,都会自动执行/etc/profile。 (3)令修改open files的数值永久生效,则必须修改配置文件:/etc/security/limits.conf. 在这个文件后加上: * soft nofile 102400 * hard nofile 102400 重启