ubuntu修改 ulimit -c unlimit
Ubuntu 修改 ulimit
2023-09-14 09:08:24 时间
1> 修改配置文件
sudo vim /etc/security/limits.conf
添加:
root soft nofile 65535
root hard nofile 65535
root soft noproc 65535
root hard noproc 65535
非root用户需再另行配置:
sudo vim /etc/systemd/system.conf
修改:
DefaultLimitNOFILE=65535
2> 重启
3> 查询结果
ulimit -n
配置项说明:
root: 配置的目标用户
soft: 软限制
hard: 硬限制
nofile: 文件描述符限制
noproc: 进程数限制
相关文章
- Ubuntu 14 如何打开 .chm格式文档?
- ubuntu开启ssh服务
- 新手编译开发OpenWrt入门教程(自定义固件、ubuntu学习)
- Andorid开发学习---ubuntu 12.04下搭建超好用的安卓模拟器genymotion 安装卸载virtualbox 4.3
- linux(ubuntu 21.10): apt-get安装mysql8.0.27
- linux(ubuntu 20.10):安装composer 2.0.8及thinkphp 6.0.5(php 7.4.9)
- Ubuntu 中/etc/resolv.conf 文件修改丢失的解决方案
- ubuntu服务器编译源码
- Ubuntu报“xxx is not in the sudoers file.This incident will be reported” 错误解决方法
- System之Ubuntu:VMware虚拟机 Ubuntu安装详细过程(图文教程,最强攻略,步骤详细,建议收藏)
- 修改ubuntu上的pycharm镜像源,详细步骤
- 怎么把ubuntu系统从英文修改为中文界面
- ubuntu riscv-gnu-toolchain工具链下载安装
- ubuntu 16.04.7 LTS 修改 ssh默认端口号 ssh服务重新启动不了
- ubuntu 16.04 boot 启动报错 dns-clean.service 、plymouth-quit.service 未解决
- Ubuntu修改su和sudo密码
- ubuntu 安装 ipfs 0.5.1
- ssh localhost报错解决:ubuntu@localhost: Permission denied (publickey).