-
Notifications
You must be signed in to change notification settings - Fork 14
Device or resource busy - getaddrinfo when doing ruby http calls on ubuntu #12
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
Comments
I got something working here:
... so just need more digging
vs
|
so kind of solved ... but would still be interesting to know why this happens ... but low priority |
Listed necessary runtime dependency using
Then I can get it working by manually including minimal set of files from the list above (but still needs a patch)
|
libnss_dns and libresolv are usually distributed together with glibc, and getaddrinfo(3) in glibc loads these libs at runtime (probably by dlopen(3))
So the existence of these libs seems to be an internal convention of glibc and I think it's difficult to detect them statically... |
actually every libnss_* are potentially loaded by nss (see nsswtich.conf(5)) and libresolv is just linked to libnss_dns.
So the solution is:
|
awesome 🙇♂️ |
is there some ugly list of |
would be sufficient. like this: https://gist.github.com/coord-e/03e5b183e7317ab6502b01bff68f67e6 |
v1.3.2 is out and now you can use additional
|
awesome, thx! |
so I can confirm that "Device or resource busy" is gone ...
... but it works fine with
I'm using the new
|
finally :D
... this might be good for the readme since it's not obvious :D |
and from some reason |
hmm...
|
it works fine with
re glob: I though that would be the same library to do that, if it's easy to do I'd recommend adding but no big deal if it's not |
did not find anything on the web that would help ... something about ulimit might be setup wrong :/
ulimit seems fine:
/proc/sys/fs/file-max -> 524288
The text was updated successfully, but these errors were encountered: