When the node reaches the maximum connection limit (by default 25), it begins to disconnect. This affects performance while the node is disconnecting from the other peers.
Solution
Our recommendation for these cases is to limit connections only to bootnodes, which can be achieved as follows:
In the start-pantheon.sh file located in the / lacchain folder add the flag
--permissions-nodes-config-file-enabled
Additionally in the permissions_config.toml file located in the /lacchain/data folder add the bootnodes located in config.toml
´ nodes-whitelist = [ bootnodes list from config.toml ]´
Finally restart the besu service
service pantheon restart
Problem
When the node reaches the maximum connection limit (by default 25), it begins to disconnect. This affects performance while the node is disconnecting from the other peers.
Solution
Our recommendation for these cases is to limit connections only to bootnodes, which can be achieved as follows: In the start-pantheon.sh file located in the / lacchain folder add the flag
--permissions-nodes-config-file-enabled
With which the file would look like this:
Additionally in the permissions_config.toml file located in the /lacchain/data folder add the bootnodes located in config.toml ´ nodes-whitelist = [ bootnodes list from config.toml ]´
Finally restart the besu service
service pantheon restart