I am using Amazon Web Services (AWS)'s 1 GiB RAM free instance. I have private Ethereum network, which has around 1,500,000 blocks, but most blocks are empty. There is not much transactions exist and chain is around 1 GiB size.

First I was syncing without using --warp flag. Based on suggestions, I used --warp and it get much much slower. Now it is almost 5 hours and I am still on 300,000 th block.

The way I run parity node:

parity --warp --geth --chain /home/ubuntu/EBloc/parity.json --network-id 23422 --reserved-peers /home/ubuntu/EBloc/myPrivateNetwork.txt --jsonrpc-apis web3,eth,net,parity,parity_accounts,traces,rpc,parity_set --author $COINBASE --rpccorsdomain=* --mode active --tracing off --pruning fast --db-compaction ssd --cache-size 1024 

[Q] Why migh Parity sycn that slow? --warp did not make any speed-up instead it make syncing operation much slow.

[Q] I have up-to-date chain on my server machine. Would it be possible to copy-paste/migrate the Parity's chain database (/home/ubuntu/.local/share/io.parity.ethereum) I already have into AWS instance, since copy-paste operation is much faster than the syncing operation?

ubuntu@space:~/.local/share/io.parity.ethereum$ ls
chains  dapps  keys  network  signer

Thank you for your valuable time and help.

  • 1
    --wrap is not a parity flag :D, and yes, you can just copy-paste your chain/ to another machine. – Afr Sep 12 '17 at 6:03
  • What is --wrap than? :) @5chdn – alper Sep 12 '17 at 6:46
  • well wrap did not save the day :( It is actually not stuck but it has been 10 hours and still in around 900,000th block, originally it should not be that slow. I am using 1 GB AWS instance to create an amazon image and people could create instance with greater RAM if they want. here is the log: gist.github.com/avatar-lavventura/… @5chdn – alper Sep 12 '17 at 8:31
  • You meant chains/ ?: io.parity.ethereum/chains$ ls => EBloc ethereum ver.lock @5chdn – alper Sep 12 '17 at 8:34
  • 1
    Try 1.6.10. I fear there are issues with the 1.7.0 release. We couldn't locate it yet. Are both nodes and instances configured the same way? I'll ping you on Gitter to get some insights. – Afr Sep 12 '17 at 18:56

Your Answer

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

Browse other questions tagged or ask your own question.