Analyzing nwaku:v0.35.0-rc.1, we noticed again that sometimes the deployment was taking too much time (10 minutes) to reach a healthy state. This was also a persistent “issue” since the beginning of nwaku experiments, but was partially fixed by increasing the number of max-connections or bootstrap nodes.

Upon further investigation, with the following setup:

Taking into account the max-connections parameter is set to 100, we have the following distribution:

reserved total
max-connections 100 100
relay-connections 60 100
service-connections 40 100
reserved total
inRelayConns
(from relay-connections) 40 60
outRelayConns
(from relay-connections) 20 60

The nodes that cannot reach a healthy state, they report the following:

INF 2025-02-18 15:26:30.324+00:00 Relay peer connections                     topics="waku node peer_manager" tid=7 file=peer_manager.nim:767 inRelayConns=0/40 outRelayConns=20/20 totalConnections=21/100 notConnectedPeers=79 outsideBackoffPeers=79

We confirmed that the peer doesn’t have enough full-message peers with the metrics:

Also, we could confirm that the peer is aware of all other peers with the command to the node:

Looks like the situation is: