0
点赞
收藏
分享

微信扫一扫

相机专业模型详解,各个参数作用,专业模式英文全称和缩写

1.vm.max_map_count

1.1 修改 /etc/sysctl.conf

只添加最后vm值即可,sysctl -p /etc/sysctl.conf

net.ipv4.conf.all.accept_redirects=0
net.ipv4.tcp_tw_reuse=1
net.ipv4.tcp_tw_recycle=1
net.ipv4.tcp_fin_timeout=5
net.ipv4.tcp_keepalive_time=60
net.ipv4.ip_local_port_range=21000 61000
fs.file-max=6553500
kernel.sem=250 32000 100 128
vm.max_map_count = 262144

# sudo sysctl -p /etc/sysctl.conf
net.ipv4.conf.all.accept_redirects = 0
net.ipv4.tcp_tw_reuse = 1
sysctl: cannot stat /proc/sys/net/ipv4/tcp_tw_recycle: No such file or directory
net.ipv4.tcp_fin_timeout = 5
net.ipv4.tcp_keepalive_time = 60
net.ipv4.ip_local_port_range = 21000 61000
fs.file-max = 6553500
kernel.sem = 250 32000 100 128
vm.max_map_count = 262144

 2.bootstrap checks failed

 2.1 修改/etc/security/limits.conf

* soft nofile 60000
* hard nofile 65536
* soft nproc 65536
* hard nproc 65536
* soft memlock unlimited
* hard memlock unlimited

 

举报

相关推荐

0 条评论