solana: rpc request timed out and stuck

the current instance type

aws ec2
r6i.8xlarge
disk 
gp3 2048 

script to run

#!/bin/bash
#mainnet sol
export SOLANA_METRICS_CONFIG="host=https://metrics.solana.com:8086,db=mainnet-beta,u=mainnet-beta_write,p=password"
exec solana-validator \
  --identity ~/validator-keypair.json \
  --vote-account ~/vote-account-keypair.json \
  --known-validator 7Np41oeYqPefeNQEHSv1UDhYrehxin3NStELsSKCT4K2 \
  --known-validator GdnSyH3YtwcxFvQrVVJMm1JhTS4QVX7MFsX56uJLUfiZ \
  --known-validator DE1bawNcRJB9rVm3buyMVfr8mBEoyyu73NBovf2oXJsJ \
  --known-validator CakcnaRDHka2gXyfbEd2d3xsvkJkqsLw2akB3zsN1D2S \
  --only-known-rpc \
  --no-port-check \
  --full-rpc-api \
  --enable-cpi-and-log-storage \
  --ledger /data/SOL/ledger \
  --enable-rpc-transaction-history \
  --rpc-port 8899 \
  --dynamic-port-range 8000-8020 \
  --entrypoint entrypoint.mainnet-beta.solana.com:8001 \
  --entrypoint entrypoint2.mainnet-beta.solana.com:8001 \
  --entrypoint entrypoint3.mainnet-beta.solana.com:8001 \
  --entrypoint entrypoint4.mainnet-beta.solana.com:8001 \
  --entrypoint entrypoint5.mainnet-beta.solana.com:8001 \
  --expected-genesis-hash 5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d \
  --no-voting \
  --log /data/SOL/ledger/solana-validator.log \
  --wal-recovery-mode skip_any_corrupted_record \
  --limit-ledger-size

problem lies in

1、Upgrade to Mainnet - v1.10.32 latest sh -c “$(curl -sSfL https://release.solana.com/v1.10.32/install)” 2、After restarting and running for a while, when I use the interface to request port 8899, it has been stuck with no data

curl -s -X POST -H "Content-Type: application/json" -d '{"jsonrpc":"2.0","id":1, "method":"getEpochInfo"}' http://localhost:8899|jq

image

Is there any solution to my problem?

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Reactions: 2
  • Comments: 32 (7 by maintainers)

Most upvoted comments

@CriesofCarrots Upgrading from version Mainnet - v1.10.29, feels like it’s under attack, sync is slow, and rpc interface doesn’t respond