Welcome! Log In Create A New Profile

Advanced

Re: nginx abort connection during reload when proxy_cache enabled

Maxim Dounin
June 23, 2022 05:06PM
Hello!

On Thu, Jun 23, 2022 at 07:47:09PM +0800, Wenjun wrote:

> 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:

From the debug log it looks like an issue with "aio_write", as
documented here:

https://trac.nginx.org/nginx/ticket/2162

Switching off "aio_write" should fix this if this issue manifests
itself in your particular setup.

Note that you are writing to the mailing list dedicated to nginx
development. Unless you are willing to submit patches, please
avoid further user-level posts here. If you have additional
questions, please use the nginx@ mailing list instead. Thank you.

Note well that posting logs as images might not be a good idea.
Posting plain text logs is generally a much better idea. Thank
you again.

--
Maxim Dounin
http://mdounin.ru/
_______________________________________________
nginx-devel mailing list -- nginx-devel@nginx.org
To unsubscribe send an email to nginx-devel-leave@nginx.org
Subject Author Views Posted

nginx abort connection during reload when proxy_cache enabled Attachments

Wenjun 404 June 23, 2022 07:48AM

Re: nginx abort connection during reload when proxy_cache enabled

Maxim Dounin 138 June 23, 2022 05:06PM



Sorry, you do not have permission to post/reply in this forum.

Online Users

Guests: 179
Record Number of Users: 8 on April 13, 2023
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready