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

[Bug]: wait-active queue size does not match the actual number of goroutines #20468

Open
1 task done
aylei opened this issue Nov 29, 2024 · 3 comments
Open
1 task done
Assignees
Labels
kind/bug Something isn't working severity/s-1
Milestone

Comments

@aylei
Copy link
Contributor

aylei commented Nov 29, 2024

Is there an existing issue for the same bug?

  • I have checked the existing issues.

Branch Name

2.0-dev

Commit ID

1f3926e

Other Environment Information

- Hardware parameters:
- OS type:
- Others:

Actual Behavior

image

CN has over 100K wait active queue size.

But there are only 200 goroutines waiting in waitActive stack:

profile: gorutines.txt

Also, there is no explicit goroutine hold txn handler in the goroutine list.

Expected Behavior

Wait active queue size should be correct.

Steps to Reproduce

see https://grafana.cn-dev.matrixone.tech/goto/CTg6Gq7Ng?orgId=1

Additional information

No response

@aylei aylei added kind/bug Something isn't working needs-triage labels Nov 29, 2024
@daviszhen
Copy link
Contributor

从goroutine文件看,(*MOServer).handleConn( 的个数 与 (*waiter).wait(的个数相同。大概100个。
初步看不是fe的线程导致的active queue size异常。

@zhangxu19830126
Copy link
Contributor

fixed

@TangxingZhou
Copy link

升级后未再复现

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working severity/s-1
Projects
None yet
Development

No branches or pull requests

5 participants