Hi,
Pretty new to the workings of nginx. Inherited a couple of servers running nginx as load balancers. My specific issue is I'm debugging a PHP app (sugarcrm) using xdebug in netbeans 7.3. It works fine at first as the debug session starts and fires up Sugar and I can start debugging but in about 60 seconds nginx comes back with a 'backend unavailable' page. I tried setting a "proxy_read_timeout 240" in the conf file specific to this instance of sugar but it didn't help. The only setting I could find that referenced anything related to time was in the nginx.conf file with the "keepalive_timeout 240;" (I set it to 240 from 60) This didn't help either.
I'll start digging through documentation but I'm on a tight timeline and was hoping someone might have a quick answer.
Error log shows the following:
013/04/04 23:56:02 [error] 10976#0: *3099448 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 172.x.x.x, server: sugartest.insightsnow.com, request: "POST /index.php HTTP/1.1", upstream: "http://172.x.x.x:80/index.php", host: "sugartest.insightsnow.com", referrer: "https://sugartest.insightsnow.com/index.php"
Thanks for any help offered.
Jerry
Pretty new to the workings of nginx. Inherited a couple of servers running nginx as load balancers. My specific issue is I'm debugging a PHP app (sugarcrm) using xdebug in netbeans 7.3. It works fine at first as the debug session starts and fires up Sugar and I can start debugging but in about 60 seconds nginx comes back with a 'backend unavailable' page. I tried setting a "proxy_read_timeout 240" in the conf file specific to this instance of sugar but it didn't help. The only setting I could find that referenced anything related to time was in the nginx.conf file with the "keepalive_timeout 240;" (I set it to 240 from 60) This didn't help either.
I'll start digging through documentation but I'm on a tight timeline and was hoping someone might have a quick answer.
Error log shows the following:
013/04/04 23:56:02 [error] 10976#0: *3099448 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 172.x.x.x, server: sugartest.insightsnow.com, request: "POST /index.php HTTP/1.1", upstream: "http://172.x.x.x:80/index.php", host: "sugartest.insightsnow.com", referrer: "https://sugartest.insightsnow.com/index.php"
Thanks for any help offered.
Jerry