/ go Public
x/net/http2: too many sockets created at high throughput #48659
Someone must examine and confirm this is a valid issue and not a duplicate of an existing one.
What version of Go are you using (
Does this issue reproduce with the latest release?
What operating system and processor architecture are you using (
Note: the code is built using
$Env:GOOS = "linux"; $Env:GOARCH = "arm64"and tested on a c4x.18xlarge aws ec2 instance
What did you do?
Ran an http2 stress-test, client and server on different machines but same VPC. testing with traffic gradually increasing - going up-to 20K requests/second (although issue occured before that limit)
In a separate shell, ran
lsof -p <pid> | wc -lto monitor the used sockets
This was done in 2 situations
What did you expect to see?
lsof -p <pid> | wc -lwould gradually increase.
What did you see instead?
lsof -p <pid> | wc -ljumped .
Go routine dump of client
the overwhelming majority of goroutines are stuck at
go routine sample dumpOutput
The text was updated successfully, but these errors were encountered: