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

too many open files in v0.4.2 #2739

Closed
peersafe opened this issue May 19, 2016 · 11 comments
Closed

too many open files in v0.4.2 #2739

peersafe opened this issue May 19, 2016 · 11 comments
Labels
kind/bug A bug in existing code (including security flaws)

Comments

@peersafe
Copy link

Initializing daemon...
Swarm listening on /ip4/114.242.47.102/tcp/1113
Swarm listening on /ip4/114.242.47.102/tcp/33506
Swarm listening on /ip4/127.0.0.1/tcp/4001
Swarm listening on /ip4/192.168.0.235/tcp/4001
Swarm listening on /ip6/::1/tcp/4001
API server listening on /ip4/127.0.0.1/tcp/5001
Gateway (readonly) server listening on /ip4/127.0.0.1/tcp/8080
Daemon is ready
16:10:13.428 ERROR flatfs: too many open files, retrying in %dms0 flatfs.go:127
16:10:13.429 ERROR flatfs: too many open files, retrying in %dms100 flatfs.go:127
16:10:13.530 ERROR flatfs: too many open files, retrying in %dms200 flatfs.go:127
16:10:37.905 ERROR mdns: mdns lookup error: failed to bind to any unicast udp port mdns.go:130
16:10:57.901 ERROR mdns: mdns lookup error: failed to bind to any unicast udp port mdns.go:130

@RichardLitt RichardLitt added the kind/bug A bug in existing code (including security flaws) label May 19, 2016
@whyrusleeping
Copy link
Member

what platform are you on? (os, architecture) and what are you using the daemon for, what does your workload look like?

@peersafe
Copy link
Author

On Mac OSX 10.11.4, try to get some files several times, the error will occurred, but not always.

@whyrusleeping
Copy link
Member

@peersafe try running the daemon as ipfs daemon --manage-fdlimit

@whyrusleeping whyrusleeping added this to the Ipfs 0.4.3 milestone Jun 21, 2016
@whyrusleeping
Copy link
Member

@peersafe this should be better now. I made that manage-fdlimit option default to true.

@briansoule
Copy link

Still getting this on MacOS 10.12.6

@Kubuxu
Copy link
Member

Kubuxu commented Aug 3, 2017

Try updating to newest master. New bug causing this was just fixed.

@tolak
Copy link

tolak commented Sep 18, 2017

I encountered this error on linux mint 18, the bug is still existing.

@Kubuxu
Copy link
Member

Kubuxu commented Sep 18, 2017

Did you use 0.4.11-rc1?

@tolak
Copy link

tolak commented Sep 19, 2017

No, it's 0.4.10 downloaded from here:https://dist.ipfs.io/#go-ipfs.

@Kubuxu
Copy link
Member

Kubuxu commented Sep 19, 2017

It is fixed in 0.4.11-rc1. You can download it from: https://dist.ipfs.io/go-ipfs/v0.4.11-rc1

@tolak
Copy link

tolak commented Sep 19, 2017

Thanks. I will try it!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug A bug in existing code (including security flaws)
Projects
None yet
Development

No branches or pull requests

6 participants