You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
$ solana-ledger-tool program run -l test-ledger -e debugger ../program-examples/basics/hello-solana/native/program/target/so/hello_solana_program.so
[2024-06-07T14:38:16.438930820Z INFO solana_ledger_tool] solana-ledger-tool 1.18.15 (src:767d24e5; feat:4215500110, client:SolanaLabs)
2024-06-07T14:38:16.440843361Z ERROR solana_ledger::blockstore] Unable to increase the maximum open file descriptor limit to 1000000 from 1024
Failed to open blockstore at "/home/solana-test-validator/test-ledger": UnableToSetOpenFileDescriptorLimit
Proposed Solution
One way(as suggested by Sean) to solve is to increase the prlimit e.g.,
Problem
Proposed Solution
One way(as suggested by Sean) to solve is to increase the prlimit e.g.,
$ sudo prlimit -p $$ --nofile=1000000
We should add this in the doc.
Note: There was a related issue #19575 with the validator. The fix has been documented in https://docs.solanalabs.com/operations/guides/validator-start#system-tuning, other solutions were also proposed in the issue itself e.g., #19575 (comment). But it may not be obvious to users of solana-ledger-tool so we should add relevant documentation.
The text was updated successfully, but these errors were encountered: