-
Notifications
You must be signed in to change notification settings - Fork 755
Closed
Description
I'm trying to package this project for fedora, but I'm hitting a "too many open files" error during the mandatory execution of the test suite in the build root:
+ go test -compiler gc -ldflags '' github.com/xtaci/kcp-go
beginning tests, encryption:salsa20, fec:10/3
default mode result (4800ms):
avgrtt=1711 maxrtt=2779
normal mode result (2123ms):
avgrtt=131 maxrtt=281
fast mode result (2104ms):
avgrtt=133 maxrtt=264
panic: net.DialUDP: dial udp 127.0.0.1:9999: socket: too many open files
goroutine 1227 [running]:
github.com/xtaci/kcp-go.dialEcho(0x0, 0x0, 0x0)
/builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-3.15-1.fc27.x86_64/usr/share/gocode/src/github.com/xtaci/kcp-go/sess_test.go:47 +0x2d2
github.com/xtaci/kcp-go.parallel_client(0xc42019e650, 0xc420202f98, 0x477172)
/builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-3.15-1.fc27.x86_64/usr/share/gocode/src/github.com/xtaci/kcp-go/sess_test.go:348 +0x26
created by github.com/xtaci/kcp-go.TestParallel1024CLIENT_64BMSG_64CNT
/builddir/build/BUILDROOT/golang-github-xtaci-kcp-go-3.15-1.fc27.x86_64/usr/share/gocode/src/github.com/xtaci/kcp-go/sess_test.go:342 +0x7e
FAIL github.com/xtaci/kcp-go 12.556s
Metadata
Metadata
Assignees
Labels
No labels