-
-
Notifications
You must be signed in to change notification settings - Fork 1.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
Receive buffer size cannot be increased within Docker containers #3801
Comments
Unfortunately I'm not familiar enough with Docker networking to solve this. We have a similar report in #3418, is this a duplicate? |
Ah whoops, that is a duplicate. Not sure why I missed it when I searched earlier! Unfortunately I don't think the EC2-specific resolution in #3418 works for Docker Desktop. Maybe someone else knows how to set the equivalent sysctl keys in macOS Docker Desktop's VM? |
Is it ok if I wait for the next caddy release which includes this update? I don't know enough about go-quic to test it in isolation. Feel free to close the issue if needed and I can reopen it if I see the error keep happening. |
Right, we introduced a bunch of breaking changes since the last release.
Sure! |
is it possible to suppress this warning or bring it back to the main application to deal with the message? in some scenarios, stderr logging might not be good enough. |
@pirate have you or anyone else been able to address this in Docker Desktop or on a non-ECS host (and without |
If you'd like to suppress it, you can set the environment variable os.Setenv("QUIC_GO_DISABLE_RECEIVE_BUFFER_WARNING", "true") |
Hi, I'm trying to use caddy (which uses
quic-go v0.34.0
) in Docker, and am encountering this error.However, the Docker Desktop VM on macOS (and maybe other OSs?) has neither the
kern.ipc.maxsockbuf
nornet.core.rmem_max
sysctl settings settings available.➜ ~/$ docker run --rm -it --privileged ubuntu /bin/bash $ sysctl -w net.core.rmem_max=2097152 sysctl: cannot stat /proc/sys/net/core/rmem_max: No such file or directory $ sysctl -w kern.ipc.maxsockbuf=3014656 sysctl: cannot stat /proc/sys/kern/ipc/maxsockbuf: No such file or directory
Is there any other way to increase the QUIC receive buffer, or get rid of this error message within docker? Thanks!
Versions:
macOS 13.2.1
(arm64
M1)23.0.5, build bc4487a
0.34.0
(fromcaddyserver/caddy/go.mod
)Related:
The text was updated successfully, but these errors were encountered: