paritytech / polkadot-sdk

The Parity Polkadot Blockchain SDK
https://polkadot.com/
1.91k stars 704 forks source link

node freezes without capability to advance importing blocks #6568

Closed hitchhooker closed 9 hours ago

hitchhooker commented 1 day ago

https://gist.githubusercontent.com/hitchhooker/ca1092fe748b6359b7227d4d186ad0e5/raw/ed8b33bedb624c76de81c8db73770b5701bc7bb9/stuck-blocks

had one of the kusama RPC endpoint nodes getting stuck without ability to advance.

root@ksm26:/opt/polkadot# cat polkadot.service
[Unit]
Description="ksm26 endpoint - Polkadot service"
After=network-online.target
Wants=network-online.target

[Service]
User=polkadot
Group=polkadot
ExecStart=/opt/polkadot/polkadot \
  --name "Rotko Networks - ksm26 Endpoint" \
--chain kusama \
--base-path /opt/polkadot \
  --database paritydb \
  --state-pruning archive \
  --blocks-pruning=archive \
  --sync full \
  --listen-addr /ip4/0.0.0.0/tcp/33326 \
  --listen-addr /ip4/0.0.0.0/tcp/34326/ws \
  --public-addr /dns/ksm26.rotko.net/tcp/33326 \
  --public-addr /dns/ksm26.rotko.net/tcp/35326/wss \
  --rpc-port 9326 \
  --prometheus-port 7326 \
  --prometheus-external \
  --enable-offchain-indexing true \
  --wasm-execution Compiled \
  --no-hardware-benchmarks \
  --rpc-external \
  --rpc-methods safe \
  --rpc-cors all \
  --max-runtime-instances 32 \
  --rpc-max-request-size 16 \
  --rpc-max-response-size 16 \
  --rpc-max-subscriptions-per-connection 1024 \
  --rpc-max-connections 10000 \
  --allow-private-ipv4

Restart=always
RestartSec=120

[Install]
WantedBy=multi-user.target
root@ksm26:/opt/polkadot# ^C
root@ksm26:/opt/polkadot# ./polkadot --version
polkadot 1.16.2-dba2dd59101