https://access.redhat.com/solutions/2733921
Sysctl.conf parameters overridden by Tuned
环境
- Red Hat Enterprise Linux 5
- Red Hat Enterprise Linux 6
- Red Hat Enterprise Linux 7
问题
- Settings in
/etc/sysctl.confget overridden bytuned
决议
To set custom parameters in /etc/sysctl.conf, tuned needs to be disabled first
- RHEL 5 and RHEL 6
# service tuned stop
# chkconfig tuned off
# service ktune stop
# chkconfig ktune off
OR
# tuned-adm off
- RHEL 7
# systemctl stop tuned
# systemctl disable tuned
# systemctl stop ktune
# systemctl disable ktune
根源
Tuned profiles take precedence over other values on the system.
诊断步骤
Check if tuned is enabled on the system
- RHEL 5 and RHEL 6
chkconfig tuned
OR
chkconfig ktune
- RHEL 7
systemctl status tuned
OR
systemctl status ktune
Tuned覆盖Sysctl.conf参数问题解析

博客围绕Sysctl.conf参数被Tuned覆盖的问题展开。介绍了在Red Hat Enterprise Linux 5、6、7环境下出现此问题,给出的决议是设置自定义参数时需先禁用Tuned,根源是Tuned配置文件优先级高,还提供了诊断系统中Tuned是否启用的步骤。
3509

被折叠的 条评论
为什么被折叠?



