Hi all,
So after setting higher timeout to the openshift route, it seems that now we are hitting gunicorn worker default timeout (30s).
The following patch increase this value.
diff --git a/roles/openshift-apps/greenwave/templates/buildconfig.yml b/roles/openshift-apps/greenwave/templates/buildconfig.yml index 7bb5420ba..e293809b8 100644 --- a/roles/openshift-apps/greenwave/templates/buildconfig.yml +++ b/roles/openshift-apps/greenwave/templates/buildconfig.yml @@ -30,6 +30,7 @@ spec:
# Become non-root again USER 1001 + ENTRYPOINT docker/install-ca.sh && gunicorn-3 --workers 8 --timeout 330 --graceful-timeout 300 --bind 0.0.0.0:8080 --access-logfile=- --enable-stdio-inheritance greenwave.wsgi:app strategy: type: Docker dockerStrategy:
On Fri, Mar 15, 2019 at 03:17:37PM +0100, Clement Verna wrote:
Hi all,
So after setting higher timeout to the openshift route, it seems that now we are hitting gunicorn worker default timeout (30s).
The following patch increase this value.
diff --git a/roles/openshift-apps/greenwave/templates/buildconfig.yml b/roles/openshift-apps/greenwave/templates/buildconfig.yml index 7bb5420ba..e293809b8 100644 --- a/roles/openshift-apps/greenwave/templates/buildconfig.yml +++ b/roles/openshift-apps/greenwave/templates/buildconfig.yml @@ -30,6 +30,7 @@ spec:
# Become non-root again USER 1001
ENTRYPOINT docker/install-ca.sh && gunicorn-3 --workers 8--timeout 330 --graceful-timeout 300 --bind 0.0.0.0:8080 --access-logfile=- --enable-stdio-inheritance greenwave.wsgi:app strategy: type: Docker dockerStrategy: -- 2.20.1
+1 for me
Pierre
+1
On Fri, 15 Mar 2019 at 10:18, Clement Verna cverna@fedoraproject.org wrote:
Hi all,
So after setting higher timeout to the openshift route, it seems that now we are hitting gunicorn worker default timeout (30s).
The following patch increase this value.
diff --git a/roles/openshift-apps/greenwave/templates/buildconfig.yml b/roles/openshift-apps/greenwave/templates/buildconfig.yml index 7bb5420ba..e293809b8 100644 --- a/roles/openshift-apps/greenwave/templates/buildconfig.yml +++ b/roles/openshift-apps/greenwave/templates/buildconfig.yml @@ -30,6 +30,7 @@ spec:
# Become non-root again USER 1001
ENTRYPOINT docker/install-ca.sh && gunicorn-3 --workers 8--timeout 330 --graceful-timeout 300 --bind 0.0.0.0:8080 --access-logfile=- --enable-stdio-inheritance greenwave.wsgi:app strategy: type: Docker dockerStrategy: -- 2.20.1
+1s ?
Thanks _______________________________________________ infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedorapro...
On Fri, 2019-03-15 at 15:17 +0100, Clement Verna wrote:
Hi all,
So after setting higher timeout to the openshift route, it seems that now we are hitting gunicorn worker default timeout (30s).
The following patch increase this value.
+1s ?
-1 to this too. Now Bodhi's cron job is slower, but still times out, as mentioned in my other e-mail.
We should revert all of these timeout changes.
On Tue, 19 Mar 2019 at 21:42, Randy Barlow bowlofeggs@fedoraproject.org wrote:
On Fri, 2019-03-15 at 15:17 +0100, Clement Verna wrote:
Hi all,
So after setting higher timeout to the openshift route, it seems that now we are hitting gunicorn worker default timeout (30s).
The following patch increase this value.
+1s ?
-1 to this too. Now Bodhi's cron job is slower, but still times out, as mentioned in my other e-mail.
Yes happy to revert this since it was mostly useful for our investigations and the 10 minutes timeout is rather excessive :-).
We should revert all of these timeout changes. _______________________________________________ infrastructure mailing list -- infrastructure@lists.fedoraproject.org To unsubscribe send an email to infrastructure-leave@lists.fedoraproject.org Fedora Code of Conduct: https://getfedora.org/code-of-conduct.html List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/infrastructure@lists.fedorapro...
infrastructure@lists.fedoraproject.org