Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

purgePeriodically 导致阻塞 #225

Open
zqlpaopao opened this issue May 20, 2022 · 3 comments
Open

purgePeriodically 导致阻塞 #225

zqlpaopao opened this issue May 20, 2022 · 3 comments
Assignees
Labels
help wanted Extra attention is needed question Further information is requested

Comments

@zqlpaopao
Copy link

最新版的 v2.5.0 release后 仍然 purgePeriodically 循环 导致程序阻塞 ,是我用的不对吗
Type: delay
Time: May 21, 2022 at 12:01am (CST)
Duration: 20.02s, Total samples = 40s (199.80%)
Entering interactive mode (type "help" for commands, "o" for options)
(pprof) traces
Type: delay
Time: May 21, 2022 at 12:01am (CST)
Duration: 20.02s, Total samples = 40s (199.80%)
-----------+-------------------------------------------------------
20s runtime.selectgo
github.com/panjf2000/ants/v2.(*Pool).purgePeriodically

@zqlpaopao zqlpaopao added help wanted Extra attention is needed question Further information is requested labels May 20, 2022
@panjf2000
Copy link
Owner

代码贴一下。

@zqlpaopao
Copy link
Author

抱歉 代码不方便贴出来
相同代码 降了版本 是没有问题的

@Anderson-Lu
Copy link

我也遇到了

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
help wanted Extra attention is needed question Further information is requested
Projects
None yet
Development

No branches or pull requests

3 participants