-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
ipfs init --profile=badgerds, mmap value log error #4242
Comments
PR #4007 |
Hey @manishrjain, any idea here? |
Ah.. yeah this is a known issue. We set the initial mmap size when writing a log file to uint32 max (4GB). And in Windows, this seems to cause issues. We'll fix it urgently. |
From looking at the linked issue it sounds like this is suspected to be a Windows issue and I can confirm that I am getting this error on Windows 10. I also see the OP in the linked issue saying "this should not prevent Badger from working on a Windows machine with enough RAM", but the machine I'm getting this error on has 16 GB of RAM which seems like it should be more than enough. |
We figured out what the issue was. Just pushed a fix, if you can try it out and confirm it. |
@whyrusleeping does the badger dependency for IPFS need to be updated or something like that in order for new IPFS builds from master to get the fix? I just tried building and retesting and saw the error again. |
@leerspace yes, all dependencies are immutable, so the change needs to be bubbled up |
This was fixed with #4291 |
I am seeing this on Arch Linux ARM on Raspberry Pi B+:
I think in my case it's just out of memory as that isn't a very powerful device. |
You can set value log to be served off disk instead of mmaping it. |
@manishrjain Could you please help me where to change this parameter in the |
@nampdn You can't yet change this through the config. Could you file a feature request? |
I just received this error this error as well while running
My machine has 32GB of memory, and only 10GB is used. Windows 10 using the Ubuntu subsystem. Thoughts? (edit: newest IPFS version, v0.4.21) |
That's a bug in the WSL: microsoft/WSL#3451. We should probably make mmapping configurable (#6449) but WSL really needs to fix this. |
Version information: ipfs version 0.4.11-rc1
Type: Bug
Severity: High
Description: Initializing an ipfs repository using the badgerds profile doesn't work in 0.4.11-rc1 and results in a non-working repository. Given the error message about not having enough free space I moved the repository onto a 1TB drive but it still fails.
FWIW this worked in ipfs version 0.4.11-dev-c14a995.
Here's the output from
ipfs init --debug --profile=badgerds
on Windows:The text was updated successfully, but these errors were encountered: