Hi fabrice,
I started the mainnet data of Algorand to be loaded on a VM disk. In 2 days it became 165GB. But after 13 days more it can only reach 318 GB. How can I make this process faster? The indexer also works in parallel.
Is there a variable that should be set to a different value in config.json file to make this process faster?
The output of the commands youâve sent here are like that:
$ goal node status
Last committed block: 13401207
Time since last block: 2.9s
Sync Time: 1322034.2s
Last consensus protocol: GitHub - algorandfoundation/specs at 3a83c4c743f8b17adfd73944b4319c25722a6782
Next consensus protocol: GitHub - algorandfoundation/specs at ac2255d586c4474d4ebcf3809acccb59b7ef34ff
Round for next consensus protocol: 13409876
Next consensus protocol supported: true
Last Catchpoint:
Genesis ID: mainnet-v1.0
Genesis hash: wGHE2Pwdvd7S12BL5FaOP20EGYesN73ktiC1qzkkit8=
$ goal version -v
Version: [v1 v2]
GenesisID: mainnet-v1.0
Build: 3.5.1.stable [rel/stable] (commit #aa2fb0ee)
ubuntu@algorand-node:~$ du -hs $ALGORAND_DATA/*
577M /mnt/algorand/agreement.cdv
1.1G /mnt/algorand/agreement.cdv.archive
4.0K /mnt/algorand/algod.admin.token
0 /mnt/algorand/algod.lock
4.0K /mnt/algorand/algod.net
4.0K /mnt/algorand/algod.pid
4.0K /mnt/algorand/algod.token
4.0K /mnt/algorand/config.json
28K /mnt/algorand/genesis.json
4.0K /mnt/algorand/goal.cache
4.0K /mnt/algorand/logging.config
du: cannot read directory â/mnt/algorand/mainnet-v1.0â: Permission denied
4.0K /mnt/algorand/mainnet-v1.0
1.1G /mnt/algorand/node.archive.log
806M /mnt/algorand/node.log
$ sudo du -hs /mnt/algorand
313G /mnt/algorand
$ cat $ALGORAND_DATA/config.json
{
âVersionâ: 19,
âAccountUpdatesStatsIntervalâ: 5000000000,
âAccountsRebuildSynchronousModeâ: 1,
âAnnounceParticipationKeyâ: true,
âArchivalâ: true,
âBaseLoggerDebugLevelâ: 4,
âBlockServiceCustomFallbackEndpointsâ: ââ,
âBroadcastConnectionsLimitâ: -1,
âCadaverSizeTargetâ: 1073741824,
âCatchpointFileHistoryLengthâ: 365,
âCatchpointIntervalâ: 10000,
âCatchpointTrackingâ: 0,
âCatchupBlockDownloadRetryAttemptsâ: 1000,
âCatchupBlockValidateModeâ: 0,
âCatchupFailurePeerRefreshRateâ: 10,
âCatchupGossipBlockFetchTimeoutSecâ: 4,
âCatchupHTTPBlockFetchTimeoutSecâ: 4,
âCatchupLedgerDownloadRetryAttemptsâ: 50,
âCatchupParallelBlocksâ: 4,
âConnectionsRateLimitingCountâ: 60,
âConnectionsRateLimitingWindowSecondsâ: 1,
âDNSBootstrapIDâ: â.algorand.networkâ,
âDNSSecurityFlagsâ: 1,
âDeadlockDetectionâ: 0,
âDisableLocalhostConnectionRateLimitâ: true,
âDisableNetworkingâ: false,
âDisableOutgoingConnectionThrottlingâ: false,
âEnableAccountUpdatesStatsâ: false,
âEnableAgreementReportingâ: false,
âEnableAgreementTimeMetricsâ: false,
âEnableAssembleStatsâ: false,
âEnableBlockServiceâ: false,
âEnableBlockServiceFallbackToArchiverâ: true,
âEnableCatchupFromArchiveServersâ: false,
âEnableDeveloperAPIâ: false,
âEnableGossipBlockServiceâ: true,
âEnableIncomingMessageFilterâ: false,
âEnableLedgerServiceâ: false,
âEnableMetricReportingâ: false,
âEnableOutgoingNetworkMessageFilteringâ: true,
âEnablePingHandlerâ: true,
âEnableProcessBlockStatsâ: false,
âEnableProfilerâ: false,
âEnableRequestLoggerâ: false,
âEnableTopAccountsReportingâ: false,
âEnableVerbosedTransactionSyncLoggingâ: false,
âEndpointAddressâ: â172.23.149.211:4001â,
âFallbackDNSResolverAddressâ: ââ,
âForceFetchTransactionsâ: false,
âForceRelayMessagesâ: false,
âGossipFanoutâ: 4,
âIncomingConnectionsLimitâ: 800,
âIncomingMessageFilterBucketCountâ: 5,
âIncomingMessageFilterBucketSizeâ: 512,
âIsIndexerActiveâ: true,
âLedgerSynchronousModeâ: 2,
âLogArchiveMaxAgeâ: ââ,
âLogArchiveNameâ: ânode.archive.logâ,
âLogSizeLimitâ: 1073741824,
âMaxCatchpointDownloadDurationâ: 7200000000000,
âMaxConnectionsPerIPâ: 30,
âMinCatchpointFileDownloadBytesPerSecondâ: 20480,
âNetAddressâ: ââ,
âNetworkMessageTraceServerâ: ââ,
âNetworkProtocolVersionâ: ââ,
âNodeExporterListenAddressâ: â:9100â,
âNodeExporterPathâ: â./node_exporterâ,
âOptimizeAccountsDatabaseOnStartupâ: false,
âOutgoingMessageFilterBucketCountâ: 3,
âOutgoingMessageFilterBucketSizeâ: 128,
âParticipationKeysRefreshIntervalâ: 60000000000,
âPeerConnectionsUpdateIntervalâ: 3600,
âPeerPingPeriodSecondsâ: 0,
âPriorityPeersâ: {},
âProposalAssemblyTimeâ: 250000000,
âPublicAddressâ: ââ,
âReconnectTimeâ: 60000000000,
âReservedFDsâ: 256,
âRestReadTimeoutSecondsâ: 15,
âRestWriteTimeoutSecondsâ: 120,
âRunHostedâ: false,
âSuggestedFeeBlockHistoryâ: 3,
âSuggestedFeeSlidingWindowSizeâ: 50,
âTLSCertFileâ: ââ,
âTLSKeyFileâ: ââ,
âTelemetryToLogâ: true,
âTransactionSyncDataExchangeRateâ: 0,
âTransactionSyncSignificantMessageThresholdâ: 0,
âTxPoolExponentialIncreaseFactorâ: 2,
âTxPoolSizeâ: 15000,
âTxSyncIntervalSecondsâ: 60,
âTxSyncServeResponseSizeâ: 1000000,
âTxSyncTimeoutSecondsâ: 30,
âUseXForwardedForAddressFieldâ: ââ,
âVerifiedTranscationsCacheSizeâ: 30000
}
$ iostat
Linux 5.4.0-105-generic (algorand-node-and-kafka) 04/20/22 x86_64 (8 CPU)
avg-cpu: %user %nice %system %iowait %steal %idle
8.41 0.00 2.71 8.86 0.13 79.89
Device tps kB_read/s kB_wrtn/s kB_dscd/s kB_read kB_wrtn kB_dscd
loop0 0.01 0.01 0.00 0.00 32466 0 0
loop1 0.00 0.00 0.00 0.00 3604 0 0
loop2 0.00 0.00 0.00 0.00 3129 0 0
loop3 0.00 0.00 0.00 0.00 3645 0 0
loop4 0.01 0.01 0.00 0.00 13905 0 0
loop5 0.03 0.03 0.00 0.00 67308 0 0
loop6 0.00 0.00 0.00 0.00 3650 0 0
loop7 0.00 0.00 0.00 0.00 13 0 0
vda 12.87 13.42 327.12 0.00 32053649 781264694 0
vdc 1039.83 45.77 9275.26 0.00 109312677 22152265092 0