Splunk on CentOS 6 相关系统参数调整

时间:2022-09-20 21:37:41

for Splunk forwarder, indexer, search head

ulimit -n

vi /etc/security/limits.conf

*         soft    nofile       65535
*         hard    nofile       65535


ulimit -u

vi /etc/security/limits.d/90-nproc.conf

*          soft    nproc     65535
*          hard    nproc     65535
root       soft    nproc     65535
root       hard    nproc     65535


disable Transparent Huge Page

echo "echo never > /sys/kernel/mm/redhat_transparent_hugepage/enabled" >> /etc/rc.local
echo "echo never > /sys/kernel/mm/redhat_transparent_hugepage/defrag" >> /etc/rc.local
echo "echo no > /sys/kernel/mm/redhat_transparent_hugepage/khugepaged/defrag" >> /etc/rc.local

本文出自 “Ilovecat(个人笔记)” 博客,请务必保留此出处http://hj192837.blog.51cto.com/655995/1773313