Welcome! Log In Create A New Profile

Advanced

Problems with proxy_read_timeout

May 20, 2010 10:53PM
Hi all
I am developing an Eclipse Rich Ajax application and try to do a load-balancing using NGINX, I am using a Server-Push mechenism that the server side will generate additional scripts back to the browser when a background event is fired on the server. In my observation this requires a connection to be established while most of the time doing nothing. I observed that a timeout of 60sec occurs when the Server-Push is activated and realized this may have something to do with proxy_read_timeout directive. I changed it to have a longer timeout(1h) and the application is ok now. My question is that are there any other work around as what I do might affect other common connections; And one thing that confuses me is that this happened only when I try load balance with additional servers, the application is working fine using the default value for proxy_read_timeout.

Thanks in advance.
Subject Author Posted

Problems with proxy_read_timeout

allenli May 20, 2010 10:53PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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