Welcome! Log In Create A New Profile

Advanced

timeout error

Ryan Hatch
September 24, 2012 11:30PM
I've looked through the docs and cant seem to nail down what I need to do in order to solve this problem.

When making a request to my nginx server, occasionally the request is for something that takes a long time (in this case I'm running a select statement that could take many, many hours).

How do I get nginx to not timeout after only 60 seconds? Is there a way that I can set the timeout to an unlimited amount of time? Would I do this in the nginx.conf file or in the sites-enabled/default file?

This is an example of the error I get when I'm trying to request a query that takes a long time:

2012/09/24 19:21:23 [error] 6996#0: *20639 upstream timed out (110: Connection timed out) while reading response header from upstream, client: 10.0.0.5, server: www.myhost.com,

Thanks in advance!

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

timeout error

Ryan Hatch September 24, 2012 11:30PM

Re: timeout error

Edho Arief September 24, 2012 11:36PM



Sorry, only registered users may post in this forum.

Click here to login

Online Users

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