How to increase receive buffer size for go-ipfs in Kubernetes environment?

I am getting the following warning while running go-ipfs in Kubernetes environment

2021/12/04 22:23:46 failed to sufficiently increase receive buffer size (was: 208 kiB, wanted: 2048 kiB, got: 416 kiB). See UDP Receive Buffer Size · quic-go/quic-go Wiki · GitHub for details.

Any idea how to fix it ?

So if you click the link in the message you can see this :

sysctl -w net.core.rmem_max=2500000

I did :slight_smile: but this command doesn’t work inside official go-ipfs docker image which is based on busybox.

You need to run that on the host, not the docker.

1 Like

how do u run a ipfs on kubernetes ,can u supply a yaml? ths a lot