当前位置:网站首页>Shut down THP of Splunk health check
Shut down THP of Splunk health check
2022-06-11 12:15:00 【shenghuiping2001】
One 、 brief introduction
Centos6 Start introducing THP,Centos7 Enabled by default , Used to improve memory performance .
Two 、 explain
Compete against some databases , Such as Oracle、MariaDB、MongoDB、VoltDB When use , requirement Close this function .
3、 ... and 、 See if... Is enabled
[[email protected] ~]# cat /sys/kernel/mm/transparent_hugepage/defrag [always] madvise never [[email protected] ~]# cat /sys/kernel/mm/transparent_hugepage/enabled [always] madvise never
Four 、 Ban
edit rc.local Startup file .
[[email protected] ~]# vim /etc/rc.d/rc.local Add the following : if test -f /sys/kernel/mm/transparent_hugepage/enabled; then echo never > /sys/kernel/mm/transparent_hugepage/enabled fi if test -f /sys/kernel/mm/transparent_hugepage/defrag; then echo never > /sys/kernel/mm/transparent_hugepage/defrag fi
Save and exit , And then to rc.local Add executable rights .
[[email protected] ~]# chmod +x /etc/rc.d/rc.local
The last restart .
--
If it doesn't restart :echo never > /sys/kernel/mm/transparent_hugepage/enabled
Then proceed splunk --> setting --> monitor console --> health check, You will also be prompted to pass .
Otherwise, it will prompt : Here's the picture :( The following figure shows yes 37 platform splunk server No ban THP)
![]()
边栏推荐
猜你喜欢

flink 部署模式和运行时架构(会话模式、单作业模式、应用模式,JobManager、TaskManager,YARN 模式部署以及运行时架构)

解决swagger文档接口404的问题

9、聊聊ThreadLocal

YARN 切换ResourceManager(Failed to connect to server:8032 retries get failed due to exceeded maximum)

Read geo expression matrix

9. Talk about ThreadLocal

Flink data flow graph, parallelism, operator chain, jobgraph and executiongraph, task and task slot

Splunk 健康检查之关闭THP

(推荐)splunk 多少数量search head 才合适

Notes on topic brushing (XIV) -- binary tree: sequence traversal and DFS, BFS
随机推荐
CentOS installation mysql5.7
Flink deployment mode and runtime architecture (session mode, single job mode, application mode, jobmanager, taskmanager, yarn mode deployment and runtime architecture)
Flick controls window behavior (trigger, remover, allow delay, put late data into side output stream)
Hang up the interviewer
YARN 切换ResourceManager(Failed to connect to server:8032 retries get failed due to exceeded maximum)
ZABBIX installation and configuration application
Golang uses XOR ^ to exchange two variables and encrypt / decrypt them
FTP server: downloading and using Serv-U
Adjust the array order so that odd numbers precede even numbers (C language)
mysql 导入宝塔中数据库data为0000-00-00,enum为null出错
Deep learning and CV tutorial (14) | image segmentation (FCN, segnet, u-net, pspnet, deeplab, refinenet)
微信授权获取手机号码
Use of RadioButton in QT
Wechat authorization to obtain mobile phone number
Wechat web developers, how to learn web development
异或的妙用(C语言)
Sulley fuzzer learning
Splunk 最佳实践-减轻captain 负担
Read geo expression matrix
Use cache to reduce network requests