Skip to content
This repository was archived by the owner on Nov 6, 2020. It is now read-only.
This repository was archived by the owner on Nov 6, 2020. It is now read-only.

Can't keep peer count above min #7531

@gaia

Description

@gaia

Before filing a new issue, please provide the following information.

I'm running:

  • Which Parity version?: 1.8.6
  • Which operating system?: Ubuntu
  • How installed?: curl
  • Are you fully synchronized?: yes
  • Which network are you connected to?: ethereum
  • Did you try to restart the node?: yes

been running 1.8.5 with no problems since it was released. peer count was always at max peers or very close to it. since installing 1.8.6 (node has been synced for months, only stopped a few seconds) parity constantly drops below min peers.

i saw the "Please note, that the initial database compaction after upgrading might temporarily reduce the node's performance." but node performance includes peers connected?

[parity]
base_path = "/mnt/ethereum/io.parity.ethereum"
db_path = "/mnt/ethereum/io.parity.ethereum/chains"
keys_path = "$HOME/.local/share/io.parity.ethereum/keys"

[network]
min_peers = 20
max_peers = 40

[footprint]
pruning = "fast"
pruning_history = 64
db_compaction = "ssd"
Jan 10 23:07:52 example.com parity[7594]: 2018-01-10 23:07:52  Imported #4889458 6fa8…c365 (56 txs, 1.19 Mgas, 266.45 ms, 6.73 KiB)
Jan 10 23:08:19 example.com parity[7594]: 2018-01-10 23:08:19  Imported #4889459 c0b1…aa1f (113 txs, 7.99 Mgas, 523.31 ms, 31.44 KiB)
Jan 10 23:08:41 example.com parity[7594]: 2018-01-10 23:08:41    25/40 peers    224 KiB chain  111 MiB db  0 bytes queue   71 KiB sync  RPC:  2 conn,  2 req/s, 7395 µs
Jan 10 23:08:43 example.com parity[7594]: 2018-01-10 23:08:43  Imported #4889460 2d62…e353 (163 txs, 8.00 Mgas, 479.30 ms, 23.10 KiB)
Jan 10 23:08:57 example.com parity[7594]: 2018-01-10 23:08:57  Imported #4889461 3f88…9993 (307 txs, 7.99 Mgas, 626.78 ms, 37.46 KiB)
Jan 10 23:09:04 example.com parity[7594]: 2018-01-10 23:09:04  Imported #4889463 b72f…5509 (159 txs, 8.00 Mgas, 729.15 ms, 28.04 KiB) + another 1 block(s) containing 90 tx(s)
Jan 10 23:09:16 example.com parity[7594]: 2018-01-10 23:09:16    36/40 peers     19 MiB chain  112 MiB db 776 bytes queue   71 KiB sync  RPC:  2 conn,  4 req/s, 139 µs
Jan 10 23:09:36 example.com parity[7594]: 2018-01-10 23:09:36  Imported #4889464 161a…ae54 (144 txs, 8.00 Mgas, 437.09 ms, 25.87 KiB)
Jan 10 23:09:46 example.com parity[7594]: 2018-01-10 23:09:46  Imported #4889467 9b8d…a06e (157 txs, 8.00 Mgas, 507.49 ms, 29.25 KiB)
Jan 10 23:09:55 example.com parity[7594]: 2018-01-10 23:09:55    18/20 peers      4 MiB chain  112 MiB db  0 bytes queue   71 KiB sync  RPC:  2 conn,  1 req/s, 127 µs
Jan 10 23:10:31 example.com parity[7594]: 2018-01-10 23:10:31    18/20 peers      5 MiB chain  112 MiB db  0 bytes queue   71 KiB sync  RPC:  2 conn,  1 req/s, 140 µs
Jan 10 23:11:06 example.com parity[7594]: 2018-01-10 23:11:06     6/20 peers      6 MiB chain  112 MiB db  0 bytes queue   71 KiB sync  RPC:  2 conn,  2 req/s, 138 µs
Jan 10 23:11:19 example.com parity[7594]: 2018-01-10 23:11:19  Reorg to #4889468 b802…a9fa (9b8d…a06e #4889466 b708…aabf f42e…3606)
Jan 10 23:11:24 example.com parity[7594]: 2018-01-10 23:11:24  Imported #4889470 636c…15b1 (293 txs, 7.96 Mgas, 1130.40 ms, 37.64 KiB) + another 2 block(s) containing 535 tx(s)
Jan 10 23:11:37 example.com parity[7594]: 2018-01-10 23:11:37  Imported #4889473 8bcc…e2b8 (248 txs, 5.73 Mgas, 503.62 ms, 28.95 KiB) + another 1 block(s) containing 280 tx(s)
Jan 10 23:11:48 example.com parity[7594]: 2018-01-10 23:11:48    15/20 peers      8 KiB chain  113 MiB db  0 bytes queue   71 KiB sync  RPC:  2 conn,  0 req/s, 171 µs
Jan 10 23:12:38 example.com parity[7594]: 2018-01-10 23:12:38    12/20 peers      2 MiB chain  112 MiB db  0 bytes queue   71 KiB sync  RPC:  2 conn,  1 req/s, 101 µs
Jan 10 23:12:39 example.com parity[7594]: 2018-01-10 23:12:39    12/20 peers      5 MiB chain  112 MiB db  0 bytes queue   71 KiB sync  RPC:  2 conn,  2 req/s, 101 µs
Jan 10 23:12:53 example.com parity[7594]: 2018-01-10 23:12:53    11/20 peers      5 MiB chain  112 MiB db 776 bytes queue   71 KiB sync  RPC:  2 conn,  0 req/s, 101 µs
Jan 10 23:13:00 example.com parity[7594]: 2018-01-10 23:13:00  Imported #4889475 329a…6c85 (61 txs, 1.45 Mgas, 143.55 ms, 7.52 KiB) + another 1 block(s) containing 192 tx(s)
Jan 10 23:13:02 example.com parity[7594]: 2018-01-10 23:13:02  Imported #4889469 e58f…5f97 (247 txs, 7.98 Mgas, 446.68 ms, 33.19 KiB)
Jan 10 23:13:52 example.com parity[7594]: 2018-01-10 23:13:52     5/20 peers      8 MiB chain  113 MiB db  0 bytes queue   71 KiB sync  RPC:  2 conn,  0 req/s, 123 µs
Jan 10 23:13:52 example.com parity[7594]: 2018-01-10 23:13:52     5/20 peers      6 MiB chain  113 MiB db  0 bytes queue   71 KiB sync  RPC:  2 conn,  0 req/s, 123 µs
Jan 10 23:13:52 example.com parity[7594]: 2018-01-10 23:13:52     5/20 peers      6 MiB chain  113 MiB db  0 bytes queue   71 KiB sync  RPC:  2 conn,  0 req/s, 123 µs
Jan 10 23:13:52 example.com parity[7594]: 2018-01-10 23:13:52     5/20 peers      6 MiB chain  113 MiB db  0 bytes queue   71 KiB sync  RPC:  2 conn,  0 req/s, 123 µs
Jan 10 23:14:07 example.com parity[7594]: 2018-01-10 23:14:07  Syncing #4889475 329a…6c85     0 blk/s    0 tx/s   0 Mgas/s      0+    0 Qed  #4889475   10/20 peers      4 MiB chain  113 MiB db  0 bytes queue   78 KiB sync  RPC:  2 conn,  1 req/s, 140 µs
Jan 10 23:14:31 example.com parity[7594]: 2018-01-10 23:14:31  Imported #4889485 e95a…d4c7 (188 txs, 7.97 Mgas, 980.32 ms, 28.97 KiB)
Jan 10 23:15:06 example.com parity[7594]: 2018-01-10 23:15:06     8/20 peers      9 MiB chain  115 MiB db  0 bytes queue   71 KiB sync  RPC:  2 conn,  1 req/s, 141 µs
Jan 10 23:15:07 example.com parity[7594]: 2018-01-10 23:15:07     8/20 peers      5 MiB chain  115 MiB db  0 bytes queue   71 KiB sync  RPC:  2 conn,  1 req/s, 139 µs
Jan 10 23:15:09 example.com parity[7594]: 2018-01-10 23:15:09     7/20 peers      5 MiB chain  115 MiB db  0 bytes queue   71 KiB sync  RPC:  2 conn,  0 req/s, 139 µs

Metadata

Metadata

Assignees

No one assigned

    Labels

    F2-bug 🐞The client fails to follow expected behavior.M4-core ⛓Core client code / Rust.P0-dropeverything 🌋Everyone should address the issue now.

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions