algorand / algorand/go-algorand

algorand mainnet node fails with deadlock error

Đang mở
#4,587 1 bình luận 0 reaction 1 người được giao Được @jsgranados nhận Xem trên GitHub
external contribution Team Carbon-11
Ngôn ngữ chính
Go
Star
1.4k
Fork
537
Merge trung bình
1 ngày 6 giờ
Pull request đã merge (30 ngày)
17

Mô tả

### Subject of the issue

algorand mainnet node fails with deadlock error

### Environment

* Software version: `algod -v`

$ algod -v
12885491716
3.9.4.stable [rel/stable] (commit #921e8f6f)
go-algorand is licensed with AGPLv3.0
source code available at https://github.com/algorand/go-algorand

* Operating System details.

$ uname -a
Linux 5.15.0-48-generic #54~20.04.1-Ubuntu SMP x86_64 GNU/Linux

* log file

algorand-mainnet-algod.stderr.0 :

github.com/algorand/go-algorand/daemon/algod.captureCallstack()
github.com/algorand/go-algorand/daemon/algod/deadlockLogger.go:59 +0x4f
github.com/algorand/go-algorand/daemon/algod.(*deadlockLogger).onPotentialDeadlock.func1()
github.com/algorand/go-algorand/daemon/algod/deadlockLogger.go:74 +0x26
sync.(*Once).doSlow(0xc01ab5e600, 0x1)
sync/once.go:68 +0xd2
sync.(*Once).Do(...)
sync/once.go:59
github.com/algorand/go-algorand/daemon/algod.(*deadlockLogger).onPotentialDeadlock(0x0)
github.com/algorand/go-algorand/daemon/algod/deadlockLogger.go:72 +0x45

* config file

config.json :

"DeadlockDetection": 1,
"DeadlockDetectionThreshold": 30,

### Steps to reproduce

1.
start algorand mainnet node with deadlock detection enabled

2.
let the node run and sync

### Expected behaviour

deadlock logger detects there is no deadlock ( unless there is actually a deadlock but not otherwise , not if its a normal run and sync )

### Actual behaviour

deadlock logger detects there is a deadlock and fails the node

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.