Open rjan90 opened 1 week ago
Setting up Grafana dashboards would really really help debug stuff like this.
The log points to an issue reserving a space for a new inbound stream in the "transient" scope. Streams are considered "transient" before we know what protocol they will be used for. Streams should only be transient until multistream finishes or the 10s timeout is hit, whichever comes first. I would be surprised if we were leaking "transient" streams, but it would be obvious in the dashboard if we are. Does this error log persist? Does the number in NumStreamsOutbound
ever go down?
We've tried to make it as easy as possible to get started with the dashboards, so there's a docker compose file that spins up everything you need. Refer to go-libp2p/dashboards/README.md
for more detailed instructions. But, in case it helps, here are some step by step tips to get it working with lotus.
go-libp2p/dashboards
prometheus.yml
. This tells it about Lotus's default metrics endpoint
diff --git a/dashboards/prometheus.yml b/dashboards/prometheus.yml
index f0917188..bfa09fc5 100644
--- a/dashboards/prometheus.yml
+++ b/dashboards/prometheus.yml
@@ -23,8 +23,8 @@ scrape_configs:
honor_timestamps: true
scrape_interval: 15s
scrape_timeout: 10s
- metrics_path: /debug/metrics/prometheus
+ metrics_path: /debug/metrics
scheme: http
static_configs:
- targets:
- - host.docker.internal:5001
+ - host.docker.internal:1234
docker compose -f docker-compose.base.yml up
on macOS or docker compose -f docker-compose.base.yml -f docker-compose-linux.yml up
on Linux.
Louts updated to libp2p v0.34.1 in its latests release Lotus v1.27.1, and we are getting some reports from users encountering syncing issues which seems to be related to the resource manager:
Another report indicated that they were unable to get peers after updating, but after a couple of restarts of their node, they were able to get back in sync. Unfortunately they were not able to get a goroutine dump, but will do it next time they enounter the same issue.
Do you have any additional tips, for what information to gather when encopuntering these rcmgr-issues?