Re: [go-nuts] accept(2), runtime.LockOSThread and goroutine scheduling

2017-08-04 Thread Ian Lance Taylor
On Fri, Aug 4, 2017 at 1:27 AM, Konstantin Khomoutov wrote: > > We're experiencing a problem with our program which serves HTTP requests. > > Its clients have TCP connection timeouts set to 1 second, and under > certain pattern of heavy load the server fails to perform some > net.netFD.Accept() ca

[go-nuts] accept(2), runtime.LockOSThread and goroutine scheduling

2017-08-04 Thread Konstantin Khomoutov
We're experiencing a problem with our program which serves HTTP requests. Its clients have TCP connection timeouts set to 1 second, and under certain pattern of heavy load the server fails to perform some net.netFD.Accept() calls in time so a fraction of clients gets I/O timeouts when attempting t