8000 Agave-validator crashing periodically with "Failed to map the data file: Cannot allocate memory (os error 12)" · Issue #5774 · anza-xyz/agave · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Agave-validator crashing periodically with "Failed to map the data file: Cannot allocate memory (os error 12)" #5774

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

Open
< 8DA2 div class="flex-auto min-width-0 mb-2"> akahand opened this issue Apr 11, 2025 · 0 comments

Comments

@akahand
Copy link
akahand commented Apr 11, 2025

Version: agave-validator 2.1.16 (src:5002c630; feat:3271415109, client:Agave)

[2025-04-11T13:20:47.084714298Z ERROR solana_accounts_db::accounts_hash] Failed to map the data file (size: 736): Cannot allocate memory (os error 12). Please increase sysctl vm.max_map_count or equivalent for your platform.
[2025-04-11T13:20:47.084724378Z ERROR solana_accounts_db::accounts_hash] Failed to map the data file (size: 768): Cannot allocate memory (os error 12). Please increase sysctl vm.max_map_count or equivalent for your platform.
[2025-04-11T13:20:47.084714948Z ERROR solana_accounts_db::accounts_hash] Failed to map the data file (size: 544): Cannot allocate memory (os error 12). Please increase sysctl vm.max_map_count or equivalent for your platform.
[2025-04-11T13:20:47.084725698Z ERROR solana_accounts_db::accounts_hash] Failed to map the data file (size: 384): Cannot allocate memory (os error 12). Please increase sysctl vm.max_map_count or equivalent for your platform.
[2025-04-11T13:20:47.084715668Z ERROR solana_accounts_db::accounts_hash] Failed to map the data file (size: 608): Cannot allocate memory (os error 12). Please increase sysctl vm.max_map_count or equivalent for your platform.
[2025-04-11T13:20:47.084727288Z ERROR solana_accounts_db::accounts_hash] Failed to map the data file (size: 384): Cannot allocate memory (os error 12). Please increase sysctl vm.max_map_count or equivalent for your platform.

Memory

               total        used        free      shared  buff/cache   available
Mem:           1.1Ti       395Gi        22Gi       1.0Mi       714Gi       730Gi
Swap:          4.0Gi        38Mi       4.0Gi

/etc/sysctl.d/21-solana-validator.conf

net.core.rmem_default = 134217728
net.core.rmem_max = 134217728
net.core.wmem_default = 134217728
net.core.wmem_max = 134217728
vm.max_map_count = 2000000
fs.nr_open = 1000000

First, vm.max_map_count was 1000000. Agave periodically crashed. An increase max_map_count to 200000 does not solve the problem.

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

No branches or pull requests

1 participant
0