Skip to content

accept_tcp_from_lwip error: queue overrun; shouldn't happen with lwIP listen backlog #1998

Answered by francescolavra
rinor asked this question in Q&A
Discussion options

You must be logged in to vote

Did you get that error message from an instance with multiple vCPUs? I can see in the code that this could happen when there are multiple concurrent connection requests that are processed in parallel by different vCPUs; it's a flaw in the code that we should be able to fix by reworking the logic that protects a listening socket from concurrent access to its struct fields.
Assuming you are using multi-vCPU instances, basically this could happen when your server has a TCP listen backlog close to the maximum supported value (255) and there is a high rate of client connection requests.

Replies: 1 comment 3 replies

Comment options

You must be logged in to vote
3 replies
@rinor
Comment options

@francescolavra
Comment options

Answer selected by rinor
@rinor
Comment options

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
3 participants