Welcome! Log In Create A New Profile

Advanced

504 timeout

Larry Martell
May 12, 2020 11:36AM
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?
_______________________________________________
nginx mailing list
nginx@nginx.org
http://mailman.nginx.org/mailman/listinfo/nginx
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: 52
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