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

RocksDB Error - Data Access Failed: IO error - Too Many Open Files #2554

Closed
moisespr123 opened this issue Jun 15, 2018 · 4 comments
Closed

Comments

@moisespr123
Copy link
Contributor

When replaying, this error pops up like at above 70% replay (not sure at what percent exactly)

database.cpp:1012             notify_post_apply_op ] Caught exception in plugin: 10 assert_exception: Assert Exception
(s).ok(): Data access failed: IO error: While open a file for appending: /home/{username}/.steemd/blockchain/account-history-rocksdb-storage/022493.sst: Too many open files
   {"m":"IO error: While open a file for appending: /home/{username}/.steemd/blockchain/account-history-rocksdb-storage/022493.sst: Too many open files"}
   account_history_rocksdb_plugin.cpp:589 flushWriteBuffer

This prevents the node from syncing as it prints that error repeatedly.

@moisespr123 moisespr123 changed the title RocksDB Error - Dat aAccess Failed: IO error - Too Many Open Files RocksDB Error - Data Access Failed: IO error - Too Many Open Files Jun 15, 2018
@youkaicountry
Copy link
Contributor

What operating system are you using?

@moisespr123
Copy link
Contributor Author

Ubuntu 16.04.4

@youkaicountry
Copy link
Contributor

You'll need to increase the open file limit for your OS. Here is an article on how to do it:
https://askubuntu.com/questions/162229/how-do-i-increase-the-open-files-limit-for-a-non-root-user

@TimCliff
Copy link
Contributor

@youkaicountry should this be documented somewhere in the setup instructions? It seems that most people who try to setup an account history node with RocksDB are running into this when they run the node for the first time.

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

No branches or pull requests

3 participants