0

I recently started getting "too few connections" errors on my full node running the latest 10.x release, after not having issues for months. I thought it might have something to do with the 11.x upgrade, so I upgraded to 11.0 but I'm getting the same issues.

Any ideas what might be going on?

Here's the error I'm getting:

enter image description here

Here's my config:

enter image description here

FYI, I double-checked and my listen-addr (port 9733) is open.

Thanks!

1 Answer 1

1

You have min-connections set to 300 and your node says it only has 161. The message in the log is printed based on these two numbers. Simply lower your --connections and the messages will stop.

If you want to connect to more nodes, use the well known addpeers.sh script in a cron job to keep you "topped up".

OCAML is not a multi-threaded language. The more connections you maintain, the more CPU/memory the node will require just to maintain these connections. If you are a baker, this will impact your ability to parse/apply new blocks.

1
  • Thanks, that fixed it! I think I copy-pasted most of that config from other posts here 😬 Also, addpeers.sh looks very useful Dec 2, 2021 at 23:10

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.