Skip to content

goleak in the gctuner.(*memoryLimitTuner).tuning #41524

@hawkingrei

Description

@hawkingrei

Bug Report

Please answer these questions before submitting your issue. Thanks!

1. Minimal reproduce step (Required)

2. What did you expect to see? (Required)

3. What did you see instead (Required)

goleak: Errors on successful test run: found unexpected goroutines:
[Goroutine 20408 in state sleep, with time.Sleep on top of the stack:
goroutine 20408 [sleep]:
time.Sleep(0xdf8475800)
	/opt/homebrew/Cellar/go/1.19.5/libexec/src/runtime/time.go:195 +0x118
github.com/pingcap/tidb/util/gctuner.(*memoryLimitTuner).tuning.func1()
	/Users/weizhenwang/devel/opensource/tidb/util/gctuner/memory_limit_tuner.go:74 +0x10c
created by github.com/pingcap/tidb/util/gctuner.(*memoryLimitTuner).tuning
	/Users/weizhenwang/devel/opensource/tidb/util/gctuner/memory_limit_tuner.go:64 +0x15c
]

4. What is your TiDB version? (Required)

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions