<div dir="ltr">Hi Jore,<div><br></div><div>Thanks for taking time to look into this.</div><div><br></div><div>I am not able to understand what you mean. </div><div>If you are asking about, if ipv4/6 addresses of the machines changed recently, then the answer is "no".</div><div><br></div><div>The servers are deployed on AWS and have an elastic IP address assigned to them.</div><div><br></div><div>Another thing is, the issue disappeared for unknown reasons. <br>While troubleshooting the issue, I did many changes to the system to see if it worked. Nothing had any effect. </div><div>I could observe the same issue after those changes. </div><div><br></div><div>I do not know what went wrong & what went right later.</div><div>I only know that I had to spend hours to attempt to solve the problem :-)</div><div>Anyway, thanks again!</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Jun 11, 2022 at 5:31 AM <<a href="mailto:nginx-request@nginx.org">nginx-request@nginx.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send nginx mailing list submissions to<br>
<a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
<br>
To subscribe or unsubscribe via email, send a message with subject or<br>
body 'help' to<br>
<a href="mailto:nginx-request@nginx.org" target="_blank">nginx-request@nginx.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:nginx-owner@nginx.org" target="_blank">nginx-owner@nginx.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of nginx digest..."Today's Topics:<br>
<br>
1. Nginx response times got increased for unknown reasons<br>
(Tamil Vendhan Kanagarasu)<br>
2. Re: Nginx response times got increased for unknown reasons (Jore)<br>
<br><br><br>---------- Forwarded message ----------<br>From: Tamil Vendhan Kanagarasu <<a href="mailto:tamil@helptap.com" target="_blank">tamil@helptap.com</a>><br>To: <a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>Cc: <br>Bcc: <br>Date: Fri, 10 Jun 2022 22:09:42 +0530<br>Subject: Nginx response times got increased for unknown reasons<br><div dir="ltr">Hello everyone,<div><br></div><div>We have been using Nginx for a few months now.</div><div>It was great until this week. For unknown reasons, response times got higher.</div><div>Like 2 minutes, 3 minutes higher from what was < 300ms before. </div><div><br></div><div>No change on nginx configuration side. </div><div>Mostly, I use the configuration unchanged from apt install.</div><div>Only the following settings are added</div><div><br></div><div>```</div><div><br># Max size of request<br>client_max_body_size 100M;<br><br># Max request headers size<br>client_header_buffer_size 5120k;<br><br># <br>large_client_header_buffers 16 5120k;<br><br># Server name size<br>server_names_hash_bucket_size 128;<br><br>server_tokens off; # removed pound sign<br>more_set_headers 'Server: <a href="http://helptap.com" target="_blank">helptap.com</a>';<br></div><div>```</div><div><br></div><div>The setup is as follows:</div><div>1. Nginx is configured to deliver some static files.</div><div>2. Nginx is configured to work as reverse proxy. Upstream communications are done over websocket.</div><div>3. SSL is used for all communications. SSL is done using letsencrypt.</div><div><br></div><div>I timed the upstream & able to confirm that they respond with in < 50ms in all the cases.</div><div>In the browser, I receive them many seconds and in many cases minutes later.</div><div>This issue is observed with both static file serving, http requests & websocket messages.</div><div>So, I am sure that, it is not upstream issue, as static files also takes > 2 minutes to receive in one case. </div><div><br></div><div>Any help to understand and resolve the problem would be greatly helpful to me.</div><div><br></div><div>Good day!</div><div><br></div><div>Best,</div><div>Tamil Vendhan Kanagarasu</div><div><br></div><div><br></div></div>
<br><br><br>---------- Forwarded message ----------<br>From: Jore <<a href="mailto:community@thoughtmaybe.com" target="_blank">community@thoughtmaybe.com</a>><br>To: <a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>Cc: <br>Bcc: <br>Date: Sat, 11 Jun 2022 08:04:11 +1000<br>Subject: Re: Nginx response times got increased for unknown reasons<br>
<div>
<p>Is an IPv4 or IPv6 change a factor?<br>
</p>
<p><br>
</p>
<div>On 11/6/22 2:39 am, Tamil Vendhan
Kanagarasu wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">Hello everyone,
<div><br>
</div>
<div>We have been using Nginx for a few months now.</div>
<div>It was great until this week. For unknown reasons, response
times got higher.</div>
<div>Like 2 minutes, 3 minutes higher from what was < 300ms
before. </div>
<div><br>
</div>
<div>No change on nginx configuration side. </div>
<div>Mostly, I use the configuration unchanged from apt install.</div>
<div>Only the following settings are added</div>
<div><br>
</div>
<div>```</div>
<div><br>
# Max size of request<br>
client_max_body_size 100M;<br>
<br>
# Max request headers size<br>
client_header_buffer_size 5120k;<br>
<br>
# <br>
large_client_header_buffers 16 5120k;<br>
<br>
# Server name size<br>
server_names_hash_bucket_size 128;<br>
<br>
server_tokens off; # removed pound sign<br>
more_set_headers 'Server: <a href="http://helptap.com" target="_blank">helptap.com</a>';<br>
</div>
<div>```</div>
<div><br>
</div>
<div>The setup is as follows:</div>
<div>1. Nginx is configured to deliver some static files.</div>
<div>2. Nginx is configured to work as reverse proxy. Upstream
communications are done over websocket.</div>
<div>3. SSL is used for all communications. SSL is done using
letsencrypt.</div>
<div><br>
</div>
<div>I timed the upstream & able to confirm that they
respond with in < 50ms in all the cases.</div>
<div>In the browser, I receive them many seconds and in many
cases minutes later.</div>
<div>This issue is observed with both static file serving, http
requests & websocket messages.</div>
<div>So, I am sure that, it is not upstream issue, as static
files also takes > 2 minutes to receive in one case. </div>
<div><br>
</div>
<div>Any help to understand and resolve the problem would be
greatly helpful to me.</div>
<div><br>
</div>
<div>Good day!</div>
<div><br>
</div>
<div>Best,</div>
<div>Tamil Vendhan Kanagarasu</div>
<div><br>
</div>
<div><br>
</div>
</div>
<br>
<fieldset></fieldset>
<pre>_______________________________________________
nginx mailing list -- <a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a>
To unsubscribe send an email to <a href="mailto:nginx-leave@nginx.org" target="_blank">nginx-leave@nginx.org</a>
</pre>
</blockquote>
</div>
_______________________________________________<br>
nginx mailing list -- <a href="mailto:nginx@nginx.org" target="_blank">nginx@nginx.org</a><br>
To unsubscribe send an email to <a href="mailto:nginx-leave@nginx.org" target="_blank">nginx-leave@nginx.org</a><br>
</blockquote></div>