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

Why is solana RPC node disk read very high #35441

Closed
zhy827827 opened this issue Mar 12, 2024 · 1 comment
Closed

Why is solana RPC node disk read very high #35441

zhy827827 opened this issue Mar 12, 2024 · 1 comment
Labels
community Community contribution

Comments

@zhy827827
Copy link

zhy827827 commented Mar 12, 2024

rServer monitoring data solana-validator

solana-validator version:v1.17.24(1.17.25)

                   R           W
md0                 9.61G   494M

It's interesting that disk reads are getting higher and higher!

pidstat $pid

06:10:42     1000         -     12768 244072.00      0.00      0.00       8  |__solRpcEl
06:10:42     1000         -     12769 1243788.00      0.00      0.00      37  |__solRpcEl
06:10:42     1000         -     12770      0.00      0.00      0.00       0  |__solRpcEl
06:10:42     1000         -     12771 1194344.00      0.00      0.00      36  |__solRpcEl
06:10:42     1000         -     12772 240192.00      0.00      0.00       6  |__solRpcEl
06:10:42     1000         -     12773      0.00      0.00      0.00       0  |__solRpcEl
06:10:42     1000         -     12774      0.00      0.00      0.00       0  |__solRpcEl
06:10:42     1000         -     12775      0.00      0.00      0.00       0  |__solRpcEl
06:10:42     1000         -     12776 1135548.00      0.00      0.00      37  |__solRpcEl

ubuntu@mainnet-solana-02:~$ sudo strace -p 12771

strace: Process 12760 attached
futex(0x7f8fd42081b0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f8fd42081b0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f8fd42081b0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f8fd4207d50, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f8f0f10e3a4, FUTEX_WAIT_BITSET_PRIVATE, 20, NULL, FUTEX_BITSET_MATCH_ANY) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x7f8f0f10e3a4, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f8f0f112424, FUTEX_WAIT_BITSET_PRIVATE, 34, NULL, FUTEX_BITSET_MATCH_ANY) = -1 EAGAIN (Resource temporarily unavailable)
futex(0x7f8f0f112424, FUTEX_WAKE_PRIVATE, 1) = 0
futex(0x7f8fd4207d50, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f90b13b6608, FUTEX_WAIT_BITSET_PRIVATE, 2147483647, NULL, FUTEX_BITSET_MATCH_ANY) = 0
futex(0x7f8fd42081b0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f8f0f194320, FUTEX_WAIT_BITSET_PRIVATE, 2147483647, NULL, FUTEX_BITSET_MATCH_ANY) = 0
futex(0x7f8fd42081b0, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f8fd4207d50, FUTEX_WAKE_PRIVATE, 1) = 1
futex(0x7f8f0f167020, FUTEX_WAKE_PRIVATE, 2147483647) = 0
futex(0x7f8fd4207d50, FUTEX_WAKE_PRIVATE, 1) = 1

__SolRpcEl is this thread crazily reading,I checked the source code, __ Solrpcel provides RPC services, but our service has not provided

1710731081940

ExecStart:

ExecStart=/home/ubuntu/solana-release/bin/solana-validator
--identity /home/ubuntu/key/validator-keypair.json
--known-validator 7Np41oeYqPefeNQEHSv1UDhYrehxin3NStELsSKCT4K2
--known-validator GdnSyH3YtwcxFvQrVVJMm1JhTS4QVX7MFsX56uJLUfiZ
--known-validator DE1bawNcRJB9rVm3buyMVfr8mBEoyyu73NBovf2oXJsJ
--known-validator CakcnaRDHka2gXyfbEd2d3xsvkJkqsLw2akB3zsN1D2S
--ledger /opt/sol/validator-ledger
--accounts /mnt/solana-accounts
--rpc-bind-address 0.0.0.0
--no-voting
--rpc-port 8899
--log /opt/sol/logs/sol.log
--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
--dynamic-port-range 8000-9000
--enable-rpc-transaction-history
--expected-genesis-hash 5eykt4UsFv8P8NJdTREpY1vzqKqZKvdpKuc147dw2N9d
--no-port-check
--full-rpc-api
--wal-recovery-mode skip_any_corrupted_record
--account-index spl-token-owner
--account-index program-id
--rpc-pubsub-enable-block-subscription
--geyser-plugin-config /home/ubuntu/solana-release/yellowstone-grpc-geyser/config.json
--limit-ledger-size

Is there any way to reduce the reading of disk?

@zhy827827 zhy827827 added the community Community contribution label Mar 12, 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

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

1 participant