Closed
【URMA】URMA 在 ubmad 和 ubcm 中为高频错误日志添加速率限制 #9038
close-shuleiAdd on  Apr 27Closed at  Apr 29
close-shulei
close-shulei
Apr 27 Create

【缺陷描述】:请补充详细的缺陷问题现象描述

将 ubmad 数据路径和 ubcm 发送路径中可能被高频触发的错误日志,从 ubcore_log_err 替换为带速率限制的 ubcore_log_err_rl。此举可在高负载或故障条件下(例如反复出现 “Invalid threshold, tx_in_queue” 或 “Failed to send cm message” 等错误时),有效防止系统日志泛洪(log flooding)。

一、缺陷信息

将 ubmad 数据路径和 ubcm 发送路径中可能被高频触发的错误日志,从 ubcore_log_err 替换为带速率限制的 ubcore_log_err_rl。

【缺陷所属的os版本】

NAME="openEuler"
VERSION="24.03 (LTS-SP3)"
ID="openEuler"
VERSION_ID="24.03"
PRETTY_NAME="openEuler 24.03 (LTS-SP3)"
ANSI_COLOR="0;31"

【内核版本】

6.6.0-145.0.4.606.oe2403sp3.aarch64

【缺陷所属软件及版本号】

kernel-devel-6.6.0-145.0.4.606.oe2403sp3.aarch64

【环境信息】

硬件信息

宿主机 aarch64
软件信息

umdk-urma-lib-25.12.0-B070.aarch64
umdk-urma-bin-25.12.0-B070.aarch64
umdk-urma-tools-25.12.0-B070.aarch64
umdk-urma-devel-25.12.0-B070.aarch64
umdk-urma-kmod-25.12.0-B070.aarch64
网络信息

2节点 1D fullmesh组网

【问题复现步骤】

urma触发建链操作

【实际结果】

err日志刷屏

【期望结果】

err日志不刷屏,每 5 秒最多 100 条日志

【其他相关附件信息】

【缺陷详情及分析指导参考链接】

二、缺陷分析结构反馈
影响性分析说明:

缺陷严重等级:(Critical/High/Moderate/Low)

缺陷根因说明:

受影响版本排查(受影响/不受影响):
openEuler-20.03-LTS-SP4
openEuler-22.03-LTS-SP3
openEuler-22.03-LTS-SP4
openEuler-24.03-LTS
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-SP2

修复是否涉及abi变化(是/否):
openEuler-20.03-LTS-SP4
openEuler-22.03-LTS-SP3
openEuler-22.03-LTS-SP4
openEuler-24.03-LTS
openEuler-24.03-LTS-SP1
openEuler-24.03-LTS-SP2

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
Apr 27 Added label: sig/Kernel
openeuler-ci-bot
openeuler-ci-botCollaborators
Apr 27 Comments:

Welcome To openEuler Community

Hey @close-shulei , thanks for your contribution to the community.

Bot Usage Manual

I'm the Bot here serving you. You can find the instructions on how to interact with me at Here . That means you can comment below every pull request or issue to trigger Bot Commands.

Contact Guide

If you have any questions, please contact the SIG: Kernel ,
and any of the maintainers: @hanjunguo, @oekernel, @sanglipeng, @zeng_zhaorong, @zhengzengkai ,
and any of the committers: @CTC-XiboWang, @Frank_Sae, @GongLei-, @LiuYongQiang0816, @SuperSix173, @Tankll2021, @TrueAI, @allen-shi, @baratta, @caixu-blue, @chenjiesong, @chenjunxin1992, @chenke2026, @chiqijun, @chriszjh, @duanqiangwen, @fangfeng123, @fanghaiqinghw, @gaojuxin09, @gouhao2022, @guzitao, @hanjunguo, @hanliyang, @hellotcc, @hewanhan, @hjx_gitff, @hongwu-wang, @htforge, @hu-chunzhi, @hunan4222, @jackknight, @jerry_lilijun, @junlong-zheng, @juntianlinux, @kailiu42, @kaitiandu, @kazero00, @kevinzhu1, @kile2009, @koishimind, @kongzizaixian, @kylin-mayukun, @leoliu-oc, @li-huisong, @linan888, @linyunsheng, @liulongfang, @lostway1, @luckky7, @lujialin2, @markyuan4ta21, @mingqian218472, @mufengyan, @pigalsofine, @qinirao, @robinorg, @rock_hw, @sanglipeng, @shu-shengming, @shuaijiakun, @sming56_admin, @stavewu, @stkid, @wangboe2022, @wenzhiwei11, @whoisxxx, @wkfxxx, @woqidaideshi, @wsoydl, @xingmz1, @xukuohai, @yeweihua999, @ygn-ndwd-official, @yonghu_4dc5, @young-sun, @yuehaibing_planb, @yuzenghui1, @zhang-changzhong, @zhangyi089, @zhujianwei001, @zichengqu, @zqiao216 .

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
Apr 27 changed custom state from 已挂起 to 待办的
openeuler-ci-bot
openeuler-ci-botCollaborators
Apr 27 Comments:

