gRPC reverse proxy closed tcp connection after 1000 rpc calls

Sergey Kandaurov pluknet at nginx.com
Wed Mar 6 15:23:48 UTC 2019


> On 6 Mar 2019, at 17:20, jetchars <nginx-forum at forum.nginx.org> wrote:
> 
> Hey, genius
> 
> I've followed the official user guide to create a gRPC reverse proxy, config
> as follow:
> 
> [..]
> - nginx keepalive with upstream servers successfully
> - but when keepalive with gRPC client, after 1000 requests been processed,
> nginx will close the tcp connection, because I can find `TIME_WAIT` on the
> nginx side.
> - then gRPC client will report tens of thousands of `TransientFailure` at
> same time
> 

See http://nginx.org/r/http2_max_requests

-- 
Sergey Kandaurov



More information about the nginx mailing list