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
"Too many open files" error when performing a sync using the docker image #3221
Comments
In my situation I've mounting my host disk as a volume in the docker container. Maybe this is a simple as just updating the documentation for running in docker to ensure that the maximum number of files that can be open should be raised to the hard limit for the OS when you are mounting a host volume in the docker container running nethermind. |
@matilote can we raise the default limit in our docker file? |
Cannot do that explicitly in the Dockerfile. I will update the documentation to include |
Added instructions on our docs. |
it would be nice to know a more accurate estimation than 1000000. my node synced up and was running fine for several days with the default 1024. |
up until now. it started to fail in strange ways (#6195). 65536 is the new magic number that i'm running with, but i can't say anything about stability yet. |
Describe the bug
I am performing a full archive sync of the POA Sokol network from the docker image located at https://hub.docker.com/r/nethermind/nethermind. After about 17.3 million blocks I encounter this error:
After that error is encountered the no more blocks are processed and the syncing process is essentially frozen.
To Reproduce
Execute the following:
wait very many blocks (in my case about 17.3 million), and the stack trace from above appears
Expected behavior
Ideally, we should never get this error. I wonder. in the documentation here: https://docs.nethermind.io/nethermind/first-steps-with-nethermind/manage-nethermind-with-systemd, the max number of open files is being explicitly set. should something like this be specified in the Dockerfile for nethermind as well?
Platform:
The text was updated successfully, but these errors were encountered: