nginx abort connection during reload when proxy_cache enabled
Wenjun
gwj1235 at yeah.net
Thu Jun 23 11:47:09 UTC 2022
We use nginx as the cluster ingress provider, and hit the case when:
1. enabled proxy_cache, and the specific cache is expired
2. nginx is reloading config
then for incoming request, the backend servers can still receive the request and send back response to nginx, while client will receive "curl: (52) Empty reply from server".
It seems nginx reload may cause the connection break?
attached debug log below:
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20220623/668bded8/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: vmware-view_fp17OqOhvZ.png
Type: image/png
Size: 297952 bytes
Desc: not available
URL: <http://mailman.nginx.org/pipermail/nginx-devel/attachments/20220623/668bded8/attachment.png>
More information about the nginx-devel
mailing list