首页 诗词 字典 板报 句子 名言 友答 励志 学校 网站地图
当前位置: 首页 > 教程频道 > 操作系统 > UNIXLINUX >

linux 批改读取最大文件数

2012-07-18 
linux 修改读取最大文件数查看linux读取文件数量用 ulimit -n 查看如果是root 权限 可以用 ulimit -n size

linux 修改读取最大文件数
查看linux读取文件数量用 ulimit -n 查看
如果是root 权限 可以用 ulimit -n size 来修改linux读取额外年间数量
但是非root权限会报 limit command not found 的异常

非root权限的处理方法

If you want to set it permanently, especially for a particular user, change the file /etc/security/limits.conf to have the following lines (assume user = www-data)E.g.www-data hard nofile 65535www-data soft nofile 65535

热点排行