Welcome! Log In Create A New Profile

Advanced

nginx reverse proxy causing TCP queuing spikes

Grant
September 21, 2016 11:36AM
I've been struggling with http response time slowdowns and
corresponding spikes in my TCP Queuing graph in munin. I'm using
nginx as a reverse proxy to apache which then hands off to my backend,
and I think the proxy_read_timeout line in my nginx config is at least
contributing to the issue. Here is all of my proxy config:

proxy_read_timeout 60m;
proxy_pass http://127.0.0.1:8080;

I think this means I'm leaving connections open for 60 minutes after
the last server response which sounds like a bad thing. However, some
of my admin pages need to run for a long time while they wait for the
server-side stuff to execute. I only use the proxy_read_timeout
directive on my admin locations and I'm experiencing the TCP spikes
and http slowdowns during the exact hours that the admin stuff is in
use.

- Grant

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

nginx reverse proxy causing TCP queuing spikes

Grant September 21, 2016 11:36AM

Re: nginx reverse proxy causing TCP queuing spikes

Grant September 24, 2016 08:52PM

Re: nginx reverse proxy causing TCP queuing spikes

B.R. September 25, 2016 10:00AM

Re: nginx reverse proxy causing TCP queuing spikes

Grant September 28, 2016 03:16PM

Re: nginx reverse proxy causing TCP queuing spikes

Robert Paprocki September 28, 2016 03:18PM

Re: nginx reverse proxy causing TCP queuing spikes

Grant September 28, 2016 07:50PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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