-
-
Notifications
You must be signed in to change notification settings - Fork 3.1k
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
bitmonerod runs out of file descriptors #389
Comments
It's a known issue we're trying to resolve - I've had it happen on mainchain on OS X, but not reproducibly on Linux (probably because of higher ulimits). What platform are you on? |
This is on stock Ubuntu 14.04.3 LTS (no changed ulimits). ulimit shows:
|
suggest setting it much lower for testing. 50 should be more than sufficient if incoming connections are firewalled off. |
@iamsmooth my playing-around-with-testing environment is a production Linux box that has a high limit, but for reproducing this issue I agree. This is mainnet only as far as I can tell, which definitely points to the MoneroPulse DNS checkpointing, so that's where I'm focused on atm |
Happened again. This time it segfaulted while processing the error.
dmesg:
addr2line (not a debug build, so just symbol info):
Is there anything that I can disable (eg |
This is what we're busy testing as a fix, if you want to try it:
|
Trying with that |
Are you running a static build ? If so, try with dynamic. I get the problem only with static builds here, even when using the same unbound tree for both (the in-tree one). It seems weird so I want to know if you can get it to happen with dynamic builds. |
Also, this makes it happen a lot quicker when testing: Hmm, doesn't display correctly here, so.... diff --git a/src/cryptonote_core/cryptonote_core.cpp b/src/cryptonote_core/cryptonote_core.cpp
|
Fixed: Seems to run well here with a very low ulimit -n, but please report if it still borks after a long time. |
Also I'm closing as we've merged this into master, please reopen if it occurs again |
This is just the default |
I've noticed that bitmonerod runs out of file descriptors after a few days. This has happened twice now, so I thought it may be worth reporting.
Git version: 776b4fc
Output:
The text was updated successfully, but these errors were encountered: