Skip to content

Downloader: see much tryCreateMorePieceHashers goroutines #13988

Open
@AskAlexSharov

Description

Recent gnosis crush report was 700K lines.

cat /erigon-logs/erigon-process.log.2025-02-26 | grep tryCreateMorePieceHashers | wc -l
8722

Part of it:

goroutine 4116 gp=0xc0001da8c0 m=nil [select, 1237 minutes]:
runtime.gopark(0xc040da6760?, 0x2?, 0x80?, 0xd1?, 0xc040da6674?)
	runtime/proc.go:435 +0xce fp=0xc040da64e8 sp=0xc040da64c8 pc=0x49d04e
runtime.selectgo(0xc040da6760, 0xc040da6670, 0xc00103d320?, 0x0, 0x100000000000000?, 0x1)
	runtime/select.go:351 +0x837 fp=0xc040da6620 sp=0xc040da64e8 pc=0x479737
github.com/anacrolix/torrent.(*Torrent).processHashResults(0xc081938808, 0xc07c3d2ee0)
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/torrent.go:2910 +0x1af fp=0xc040da67c0 sp=0xc040da6620 pc=0x106f9af
github.com/anacrolix/torrent.(*Torrent).tryCreateMorePieceHashers.func1.gowrap2()
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/torrent.go:2791 +0x25 fp=0xc040da67e0 sp=0xc040da67c0 pc=0x106eda5
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc040da67e8 sp=0xc040da67e0 pc=0x4a4ae1
created by github.com/anacrolix/torrent.(*Torrent).tryCreateMorePieceHashers.func1 in goroutine 4049
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/torrent.go:2791 +0x127

goroutine 13118 gp=0xc0001daa80 m=nil [select, 1237 minutes]:
runtime.gopark(0xc0918077a0?, 0x2?, 0x60?, 0x76?, 0xc09180778c?)
	runtime/proc.go:435 +0xce fp=0xc091807618 sp=0xc0918075f8 pc=0x49d04e
runtime.selectgo(0xc0918077a0, 0xc091807788, 0xc091ad2ab4?, 0x0, 0x78dc?, 0x1)
	runtime/select.go:351 +0x837 fp=0xc091807750 sp=0xc091807618 pc=0x479737
github.com/anacrolix/torrent.(*trackerScraper).Run.func1()
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/tracker_scraper.go:248 +0xb0 fp=0xc0918077e0 sp=0xc091807750 pc=0x1079750
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc0918077e8 sp=0xc0918077e0 pc=0x4a4ae1
created by github.com/anacrolix/torrent.(*trackerScraper).Run in goroutine 13394
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/tracker_scraper.go:246 +0xfe

goroutine 4114 gp=0xc0001dac40 m=nil [select, 1237 minutes]:
runtime.gopark(0xc040da5f60?, 0x2?, 0x1f?, 0x66?, 0xc040da5e74?)
	runtime/proc.go:435 +0xce fp=0xc040da5ce8 sp=0xc040da5cc8 pc=0x49d04e
runtime.selectgo(0xc040da5f60, 0xc040da5e70, 0xc00103d320?, 0x0, 0x100000000000000?, 0x1)
	runtime/select.go:351 +0x837 fp=0xc040da5e20 sp=0xc040da5ce8 pc=0x479737
github.com/anacrolix/torrent.(*Torrent).processHashResults(0xc081dab808, 0xc07c3d2e70)
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/torrent.go:2910 +0x1af fp=0xc040da5fc0 sp=0xc040da5e20 pc=0x106f9af
github.com/anacrolix/torrent.(*Torrent).tryCreateMorePieceHashers.func1.gowrap2()
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/torrent.go:2791 +0x25 fp=0xc040da5fe0 sp=0xc040da5fc0 pc=0x106eda5
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc040da5fe8 sp=0xc040da5fe0 pc=0x4a4ae1
created by github.com/anacrolix/torrent.(*Torrent).tryCreateMorePieceHashers.func1 in goroutine 4071
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/torrent.go:2791 +0x127

goroutine 9284 gp=0xc0001dae00 m=nil [select, 1237 minutes]:
runtime.gopark(0xc095ae6f60?, 0x2?, 0x8f?, 0x2c?, 0xc095ae6e74?)
	runtime/proc.go:435 +0xce fp=0xc095ae6ce8 sp=0xc095ae6cc8 pc=0x49d04e
runtime.selectgo(0xc095ae6f60, 0xc095ae6e70, 0xc00103d320?, 0x0, 0x100000000000000?, 0x1)
	runtime/select.go:351 +0x837 fp=0xc095ae6e20 sp=0xc095ae6ce8 pc=0x479737
github.com/anacrolix/torrent.(*Torrent).processHashResults(0xc0961c3008, 0xc0427d0fc0)
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/torrent.go:2910 +0x1af fp=0xc095ae6fc0 sp=0xc095ae6e20 pc=0x106f9af
github.com/anacrolix/torrent.(*Torrent).tryCreateMorePieceHashers.func1.gowrap2()
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/torrent.go:2791 +0x25 fp=0xc095ae6fe0 sp=0xc095ae6fc0 pc=0x106eda5
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc095ae6fe8 sp=0xc095ae6fe0 pc=0x4a4ae1
created by github.com/anacrolix/torrent.(*Torrent).tryCreateMorePieceHashers.func1 in goroutine 9265
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/torrent.go:2791 +0x127

goroutine 4091 gp=0xc0001dafc0 m=nil [select, 1237 minutes]:
runtime.gopark(0xc0411a8760?, 0x2?, 0xcb?, 0x8?, 0xc0411a8674?)
	runtime/proc.go:435 +0xce fp=0xc0411a84e8 sp=0xc0411a84c8 pc=0x49d04e
runtime.selectgo(0xc0411a8760, 0xc0411a8670, 0xc00103d320?, 0x0, 0x100000000000000?, 0x1)
	runtime/select.go:351 +0x837 fp=0xc0411a8620 sp=0xc0411a84e8 pc=0x479737
github.com/anacrolix/torrent.(*Torrent).processHashResults(0xc081647408, 0xc000b1b7a0)
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/torrent.go:2910 +0x1af fp=0xc0411a87c0 sp=0xc0411a8620 pc=0x106f9af
github.com/anacrolix/torrent.(*Torrent).tryCreateMorePieceHashers.func1.gowrap2()
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/torrent.go:2791 +0x25 fp=0xc0411a87e0 sp=0xc0411a87c0 pc=0x106eda5
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc0411a87e8 sp=0xc0411a87e0 pc=0x4a4ae1
created by github.com/anacrolix/torrent.(*Torrent).tryCreateMorePieceHashers.func1 in goroutine 4090
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/torrent.go:2791 +0x127

goroutine 13080 gp=0xc0001db180 m=nil [select, 1237 minutes]:
runtime.gopark(0xc091347fa0?, 0x2?, 0x60?, 0x7e?, 0xc091347f8c?)
	runtime/proc.go:435 +0xce fp=0xc091347e18 sp=0xc091347df8 pc=0x49d04e
runtime.selectgo(0xc091347fa0, 0xc091347f88, 0xfe00000?, 0x0, 0x10000000?, 0x1)
	runtime/select.go:351 +0x837 fp=0xc091347f50 sp=0xc091347e18 pc=0x479737
github.com/anacrolix/torrent.(*trackerScraper).Run.func1()
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/tracker_scraper.go:248 +0xb0 fp=0xc091347fe0 sp=0xc091347f50 pc=0x1079750
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc091347fe8 sp=0xc091347fe0 pc=0x4a4ae1
created by github.com/anacrolix/torrent.(*trackerScraper).Run in goroutine 13037
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/tracker_scraper.go:246 +0xfe

goroutine 13119 gp=0xc0001db340 m=nil [select, 1237 minutes]:
runtime.gopark(0xc0918dc7a0?, 0x2?, 0x60?, 0xc6?, 0xc0918dc78c?)
	runtime/proc.go:435 +0xce fp=0xc0918dc618 sp=0xc0918dc5f8 pc=0x49d04e
runtime.selectgo(0xc0918dc7a0, 0xc0918dc788, 0x0?, 0x0, 0x0?, 0x1)
	runtime/select.go:351 +0x837 fp=0xc0918dc750 sp=0xc0918dc618 pc=0x479737
github.com/anacrolix/torrent.(*trackerScraper).Run.func1()
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/tracker_scraper.go:248 +0xb0 fp=0xc0918dc7e0 sp=0xc0918dc750 pc=0x1079750
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc0918dc7e8 sp=0xc0918dc7e0 pc=0x4a4ae1
created by github.com/anacrolix/torrent.(*trackerScraper).Run in goroutine 13462
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/tracker_scraper.go:246 +0xfe

