Re: FBR : Greenwave gunicorn timeout back to 30s

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Wed, Mar 20, 2019 at 10:00:26AM +0100, Clement Verna wrote:
> On Wed, 20 Mar 2019 at 09:57, Pierre-Yves Chibon <pingou@xxxxxxxxxxxx> wrote:
> >
> > On Wed, Mar 20, 2019 at 08:22:09AM +0100, Clement Verna wrote:
> > > Hi all,
> > >
> > > I would like to revert greenwave's gunicorn timeout to the default
> > > 30s. Changing it to 10+min was useful for our investigation but it now
> > > slows down bodhi cron job. Also the greenwave team is working on fix
> > > for this so long term we should not need to have a specific timeout.
> > >
> > > I am leaving in place the longer OpenShift timeout on the route, so
> > > that it is easier to know where the timeout comes from.
> > >
> > > diff --git a/roles/openshift-apps/greenwave/templates/buildconfig.yml
> > > b/roles/openshift-apps/greenwave/templates/buildconfig.yml
> > > index d836b482d..7bb5420ba 100644
> > > --- a/roles/openshift-apps/greenwave/templates/buildconfig.yml
> > > +++ b/roles/openshift-apps/greenwave/templates/buildconfig.yml
> > > @@ -30,7 +30,6 @@ spec:
> > >
> > >        # Become non-root again
> > >        USER 1001
> > > -      ENTRYPOINT docker/install-ca.sh && gunicorn-3 --workers 8
> > > --timeout 660 --graceful-timeout 300 --bind 0.0.0.0:8080
> > > --access-logfile=- --enable-stdio-inheritance greenwave.wsgi:app
> > >    strategy:
> > >      type: Docker
> > >      dockerStrategy:
> >
> > Our investigation has shown that increasing the timeout does reduce the error
> > rate. I am +1 to reducing it because 10 minutes is definitely way too big, but
> > -1 to put it back to 30 seconds.
> 
> Sure which value would you suggests ?

We have the data*, we should just look at it :)

* We have stored the time it took to query greenwave for each of the 1500+
updates from bodhi we've tested (83 of which have more than one build), so we
should be able to look at it and see if there something in there to help us make
a reasonable decision.


Pierre
_______________________________________________
infrastructure mailing list -- infrastructure@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to infrastructure-leave@xxxxxxxxxxxxxxxxxxxxxxx
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@xxxxxxxxxxxxxxxxxxxxxxx




[Index of Archives]     [Fedora Development]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [KDE Users]

  Powered by Linux