Use of upstream keepalive_time
Vishwas Bm
bmvishwas at gmail.com
Fri Jan 20 06:07:15 UTC 2023
Hi,
I see that from 1.19.10 keepalive_time has been added.
http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive_time
Also keepalive_timeout is present for idle connection
http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive_timeout
On checking the behaviour between these two, I see that keepalive_time is
having higher precedence over keepalive_timeout.
Even if connection is not idle based on keepqlive_timeout, connection is
still getting closed because of keepalive_time.
Is this expected behaviour?
Also can I set keepalive_time to higher value say 24hours ? Any drawbacks
with this ?
Can this keepalive_time be disabled and priority given only to
keepalive_timeout ?
Regards,
Vishwas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx/attachments/20230120/4dd440ef/attachment.htm>
More information about the nginx
mailing list