goroutine 4147 gp=0xc0001db500 m=nil [select, 1237 minutes]:
runtime.gopark(0xc081d11760?, 0x2?, 0x2e?, 0x7d?, 0xc081d11674?)
	runtime/proc.go:435 +0xce fp=0xc081d114e8 sp=0xc081d114c8 pc=0x49d04e
runtime.selectgo(0xc081d11760, 0xc081d11670, 0xc00103d320?, 0x0, 0x100000000000000?, 0x1)
	runtime/select.go:351 +0x837 fp=0xc081d11620 sp=0xc081d114e8 pc=0x479737
github.com/anacrolix/torrent.(*Torrent).processHashResults(0xc0815ad408, 0xc000b1b960)
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/torrent.go:2910 +0x1af fp=0xc081d117c0 sp=0xc081d11620 pc=0x106f9af
github.com/anacrolix/torrent.(*Torrent).tryCreateMorePieceHashers.func1.gowrap2()
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/torrent.go:2791 +0x25 fp=0xc081d117e0 sp=0xc081d117c0 pc=0x106eda5
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc081d117e8 sp=0xc081d117e0 pc=0x4a4ae1
created by github.com/anacrolix/torrent.(*Torrent).tryCreateMorePieceHashers.func1 in goroutine 4032
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/torrent.go:2791 +0x127

goroutine 6792 gp=0xc0001db6c0 m=nil [select, 1237 minutes]:
runtime.gopark(0xc08cdbaf60?, 0x2?, 0x5d?, 0xef?, 0xc08cdbae74?)
	runtime/proc.go:435 +0xce fp=0xc08cdbace8 sp=0xc08cdbacc8 pc=0x49d04e
runtime.selectgo(0xc08cdbaf60, 0xc08cdbae70, 0xc00103d320?, 0x0, 0x100000000000000?, 0x1)
	runtime/select.go:351 +0x837 fp=0xc08cdbae20 sp=0xc08cdbace8 pc=0x479737
github.com/anacrolix/torrent.(*Torrent).processHashResults(0xc08cf82408, 0xc0430e71f0)
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/torrent.go:2910 +0x1af fp=0xc08cdbafc0 sp=0xc08cdbae20 pc=0x106f9af
github.com/anacrolix/torrent.(*Torrent).tryCreateMorePieceHashers.func1.gowrap2()
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/torrent.go:2791 +0x25 fp=0xc08cdbafe0 sp=0xc08cdbafc0 pc=0x106eda5
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc08cdbafe8 sp=0xc08cdbafe0 pc=0x4a4ae1
created by github.com/anacrolix/torrent.(*Torrent).tryCreateMorePieceHashers.func1 in goroutine 6791
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/torrent.go:2791 +0x127

goroutine 2952 gp=0xc0001db880 m=nil [select, 1237 minutes]:
runtime.gopark(0xc04102e760?, 0x2?, 0xcf?, 0x31?, 0xc04102e674?)
	runtime/proc.go:435 +0xce fp=0xc04102e4e8 sp=0xc04102e4c8 pc=0x49d04e
runtime.selectgo(0xc04102e760, 0xc04102e670, 0xc00103d320?, 0x0, 0x100000000000000?, 0x1)
	runtime/select.go:351 +0x837 fp=0xc04102e620 sp=0xc04102e4e8 pc=0x479737
github.com/anacrolix/torrent.(*Torrent).processHashResults(0xc040f17c08, 0xc081316070)
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/torrent.go:2910 +0x1af fp=0xc04102e7c0 sp=0xc04102e620 pc=0x106f9af
github.com/anacrolix/torrent.(*Torrent).tryCreateMorePieceHashers.func1.gowrap2()
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/torrent.go:2791 +0x25 fp=0xc04102e7e0 sp=0xc04102e7c0 pc=0x106eda5
runtime.goexit({})
	runtime/asm_amd64.s:1700 +0x1 fp=0xc04102e7e8 sp=0xc04102e7e0 pc=0x4a4ae1
created by github.com/anacrolix/torrent.(*Torrent).tryCreateMorePieceHashers.func1 in goroutine 2951
	github.com/anacrolix/torrent@v1.52.6-0.20231201115409-7ea994b6bbd8/torrent.go:2791 +0x127

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions