Sébastien,
Nginx should keep active connections open and wait for a request to
complete before closing.
A reload starts a new set of workers while old workers wait for old
connections to shut down.
The only exception I'm aware of is having worker_shutdown_timeout
configured: in this case a wor
Sent from my mobile phone (301) 785-4377On Mar 25, 2024, at 8:32 AM, Sébastien Rebecchi wrote:HelloI have an issue with nginx closing prematurely connections when reload is performed.I have some nginx servers configured to proxy_pass requests to an upstream group. This group itself is composed of
What language is your upstream API written in and are you hosting in
Amazon? Even if you aren't hosting in Amazon, it seems your values are
quite low for connect, read and send.
If you are running NodeJS for the upstream, one thing I have found is that
certain values need to be offset to avoid th
Hello
I have an issue with nginx closing prematurely connections when reload is
performed.
I have some nginx servers configured to proxy_pass requests to an upstream
group. This group itself is composed of several servers which are nginx
themselves, and is configured to use keepalive connection