Welcome! Log In Create A New Profile

Advanced

Re: 5s hangs with http2 and variable-based proxy_pass

All files from this thread

File Name File Size   Posted by Date  
debug.log.gz 15.3 KB open | download Chris West 10/10/2016 Read message
Valentin V. Bartenev
October 10, 2016 08:00AM
On Monday 10 October 2016 12:34:18 Chris West wrote:
> If you enable http2, our proxy setup develops 5s hangs, under load.
> This happens from at least Chrome/linux, Firefox/linux and Edge/win10.
>
> Any suggestions on how to further diagnose this problem, or work out
> where this "5 second" number is coming from? Full reproduction config
> and debug logs are attached, but I don't understand the debug logs.
>
>
> This isn't always reproducible, but happens frequently. Changing
> browser, restarting nginx, ... doesn't cause it to be immediately
> reproducible.
>
[..]
> 2016/10/10 11:17:31 [debug] 4058#4058: *238 http2 frame complete
> pos:00007F536315501D end:00007F536315501D
> 2016/10/10 11:17:36 [debug] 4058#4058: *238 http upstream resolve:
> "/proxy/nettesto....?"
> 2016/10/10 11:17:36 [debug] 4058#4058: *238 name was resolved to 94.23.43.98
> 2016/10/10 11:17:36 [debug] 4058#4058: *238 name was resolved to
> 2001:41d0:2:2c62::
[..]


Looks like the delay is created by your resolver (8.8.4.4 as set in your configuration).
Please, also check the documentation and don't use any public DNS in the resolver
directive: http://nginx.org/en/docs/http/ngx_http_core_module.html#resolver

| To prevent DNS spoofing, it is recommended configuring DNS servers in a properly
| secured trusted local network.

wbr, Valentin V. Bartenev

_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
Subject Author Posted

5s hangs with http2 and variable-based proxy_pass Attachments

Chris West October 10, 2016 07:36AM

Re: 5s hangs with http2 and variable-based proxy_pass

Valentin V. Bartenev October 10, 2016 08:00AM

Re: 5s hangs with http2 and variable-based proxy_pass

Chris West October 10, 2016 08:32AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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