Minor: when cardano-node not available reconnection worker takes 100% CPU
Chưa có ai nhận issue này.
Đánh giá
- Độ khó
- 3/5
- Thời gian dự kiến
- 1-2 ngày
- Mức phù hợp với người mới
- 48/100
- Loại issue
- Lỗi
- Độ rõ ràng
- Khá rõ ràng
- Mức độ hoạt động
- Đình trệ
- Công nghệ
- rust
- Lĩnh vực
- backend, networking
Hướng nghiên cứu
Start by tracing the reconnection retry path indicated by the gasket::retries warnings and identify the worker that retries connections to cardano-node. The report shows repeated connection-refused errors and 100% CPU during an outage; determine what causes the excessive CPU and make retries avoid it. Done means reconnection continues while CPU use stays reasonable during an outage.
Do mô hình lập chỉ mục viết ra từ nội dung của issue.
Mô tả
So I noticed when there is an outage of cardano-node, scrolls tries to reconnect (this is great) but the small issue is that this reconnection watchdog/ daemon or worker in scrolls process is consuming way more CPU of the machine than it should.
mati@kajka:~$ sudo journalctl -f -u scrolls
Jun 25 13:36:24 kajka scrolls[234390]: [2023-06-25T11:36:24Z WARN gasket::retries] retryable operation error: "network error: Connection refused (os error 111)"
Jun 25 13:36:28 kajka scrolls[234390]: [2023-06-25T11:36:28Z WARN gasket::retries] retryable operation error: "network error: Connection refused (os error 111)"
Jun 25 13:36:36 kajka scrolls[234390]: [2023-06-25T11:36:36Z WARN gasket::retries] retryable operation error: "network error: Connection refused (os error 111)"
Jun 25 13:36:52 kajka scrolls[234390]: [2023-06-25T11:36:52Z WARN gasket::retries] retryable operation error: "network error: Connection refused (os error 111)"
Jun 25 13:37:24 kajka scrolls[234390]: [2023-06-25T11:37:24Z WARN gasket::retries] retryable operation error: "network error: Connection refused (os error 111)"
Jun 25 13:38:24 kajka scrolls[234390]: [2023-06-25T11:38:24Z WARN gasket::retries] retryable operation error: "network error: Connection refused (os error 111)"
Jun 25 13:39:24 kajka scrolls[234390]: [2023-06-25T11:39:24Z WARN gasket::retries] retryable operation error: "network error: Connection refused (os error 111)"
Jun 25 13:40:24 kajka scrolls[234390]: [2023-06-25T11:40:24Z WARN gasket::retries] retryable operation error: "network error: Connection refused (os error 111)"
Jun 25 13:41:24 kajka scrolls[234390]: [2023-06-25T11:41:24Z WARN gasket::retries] retryable operation error: "network error: Connection refused (os error 111)"
Jun 25 13:42:24 kajka scrolls[234390]: [2023-06-25T11:42:24Z WARN gasket::retries] retryable operation error: "network error: Connection refused (os error 111)"
- Ngôn ngữ chính
- Rust
- Star
- 104
- Fork
- 40
- Merge trung bình
- 18 phút
- Pull request đã merge (30 ngày)
- 2
Chuẩn bị môi trường
- Có Dockerfile hoặc tệp Docker Compose
- Không có mẫu pull request
- Không có hướng dẫn đóng góp
Bắt đầu từ đâu
- Đọc hết issue, rồi đọc hướng dẫn đóng góp của dự án.
- Bình luận trên issue rằng bạn sẽ nhận — tránh hai người làm cùng một việc.
- Fork repository và làm thay đổi trên một nhánh.
- Mở pull request có tham chiếu số hiệu của issue.
Issue khác của txpipe/scrolls
-
Conway compatible?Đang mởhelp wanted question
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 15/100
-
Độ khó 1/5 1-3 giờ Mức phù hợp với người mới 55/100
-
feature
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 25/100
-
UTXOs by Asset / Policy IDĐang mởfeature good first issue
Độ khó 5/5 Hơn một tuần Mức phù hợp với người mới 20/100
-
Độ khó 4/5 3-5 ngày Mức phù hợp với người mới 25/100
Tất cả issue của txpipe/scrolls
Issue tương tự
-
bug: merge_insert does not detect concurrent inserts of the same FixedSizeBinary primary keyCó thể đã có người làm @lance-gatefixer đã nhận hôm nay. Đang mởbug
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 84/100
lance-format/lance#10811 ·
Maintainer thường phản hồi trong vòng 2 ngày
-
provider testing
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 78/100
mishraprafful/multihull#234 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
comp-documentation
Độ khó 1/5 Dưới một giờ Mức phù hợp với người mới 84/100
ClickHouse/ClickHouse#129829 ·
Maintainer thường phản hồi trong vòng 1 ngày
-
bug needs triage python
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 65/100
Maintainer thường phản hồi trong vòng 1 ngày
-
state:needs triage
Độ khó 2/5 1-3 giờ Mức phù hợp với người mới 87/100
zed-industries/zed#66628 ·
Maintainer thường phản hồi trong vòng 1 ngày