Hi,
I am trying to sync a full archival node for mainnet in order to run my own indexer. It is going very slowly. At first I was on a slow Oracle cloud instance but I have since moved to a dedicated server where network/compute/disk resources should not be a bottleneck.
The sync process has been going on since mid November and I am still at block 14736614.
At times it seems to hang and sync very, very slowly. I get these errors intermittently:
{"file":"bootstrap.go","function":"github.com/algorand/go-algorand/tools/network.ReadFromSRV","level":"info","line":43,"msg":"ReadFromBootstrap: DNS LookupSRV failed when using system resolver: no signature in DNS response for _algobootstrap._tcp.mainnet.algorand.network","time":"2022-01-23T11:08:25.289766+01:00"}
I saw elsewhere on the forums that access to 8.8.8.8 may be an issue, but this doesnât seem to be the case for me:
root@k43 ~ # dig @8.8.8.8 _algobootstrap._tcp.testnet.algorand.network srv
; <<>> DiG 9.16.1-Ubuntu <<>> @8.8.8.8 _algobootstrap._tcp.testnet.algorand.network srv
; (1 server found)
;; global options: +cmd
;; Got answer:
;; ->>HEADER<<- opcode: QUERY, status: NOERROR, id: 1903
;; flags: qr rd ra ad; QUERY: 1, ANSWER: 8, AUTHORITY: 0, ADDITIONAL: 1
;; OPT PSEUDOSECTION:
; EDNS: version: 0, flags:; udp: 512
;; QUESTION SECTION:
;_algobootstrap._tcp.testnet.algorand.network. IN SRV
;; ANSWER SECTION:
_algobootstrap._tcp.testnet.algorand.network. 300 IN SRV 1 1 4161 relay-virginia-testnet-algorand.algorand-testnet.network.
_algobootstrap._tcp.testnet.algorand.network. 300 IN SRV 1 1 80 relay-switzerland1-testnet-algorand.algorand-testnet.network.
_algobootstrap._tcp.testnet.algorand.network. 300 IN SRV 1 1 4161 londong-algorand-test-2.algorand-testnet.network.
_algobootstrap._tcp.testnet.algorand.network. 300 IN SRV 1 1 4161 r19.algorand-testnet.network.
_algobootstrap._tcp.testnet.algorand.network. 300 IN SRV 1 1 4161 singaporeg-algorand-test-1.algorand-testnet.network.
_algobootstrap._tcp.testnet.algorand.network. 300 IN SRV 1 1 4161 singaporeg-algorand-test-2.algorand-testnet.network.
_algobootstrap._tcp.testnet.algorand.network. 300 IN SRV 1 1 4161 oregong-algorand-test-1.algorand-testnet.network.
_algobootstrap._tcp.testnet.algorand.network. 300 IN SRV 1 1 4161 londong-algorand-test-1.algorand-testnet.network.
;; Query time: 12 msec
;; SERVER: 8.8.8.8#53(8.8.8.8)
;; WHEN: So Jan 23 11:10:43 CET 2022
;; MSG SIZE rcvd: 623
I am on Ubuntu 20.04 and I have both global and interface DNS servers set to 8.8.8.8 with DNSSEC enabled:
root@k43 ~ # systemd-resolve --status | grep DNS
MulticastDNS setting: no
DNSOverTLS setting: no
DNSSEC setting: yes
DNSSEC supported: yes
Current DNS Server: 8.8.8.8
Possibly worth noting that I have an indexer running against algod while it is syncing (via HTTP as it is on another server). Is this recommended? Do I need "IsIndexerActive": true
in config.json in this case?
IPv4 and v6 connectivity seems to be stable.
My config.json file can be found here
Last lines of node.log (excluding indexer GET requests) can be found here
algod version is 3.2.3.stable
Is there anything obviously wrong with my setup?
Thanks in advance,
Bit