parity-ethereum icon indicating copy to clipboard operation
parity-ethereum copied to clipboard

parity full node with pruning-history=30000

Open jiangxjcn opened this issue 4 years ago • 1 comments

  • OpenEthereum version: parity2.5.13
  • Operating system: centos 7.7
  • Installation: built from source
  • Fully synchronized: no
  • Network: ethereum
  • Restarted: yes

I want to get all trace information with a full parity node by setting a large pruning-history. Every time when 20000 blocks been synced, i restart parity with offline mode and get trace information in these blocks. After i get these information, i restart parity with active mode. here is my config.toml [parity] mode = "active" base_path = "//parity" [network] warp = false [rpc] port = 9999 interface = "local" server_threads = 2 [websockets] port = 8547 [footprint] tracing = "on" pruning = "fast" pruning_history = 30000 cache_size = 128000 [misc] logging="sync=debug" log_file = "//parity/parity.log" color = true

the only difference between two config file is mode(active vs offline)

Now, parity has sync up to 9980000 blocks. In fact, there are no errors happen, but some things that didn't live up to expectations.

expected behavior (1)parity use around 500-700GB disk. (2)parity restart and begin to sync in 1 minutes (3)parity has around 10-20 peers.

actual behavior (1)parity use 1000 GB disk (2)parity restart and begin to sync need about 5-8 minutes (3)parity always has only 2 peers.

Apart from this , i try to set cache_size= 32000, but parity seems to still use around 80-90GB memory(I have a machine with 1TB memory). It's very odd.

jiangxjcn avatar May 11 '20 13:05 jiangxjcn

2.5.13 is not supported, please try with OpenEthereum v3.0.0.

vorot93 avatar May 12 '20 07:05 vorot93