xieyuschen / quic-example

Explore the http3 by quic with examples
Apache License 2.0
14 stars 2 forks source link

Failed to sufficiently increase receive buffer size #1

Open xieyuschen opened 2 years ago

xieyuschen commented 2 years ago

The warning information when run the echo demo on ubuntu20.04.

2022/06/02 00:36:17 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.

xieyuschen commented 2 years ago

https://github.com/lucas-clemente/quic-go/wiki/UDP-Receive-Buffer-Size. Can use sysctl -w net.core.rmem_max=2500000 to solve. This command would increase the maximum receive buffer size to roughly 2.5 MB.