Welcome! Log In Create A New Profile


Re: 504 timeout

Larry Martell
May 12, 2020 11:58AM
On Tue, May 12, 2020 at 11:33 AM Larry Martell <larry.martell@gmail.com> wrote:
> I have a django app using nginx and uwsgi. There can be cases when a
> request from a user does not come back from the db for 15-20 minutes.
> This is expected as it's calling a stored proc that does a lot and
> this is an internal app. Issue is that after some amount of time I get
> a 504 timeout error - but it's not always the same time - sometimes 10
> minutes, sometimes 15, sometimes 16. My config file has:
> uwsgi_read_timeout 60m;
> uwsgi_send_timeout 60m;
> client_body_timeout 60m;
> Are there any other settings I need to set to avoid the 504?

Also just tried adding these to the global settings:

proxy_connect_timeout 60m;
proxy_send_timeout 60m;
proxy_read_timeout 60m;

But no joy.
nginx mailing list
Subject Author Posted

504 timeout

Larry Martell May 12, 2020 11:36AM

Re: 504 timeout

Larry Martell May 12, 2020 11:58AM

Re: 504 timeout

Norman Gray May 12, 2020 12:56PM

Re: 504 timeout

Larry Martell May 12, 2020 02:42PM

Sorry, only registered users may post in this forum.

Click here to login

Online Users

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