【标题描述】:
gs_checkos A6检查项无法消除warning
【测试类型:工具功能】【测试版本:2.0.0】
问题描述
gs_checkos A6检查项无法消除warning
A6项目vm.min_free_kbytes值手动改为期待值后执行gs_checkos,vm.min_free_kbytes会被改为不符合期待值。
【操作系统和硬件信息】(查询命令: cat /etc/system-release, uname -a):
FusionOS release 22
Linux wuxshcsitd05975 4.19.90-2112.8.0.0131.u32.fos22.x86_64 #1 SMP Tue Apr 5 16:46:02 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
【测试环境】(单机/1主x备x级联备):
1主1备
【被测功能】:
【测试类型】:
【数据库版本】(查询命令: gaussdb –V):
【预置条件】:
【操作步骤】(请填写详细的操作步骤):
【预期输出】:
没有warning
【实际输出】:
有warning
【原因分析】:
【日志信息】(请附上日志文件、截图、coredump信息):
【测试代码】:
Hey @姜植皓, Welcome to openGauss Community.
All of the projects in openGauss Community are maintained by @opengauss-bot.
That means the developers can comment below every pull request or issue to trigger Bot Commands.
Please follow instructions at Here to find the details.
此处可能存在不合适展示的内容,页面不予展示。您可通过相关编辑功能自查并修改。
如您确认内容无涉及 不当用语 / 纯广告导流 / 暴力 / 低俗色情 / 侵权 / 盗版 / 虚假 / 无价值内容或违法国家有关法律法规的内容,可点击提交进行申诉,我们将尽快为您处理。
Hi @姜植皓,
if you want to get quick review about your issue, please contact the owner in first: @Dawson ,
and then any of the maintainers: @Dawson , @qiumc
and then any of the committers: @joker , @hangjin2020 , @travelliu , @vimiix , @刘珲
if you have any question, please contact the SIG: OM.
修改参数,建议在 /etc/sysctl.conf 中修改
操作步骤:
1.修改之前的参数,可以看到vm.min_free_kbytes=8:q88918
2.执行./gs_checkos,vm.min_free_kbytes有warning
3.修改参数 vim /etc/sysctl.conf,改成期望的值
4.执行sysctl -p 生效参数
再次执行 ./gs_checkos ,可以看到已经,vm.min_free_kbytes的warning已经消失了
该问题由于联系不到提单人,已在社区公示2个月,非问题,所以将问题单关闭
登录 后才可以发表评论