<div dir="auto">Hi,<div dir="auto"><br></div><div dir="auto">I see that from 1.19.10 keepalive_time has been added. </div><div dir="auto"><a href="http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive_time">http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive_time</a><br></div><div dir="auto"><br></div><div dir="auto">Also keepalive_timeout is present for idle connection</div><div dir="auto"><a href="http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive_timeout">http://nginx.org/en/docs/http/ngx_http_upstream_module.html#keepalive_timeout</a><br></div><div dir="auto"><br></div><div dir="auto">On checking the behaviour between these two, I see that keepalive_time is having higher precedence over keepalive_timeout.</div><div dir="auto">Even if connection is not idle based on keepqlive_timeout, connection is still  getting closed because of keepalive_time.</div><div dir="auto"><br></div><div dir="auto">Is this expected behaviour?</div><div dir="auto">Also can I set keepalive_time to higher value say 24hours ? Any drawbacks with this ?</div><div dir="auto">Can this keepalive_time be disabled and priority given only to keepalive_timeout ?</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto">Regards,</div><div dir="auto">Vishwas</div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div><div dir="auto"><br></div></div>