@
issue变更为 [已取消/已挂起] 状态前,请操作者填写相关原因
请按如下格式评论原因后,重新进行操作


/reason xxxxxx

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
Apr 27 Assign allen-shi as responsible person
openeuler-ci-botopeneuler-ci-botCollaborators
Apr 27 Modify description of issue
openeuler-ci-bot
openeuler-ci-botCollaborators
Apr 27 Comments:

以下的要求不是强制性的, 未按模板评论时对issue无任何影响
issue处理注意事项:
1. 当前issue受影响的分支提交pr时, 须在pr描述中填写当前issue编号进行关联, 否则无法关闭当前issue;
2. 模板内容需要填写完整, 无论是受影响或者不受影响都需要填写完整内容,未引入的分支不需要填写, 否则无法关闭当前issue;
3. 以下为模板中需要填写完整的内容, 请复制到评论区回复, 注: 内容的标题名称(影响性分析说明, 缺陷严重等级, 受影响版本排查(受影响/不受影响), 修复是否涉及abi变化(是/否))不能省略,省略后defect-manager将无法正常解析填写内容.
评论区可能使用到的指令说明:

指令 指令说明 使用权限
/check-issue 触发defect-manager校验 不限
/reason xxx /reason +挂起或取消条件 不限

影响性分析说明:

缺陷严重等级:(Critical/High/Moderate/Low)

缺陷根因说明:

受影响版本排查(受影响/不受影响):

  1. openEuler-20.03-LTS-SP4:
  2. openEuler-22.03-LTS-SP3:
  3. openEuler-22.03-LTS-SP4:
  4. openEuler-24.03-LTS:
  5. openEuler-24.03-LTS-SP1:
  6. openEuler-24.03-LTS-SP2:

abi变化(是/否):

  1. openEuler-20.03-LTS-SP4:
  2. openEuler-22.03-LTS-SP3:
  3. openEuler-22.03-LTS-SP4:
  4. openEuler-24.03-LTS:
  5. openEuler-24.03-LTS-SP1:
  6. openEuler-24.03-LTS-SP2:

缺陷issue处理具体操作请参考:
https://atomgit.com/openeuler/cve-manager/blob/master/cve-vulner-manager/doc/md/defect-manager-manual.md
pr关联issue具体操作请参考:
https://docs.atomgit.com/docs/help/home/org_project/pullrequests/pr-related-issue

likedislike
openeuler-ci-botopeneuler-ci-botCollaborators
Apr 27 Added label: DEFECT/UNFIXED
close-shuleiclose-shulei
Apr 27 Associated pull request
close-shuleiclose-shulei
Apr 27 changed custom category from 内核缺陷 to 缺陷
close-shuleiclose-shulei
Apr 27 Modify description of issue
close-shuleiclose-shulei
Apr 27 changed custom category from 缺陷 to 内核缺陷
close-shuleiclose-shulei
Apr 27 Change title to "【URMA】URMA 在 ubmad 和 ubcm 中为高频错误日志添加速率限制", originally titled "【OLK-6.6】URMA 在 ubmad 和 ubcm 中为高频错误日志添加速率限制".
close-shuleiclose-shulei
Apr 27 Modify description of issue
openeuler-ci-botopeneuler-ci-botCollaborators
Apr 29 Close issue