You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using go-ethereum library as depednecy in my app for some types parsing. Not running geth rtc..
When upgrading from 1.14.11 to 1.15.2 the goleak started screaming.
Look like this PR #30814 introduced loop() goroutine that always stay active. there is no way to stop it. Also for the code that only refers dependency library for type parsing it's unclear why whole metrics system is initialized now.
System information
go-ethereum version: v1.15.2
Expected behaviour
metrics are not initialized and no extra goroutines spawned
main_test.go:18: found unexpected goroutines:
[Goroutine 3 in state chan receive, with github.com/ethereum/go-ethereum/metrics.(*meterTicker).loop on top of the stack:
github.com/ethereum/go-ethereum/metrics.(*meterTicker).loop(0x104783420)
/Users/demon/.gvm/pkgsets/go1.22.10/global/pkg/mod/github.com/ethereum/[email protected]/metrics/meter.go:159 +0x50
created by github.com/ethereum/go-ethereum/metrics.(*meterTicker).add in goroutine 1
/Users/demon/.gvm/pkgsets/go1.22.10/global/pkg/mod/github.com/ethereum/[email protected]/metrics/meter.go:145 +0xc8
When submitting logs: please submit them as text and not screenshots.
The text was updated successfully, but these errors were encountered:
Using go-ethereum library as depednecy in my app for some types parsing. Not running geth rtc..
When upgrading from 1.14.11 to 1.15.2 the
goleak
started screaming.Look like this PR #30814 introduced loop() goroutine that always stay active. there is no way to stop it. Also for the code that only refers dependency library for type parsing it's unclear why whole metrics system is initialized now.
System information
go-ethereum version:
v1.15.2
Expected behaviour
metrics are not initialized and no extra goroutines spawned
Actual behaviour
meter.go loop() keeps running in goroutine()
Steps to reproduce the behaviour
Backtrace
When submitting logs: please submit them as text and not screenshots.
The text was updated successfully, but these errors were encountered: