Maintenance will be performed on git.ligo.org, chat.ligo.org, containers.ligo.org, and docs.ligo.org on Tuesday 22nd September 2020 starting at approximately 9am MST.It is expected to take around 15 minutes and there will be a short period of downtime towards the end of the maintenance window. Please address any comments, questions, or concerns to computing-help@igwn.org.

Commit 7d3138f8 authored by Tanner Prestegard's avatar Tanner Prestegard Committed by GraceDB

Increase gunicorn keep-alive timeout for AWS deployment

Suggested keepalive time is 1-5 seconds for standard deployment,
but it should be much higher for deployments behind a load
balancer. We are hoping this might resolve the SSLEOFErrors which
have been seen on the AWS deployment.  Traefik's keepalive time
is hard-coded to 90 seconds so we want gunicorn's to be longer than
that, so we set it to 100 s.
parent b4b72af7
Pipeline #55411 passed with stage
in 5 minutes and 55 seconds
......@@ -6,7 +6,7 @@ redirect_stderr=true
priority=3
[program:gracedb]
command=/usr/local/bin/gunicorn config.wsgi:application --reload --config /app/gracedb_project/config/gunicorn_config.py --error-logfile='-' --access-logfile='-'
command=/usr/local/bin/gunicorn config.wsgi:application --reload --config /app/gracedb_project/config/gunicorn_config.py --error-logfile='-' --access-logfile='-' --keep-alive=100
directory=/app/gracedb_project
user=gracedb
group=www-data
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment