栏目分类:
子分类:
返回
名师互学网用户登录
快速导航关闭
当前搜索
当前分类
子分类
实用工具
热门搜索
名师互学网 > IT > 前沿技术 > 大数据 > 大数据系统

大数据内核调优建议

大数据内核调优建议

vim  /etc/sysctl.conf

net.ipv4.ip_local_port_range = 1024 65535
fs.inotify.max_user_instances= 8192
fs.inotify.max_queued_events= 16384
fs.inotify.max_user_watches= 524288
fs.file-max = 52706963
fs.nr_open = 52706963
kernel.threads-max = 25165824
kernel.pid_max = 655360
vm.max_map_count = 8388608
vm.dirty_background_ratio = 5
vm.dirty_ratio = 10
vm.dirty_writeback_centisecs = 300
kernel.shmmax = 123695058126
kernel.shmmni = 4096
kernel.shmall = 30198988
kernel.sem = 250 32000 100 128

生效内核配置:sysctl -p

vim /etc/security/limits.conf

root soft nofile 655360
root hard nofile 655360
root soft nproc 655360
root hard nproc 655360
* soft nproc 655360
* hard nproc 655360
* soft nofile 655360
* hard nofile 655360
* soft memlock unlimited
* hard memlock unlimited
* soft core unlimited
* hard core unlimited
* soft stack unlimited
* hard stack unlimited
* soft sigpending 655360
* hard sigpending 655360
转载请注明:文章转载自 www.mshxw.com
本文地址:https://www.mshxw.com/it/753070.html
我们一直用心在做
关于我们 文章归档 网站地图 联系我们

版权所有 (c)2021-2022 MSHXW.COM

ICP备案号:晋ICP备2021003244-6号