You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 16, 2022. It is now read-only.
This is an exploratory bug, because I don't know enough about go to answer this myself and file a better bug. I've been asked to file it on behalf of IPFS.
They, apparently, use go-sockaddr.
As an IPFS user, I noticed that one of the TCP sockets bound with a 128 depth soacceptqueue. My operating system is freebsd, and as such has a kernel tunable kern.ipc.soacceptqueue. It's set to 4096, not 128. An IPFS person suggests this socket is bound or managed by go-sockaddr.
Any idea why it would not respect my OS settings? Or perhaps I should bark up golang's tree?
The text was updated successfully, but these errors were encountered:
I borrowed directly from the golang source-- i dont think i changed that, but havent checked. look at the sources in golang-- we shouldn't be doing anything different here.
Can you spot the fix? When I wrote this bug it did not matter if you set somaxconn or soacceptqueue (both are in fact set), ipfs ignored them and set to 128. I can try it again and check, though.
As far as I can tell, this is a go-wide bug (all go code has this problem, from what I can tell) so I'm going to close this issue. If that's not the case, tell me and I'll look deeper.
This is an exploratory bug, because I don't know enough about go to answer this myself and file a better bug. I've been asked to file it on behalf of IPFS.
They, apparently, use go-sockaddr.
As an IPFS user, I noticed that one of the TCP sockets bound with a 128 depth soacceptqueue. My operating system is freebsd, and as such has a kernel tunable kern.ipc.soacceptqueue. It's set to 4096, not 128. An IPFS person suggests this socket is bound or managed by go-sockaddr.
Any idea why it would not respect my OS settings? Or perhaps I should bark up golang's tree?
The text was updated successfully, but these errors were encountered: