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

Buffer size insufficient #2

Closed
1 of 2 tasks
fmedv opened this issue Apr 18, 2021 · 2 comments · Fixed by #3
Closed
1 of 2 tasks

Buffer size insufficient #2

fmedv opened this issue Apr 18, 2021 · 2 comments · Fixed by #3
Labels
bug Something isn't working

Comments

@fmedv
Copy link
Owner

fmedv commented Apr 18, 2021

Describe the bug
When the host starts a warning message appeared saying:

Creating network "ipfs_ipfs" with driver "bridge"
Creating ipfs_app ... done
Attaching to ipfs_app
app_1 | Changing user to ipfs
app_1 | ipfs version 0.8.0
app_1 | Found IPFS fs-repo at /data/ipfs
app_1 | go-ipfs version: 0.8.0-ce693d7
app_1 | Repo version: 11
app_1 | System version: amd64/linux
app_1 | Golang version: go1.14.4
app_1 | 2021/04/18 01:51:12 failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size for details.
app_1 | Swarm listening on /ip4/127.0.0.1/tcp/4001
app_1 | Swarm listening on /ip4/127.0.0.1/udp/4001/quic
app_1 | Swarm listening on /ip4/172.23.0.2/tcp/4001
app_1 | Swarm listening on /ip4/172.23.0.2/udp/4001/quic
app_1 | Swarm listening on /p2p-circuit
app_1 | Swarm announcing /ip4/127.0.0.1/tcp/4001
app_1 | Swarm announcing /ip4/127.0.0.1/udp/4001/quic
app_1 | Swarm announcing /ip4/84.115.220.57/udp/32405/quic
app_1 | API server listening on /ip4/0.0.0.0/tcp/5001
app_1 | WebUI: http://0.0.0.0:5001/webui
app_1 | Gateway (readonly) server listening on /ip4/0.0.0.0/tcp/8080
app_1 | Daemon is ready

To Reproduce
Steps to reproduce the behavior:

  1. Start Docker container

Desktop (please complete the following information):

  • OS: Windows 10 Pro
  • Native Linux
  • WSL
  • WSL Version: 2
  • Docker Engine Version: 20.10.5
@fmedv fmedv added the bug Something isn't working label Apr 18, 2021
fmedv added a commit that referenced this issue Apr 18, 2021
@fmedv fmedv closed this as completed in #3 Apr 18, 2021
@Aminechakr
Copy link

any feedback on this issue ?

@fmedv
Copy link
Owner Author

fmedv commented Aug 18, 2022

You'd have to increase network buffer size either with command sysctl -w net.core.rmem_max=2500000 (non-BSD) or sysctl -w kern.ipc.maxsockbuf=3014656 (BSD) as stated in https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants