已关闭
[Bug-Report|缺陷反馈]: memcache故障场景,2P 2D,client端销毁重建链,重建链失败,server端白名单配额耗尽 #829
lizhuolong创建于 25 天前关闭于 11 天前
CANN-robot
25 天前 评论:
25 天前 评论:
25 天前 将 JC_TJC 设为负责人
LQ_oy
25 天前 评论:
25 天前 评论:
关联PR:https://gitcode.com/cann/hcomm/pull/5004
预计上库时间:2026年9月4日


25 天前 将 LQ_OY 设为负责人,移除负责人 JC_TJC
25 天前 关联了pull request:[bugfix]for oneside communication destory channel and socket resource
24 天前 关联了pull request:[bugfix]for memcache destory channel and socket resource
Leewis
11 天前 评论:
11 天前 评论:
https://gitcode.com/cann/hcomm/pull/5004 对应PR已修改上库;


Thanks for sending an issue! Please fill in the following template to help quickly solve your problem.
Describe the current behavior / 问题描述 (Mandatory / 必填)
memcache池化故障场景,server端调用HcommChannelDestroy,进程保留,client端进程退出;随后发起重建链:
二次D2D建链UB状态机推动建链,socket获取异步接口结果失败,报错对端socket关闭,发现关闭原因为server端在channel destory时没有释放socket资源,导致白名单配额不可用,需要在HcommChannelDestroy中加上socket资源销毁
Environment / 环境信息 (Mandatory / 必填)
950PR Server
Steps to reproduce the issue / 重现步骤 (Mandatory / 必填)
memcache池化故障场景,server端调用HcommChannelDestroy,进程保留,client端进程退出;随后发起重建链
Describe the expected behavior / 预期结果 (Mandatory / 必填)
memcache池化故障场景,server端调用HcommChannelDestroy,进程保留,client端进程退出;随后发起重建链,重建链成功
Related log / screenshot / 日志 / 截图 (Mandatory / 必填)
[WARNING] HCCP(1938,python3):2026-09-01-15:11:08.316.847 [ra_hdc_async_socket.c:168]tid:2001,RaHdcAsyncHandleSocketRecv : [recv][ra_hdc_socket]socket has been closed. received_size is 0
[INFO] HCCP(1938,python3):2026-09-01-15:11:08.317.851 [ra_host.c:1838]tid:1981,ConverReturnCode : ConverReturnCode: orig_errcode[-261] curr_errcode[128207]
[ERROR] HCCL(1938,python3):2026-09-01-15:11:08.317.858 [orion_adapter_hccp.cc:1964][1981][HrtRaGetAsyncReqResult] failed, the asynchronous request error[128207], reqhandle[281462898297200].
[ERROR] HCCL(1938,python3):2026-09-01-15:11:08.319.994 [ub_mem_transport.cc:460][1981]Exception occurred: Network api exception: [HrtRaGetAsyncReqResult] failed, the asynchronous request error[128207], reqhandle[281462898297200].
Special notes for this issue/备注 (Optional / 选填)