slow keep-alive with generic kernel

sv_91 nginx-forum at
Wed Mar 29 08:04:24 UTC 2017

There are 2 different versions of the program, using keep-alive
First program, between the call to the connect operation and the write
operation, there is a short amount of time
Second program, write operation is called immediately after the connect
At the same time, the first program shows a rps of 2 times less than the
second program.
After tracing tcpdump, I can see that the server seems to "remember" the
time interval between the connection and the first write, and then follows
it when sending all subsequent responses.
With what it can be connected?

Repeats on linux kernel 4.4.0-31-generic

Posted at Nginx Forum:,273276,273276#msg-273276

More information about the nginx mailing list