已关闭
actraild 高并发 Trace 启动下,daemon概率性崩溃退出 #43
zhangxiaofeng-melody创建于  22 天前关闭于  15 天前
zhangxiaofeng-melody成员
22 天前 创建

1、复现脚本如下,执行时sh -x脚本执行
pkill -x actraild 2>/dev/null; sleep 2; rm -f /run/actrail/actraild.pid /run/actrail/control.sock /var/lib/actrail/actrail.sqlite* 2>/dev/null
actraild start; sleep 3; PID=(pgrep−xactraild);echo"actraildpid=(pgrep -x actraild); echo "actraild pid=PID"
for j in $(seq 1 3);do
for i in (seq 1 260); do actrailctl launch --name "conc_{i}" -- bash -c "sleep 1" & done
wait
for k in $(seq 1 10);do
pgrep -x actraild >/dev/null 2>&1 || exit 1
sleep 1
done
echo "--------------------round $j---------------------"
done

  • 影响: 高并发场景下 actraild 崩溃,所有正在进行的 Trace 丢失,daemon 需手动重启

2、candidate_max_count 、trace_state_max_count、active_trace_limit等变量的含义和默认值,需要资料里说明

likedislike
Zzhangxiaofeng-melody成员
22 天前 关联了里程碑:openEuler-26.09-DevStation-round2
openeuler-ci-botopeneuler-ci-bot成员
22 天前 将 lyhu、huzhengce、liumiao27、fromhsc、zhangxiaofeng-melody、gogoxiaoxiao、wqianli、leon-wang2021、kaitiandu 设为负责人
openeuler-ci-botopeneuler-ci-bot成员
22 天前 添加了label:sig/sig-intelligence
openeuler-ci-bot
openeuler-ci-bot成员
22 天前 评论:

Welcome To openEuler Community

Hey @zhangxiaofeng-melody , 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. You can self-configure the PR merge rules for this repository. For more details, please refer to Here.

Contact Guide

If you have any questions, please contact the SIG: sig-intelligence ,
and any of the maintainers: @fromhsc, @gogoxiaoxiao, @huzhengce, @kaitiandu, @leon-wang2021, @liumiao27, @lyhu, @wqianli ,
and any of the committers: @JDLihoo, @charlotteli, @huyizhen, @hypothesiser, @weli1, @xiangyou_xie, @yaozhenhe .

likedislike
Zzhangxiaofeng-melody成员
22 天前 修改了issue 的描述
JJDLihoo成员
15 天前 issue状态由 待办的 改变为 已确认
JJDLihoo成员
15 天前 issue状态由 已确认 改变为 已完成
JJDLihoo成员
15 天前 关闭了 issue
JDLihoo成员
15 天前 评论: