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

Issue: tcp_input_lower #1850

Open
zeroecco opened this issue May 9, 2023 · 3 comments
Open

Issue: tcp_input_lower #1850

zeroecco opened this issue May 9, 2023 · 3 comments

Comments

@zeroecco
Copy link

zeroecco commented May 9, 2023

Hello! I finally got geth running in nanos but it looks like tcp queuing is not working? I see this error spamming:

tcp_input_lower error: incoming queue full

is there a config or a change I can try to or maybe something else I can do?

This happens on the nightly build and the normal build

@zeroecco zeroecco changed the title Question: MemFS Issue: tcp_input_lower May 9, 2023
@francescolavra
Copy link
Member

You can try increasing the size of the socket receive buffer, by setting a "so_rcvbuf" value in the config.json file used by Ops when creating an image. The default buffer size is 208 KB; to change the size to, say, 512 KB, you would insert the following in your config.json file:

  "ManifestPassthrough": {
    "so_rcvbuf": "524288"
  }

@Jackson-Greene-Curtin
Copy link

You can try increasing the size of the socket receive buffer, by setting a "so_rcvbuf" value in the config.json file used by Ops when creating an image. The default buffer size is 208 KB; to change the size to, say, 512 KB, you would insert the following in your config.json file:

  "ManifestPassthrough": {
    "so_rcvbuf": "524288"
  }

Hello,

I tried this but it seems like it doesn't solve the issue. I am still getting

tcp_input_lower error: incoming queue full

error messages when at the same point as before changing this. Is this solution outdated or is there another option that is needed?

Thanks

@francescolavra
Copy link
Member

The above solution still applies, and there are no other tunables to increase the buffer size.
If you are still getting "incoming queue full" errors after increasing so_rcvbuf, you are likely running into another limit, i.e. the number of incoming TCP packets being buffered: currently the kernel can queue up to 256 packets in a given network socket, so if you hit that limit any additional incoming packets will be dropped even if the total buffer size has not been reached. We could look into removing this limit in the kernel.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants