111 reputation
3
bio website tartansolutions.com
location Milwaukee, WI
age
visits member for 3 years, 3 months
seen Mar 10 at 23:07
Managing Director at Tartan Solutions, Inc.

Oct
1
awarded  Popular Question
Sep
24
awarded  Autobiographer
Aug
1
comment Nginx Tornado Combination Causing 502 Bad Gateway Errors
I think we found the root cause of this issue. It appears that if the NGINX conf file has 4 servers listed but only one Tornado server is spun up at the time then it will raise 502 Errors. We can't identify a setting for number of failed server connection attempts but it appears that we were able to eliminate the problem by pairing the NGINX conf file server count with the Tornado server count.
Aug
1
comment Nginx Tornado Combination Causing 502 Bad Gateway Errors
Thanks. We are looking into the database side right now. We use the SQL Alchemy pool for our connections to MySQL. We were thinking that since each request is handled in its own sub-process that the database connections would also operate within a sub-process which would prevent blocking. But that may not be the case.
Aug
1
awarded  Student
Jul
30
asked Nginx Tornado Combination Causing 502 Bad Gateway Errors