pika icon indicating copy to clipboard operation
pika copied to clipboard

subscribe后执行ping会导致cpu 100%

Open thinkincloud opened this issue 7 months ago • 3 comments

Is this a regression?

Yes

Description

同一个客户端里执行subscribe后执行ping会导致cpu 100%,客户端用的是nodejs ioredis

nodejs 连接代码

client.subscribe("abc") client.ping();

Please provide a link to a minimal reproduction of the bug

No response

Screenshots or videos

No response

Please provide the version you discovered this bug in (check about page for version information)

version: pika:v3.5.5
OS: docker

Anything else?

No response

thinkincloud avatar May 16 '25 10:05 thinkincloud

Bot detected the issue body's language is not English, translate it automatically.


Title: =Execution of ping after subscribe will cause 100% of CPU

Issues-translate-bot avatar May 16 '25 10:05 Issues-translate-bot

可以打印一下堆栈信息吗?或者打印一下哪个线程导致cpu100%的?这边不太好复现

YuCai18 avatar Jun 19 '25 10:06 YuCai18

Bot detected the issue body's language is not English, translate it automatically.


Can you print the stack information? Or print which thread causes CPU 100%? Not easy to reappear here

Issues-translate-bot avatar Jun 19 '25 10:06 Issues-translate-bot