Welcome! Log In Create A New Profile

Advanced

nginx proxy being slow

October 06, 2014 09:06PM
We are trying to act as a proxy for a site within the same DMZ. Things seem to work fine, except when there is quite a heavy load. There are many CSS assets that just hang upon retrieval. Sometimes the full page comes through; sometimes just spins forever.

Server: nginx 1.6.1 running on Linux.
Memory: 18Gb

proxy_buffering on;
proxy_buffers 256 8k;
proxy_busy_buffers_size 64;
proxy_temp_file_write_size 64;

Under heavy loads, about 1500 requests a second, a page is not completely sent back to the browser as some of the CSS resources taking anywhere from 2 - 10 seconds to return. It will just spin until eventually it gets sent back. CPU and memory usage is not dramatically high. Smaller sites return without any issue at all.

Do I have the buffering wrong or is there something else at play?

Thank you

Imran
Subject Author Posted

nginx proxy being slow

imran_k October 06, 2014 09:06PM

Re: nginx proxy being slow

Maxim Dounin October 07, 2014 08:02AM

Re: nginx proxy being slow

imran_k October 07, 2014 10:00AM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

Guests: 74
Record Number of Users: 6 on February 13, 2018
Record Number of Guests: 421 on December 02, 2018
Powered by nginx      Powered by FreeBSD      PHP Powered      Powered by MariaDB      ipv6 ready