Extremely slow sync with blockchain

Hey there everyone,

Cardano pool operator newbie here. I was setting up my node and started syncing with the blockchain. However, the speed got of syncing got so low (around 7 slots per 20 sec). So at this rate it will take forever to sync. The specs are the recommended (2 vCPUs, 8 GB memory) and above for the BP.

[relay-te:cardano.node.ChainDB:Notice:34] [2021-03-31 06:45:52.36 UTC] Chain extended, new tip: ecd04cb90163c4e7e539e4efc7c82b230b393461b97fc3b3ca8bf2930a7a5416 at slot 25606861
[relay-te:cardano.node.IpSubscription:Info:54] [2021-03-31 06:45:53.69 UTC] IPs: [::]:0 [xx.xx.xx.xxx:3002] Restarting Subscription after 1.491880193s desired valency 1 current valency 0
[relay-te:cardano.node.ChainDB:Notice:34] [2021-03-31 06:45:54.36 UTC] Chain extended, new tip: aa8c049903be2f265eab6c06d15ab10a2abfb45665b2178a413b1ea385328f4d at slot 25606863
[relay-te:cardano.node.IpSubscription:Info:54] [2021-03-31 06:46:02.85 UTC] IPs: [::]:0 [xx.xx.xx.xxx:3002] Skipping peer xx.xx.xx.xxx:3002
[relay-te:cardano.node.IpSubscription:Error:54] [2021-03-31 06:46:02.85 UTC] IPs: [::]:0 [xx.xx.xx.xxx:3002] Failed to start all required subscriptions

I tried changing the valency of the BP and looked around the forum but I cannot find a proper solution to this. Any idea would be appreciated!

1 Like

Did u kept the IOHK nodes in the topology file?
If no add them and restart the node


Thanks for the response. Here it is.

“Producers”: [
“addr”: “relays-new.cardano-mainnet.iohk.io”,
“port”: 3001,
“valency”: 2
“addr”: “xx.xx.xx.xxx”,
“port”: 3002,
“valency”: 1

should be fine… but u can try to raise the valency to 3 or 4 and restart the node

1 Like

Yeah that can happen I think…
What you can do is to select another node to sync with
here you can get the addresses:

just give it a try…

1 Like

Nice idea! I’ll give it a try!

Hi I would recommend the same link as @laplasz it works pretty well to bootstrap your node. Once you are synced you may want to look at Guild Operators Documentation.

1 Like

I already tried and still get around 1 slot per second with most of them.

[relay-te:cardano.node.ChainDB:Notice:34] [2021-03-31 08:27:02.72 UTC] Chain extended, new tip: 79bf15b7b48205723af324a1c8bc1b6e81035b8147edffcb3f0240dac960af2f at slot 25612931
[relay-te:cardano.node.ChainDB:Notice:34] [2021-03-31 08:27:58.62 UTC] Chain extended, new tip: 343e9a719434e53c195b151b928684d2250b4f2f199a9d92372f5a995d24c303 at slot 25612987
[relay-te:cardano.node.ChainDB:Notice:34] [2021-03-31 08:28:17.21 UTC] Chain extended, new tip: 7e22140226d6d97c46eeb5e483c9571927ccab8fb61b5e286e0d853af0e57510 at slot 25613006
[relay-te:cardano.node.ChainDB:Notice:34] [2021-03-31 08:28:36.32 UTC] Chain extended, new tip: ebafd6c6e95ab09d4f042b25363d57397607b49e665eec63f827b38235ba4c34 at slot 25613025

I appreciate the help though.

Also changed valencies and no luck.

The script said it was not synced. After trying

CARDANO_NODE_SOCKET_PATH=/path/to/node/socket cardano-cli query tip --mainnet 

it showed that it was actually already synced up.

CARDANO_NODE_SOCKET_PATH=~/Pool/relay/db/node.socket cardano-cli query tip --mainnet
     "epoch": 257,
     "hash": "35c1c274c45b0edb1f22935aee04eb3cb1eb756ec7b1c0a3157cf4cbee7adb0c",
     "slot": 25924913,
    "block": 5545895

Change the path according to yours.

Check Issue #2559 to see more details.