Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

rpc node can't catchup #35553

Closed
jzqgx555 opened this issue May 13, 2024 · 2 comments
Closed

rpc node can't catchup #35553

jzqgx555 opened this issue May 13, 2024 · 2 comments
Labels
community Community contribution

Comments

@jzqgx555
Copy link

I'm new in solana and I wanna build my own rpc node
this is my solana-validator.sh

`solana-validator
--ledger ~/ledger
--accounts ~/accounts
--identity ~/validator-keypair.json
--known-validator 7Np41oeYqPefeNQEHSv1UDhYrehxin3NStELsSKCT4K2
--known-validator GdnSyH3YtwcxFvQrVVJMm1JhTS4QVX7MFsX56uJLUfiZ
--known-validator DE1bawNcRJB9rVm3buyMVfr8mBEoyyu73NBovf2oXJsJ
--known-validator CakcnaRDHka2gXyfbEd2d3xsvkJkqsLw2akB3zsN1D2S
--expected-genesis-hash 5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d
--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
--rpc-port 8899
--dynamic-port-range 8000-8020
--wal-recovery-mode skip_any_corrupted_record
--init-complete-file ~init-completed
--limit-ledger-size 50000000
--log ~/sol-log
--only-known-rpc
--full-rpc-api
--no-voting \

    --enable-cpi-and-log-storage
    --no-snapshot-fetch`

And then I can see snapshot downloading in log
like:
root@free:~# tail log
[2024-05-13T08:30:34.585291825Z INFO solana_download_utils] downloaded 13457136648 bytes 18.0% 48295728.0 bytes/s

after the download my rpc node will show me something likc this:
and when I check with solana catchup it shows :

solana catchup --our-localhost --url https://solana-mainnet.g.alchemy.com/v2/xxxxxxxxxxxx
⠓ 24708 slot(s) behind (us:265470517 them:265495225), our node is falling behind at -2.2 slots/second (AVG: -2.5 slots/second (falling))

In log there are many timedout reports

[2024-05-13T07:45:49.847924627Z INFO solana_send_transaction_service::send_transaction_service] Retrying transaction: 4WMB1TKenxRNde7tpFfopdY69ATQodLUq18MiRNDK1QP4hSCV4Vmnmwf5msBMfJfRuB3hLH6E55a9vjYZ4y3D7LT [2024-05-13T07:45:49.848846231Z INFO solana_send_transaction_service::send_transaction_service] Retrying transaction: FgVBaESKEpAcgMYDBwtLjx8xraauvRL9BB68dvgq915ttLdSDqJHzmsUv2qom6xvoEdR8BuwwLrzgGXnAjSL6fv [2024-05-13T07:45:49.849207510Z INFO solana_send_transaction_service::send_transaction_service] Retrying transaction: 58DGCWgrzk3KKFEiRwNtZSbg1YeyFFXiFvdshkufPrG7hVzJ6k2snwAcGe33Urfz9GTrXm3Pgxu4EPF8wq6JT7up [2024-05-13T07:45:49.849631562Z INFO solana_send_transaction_service::send_transaction_service] Dropping transaction due to max retries: 2j3q3wAC1eCyzYK1sHCEC59qw7CFvfL5USJ9tJEtMtPwBMCuMBv7CHwcn5p3wcBySDbR2gng1EXW2QpwjqZeWu99 [2024-05-13T07:45:49.850421332Z INFO solana_send_transaction_service::send_transaction_service] Retrying transaction: KkirC2cTjKcZErD3PYMkw8X7xo2Q6CG6S563jPTg6GHxTquitFMonGbH2ES8Fk4pH7YLhxbkK2mYBjVx3v1uBsL [2024-05-13T07:45:49.850780403Z INFO solana_send_transaction_service::send_transaction_service] Retrying transaction: 5cLBrBPPaVuyREP7Z8MEQDFG12vMA2TyGXbAh9vYpHgoSNu3vrf8869dgW5Jf2YjzgQGh2gVMW1CTVuPZZEfSvAd [2024-05-13T07:45:49.851326148Z INFO solana_send_transaction_service::send_transaction_service] Dropping transaction due to max retries: 3s9JFAs4s3mArA1i6ht3HQktPQqQvNuVLa3u7aYww1QsXcSgfTUA9WDwbYmLjKemdB5yog19JRrox2zWgJdJphfa [2024-05-13T07:45:49.851790745Z INFO solana_send_transaction_service::send_transaction_service] Dropping transaction due to max retries: 4ykLsZ8szFnrdqZh19kyeVnMXSkvmsetzvLQCooumcAW4gzNSHhK86oJneMw8dNRVSWypAWVgHvBeeSunyMTeTqP [2024-05-13T07:45:49.877057959Z INFO solana_quic_client::quic_client] Timedout sending data 208.85.23.4:11228 [2024-05-13T07:45:49.877076935Z INFO solana_quic_client::quic_client] Timedout sending data 208.85.23.4:11228 [2024-05-13T07:45:49.877134093Z INFO solana_quic_client::quic_client] Timedout sending data 208.85.23.4:11228

I try to telnet 208.85.23.4 11228 it shows :
root@free:~# telnet 208.85.23.4 11228
Trying 208.85.23.4...
telnet: Unable to connect to remote host: Connection refused
why my rpc node connected 208.85.23.4 at 11228 port

I thought maybe the Gbps is not enough or cpu or memory is not enough ,but it seems ok
when the snapshot's downloading was finsh, starting lag
please tell my what can I do to fix this problem

@jzqgx555 jzqgx555 added the community Community contribution label May 13, 2024
Copy link
Contributor

This repository is no longer in use. Please re-open this issue in the agave repo: https://github.com/anza-xyz/agave

@cielu
Copy link

cielu commented May 17, 2024

@jzqgx555 Have you ever fix this problem, I got too

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
community Community contribution
Projects
None yet
Development

No branches or pull requests

2 participants