Git Product home page Git Product logo

Comments (10)

kaihendry avatar kaihendry commented on August 23, 2024 1

I bumped the Application load balancer timeout from 60s to 120s.

from bugzilla-customisation.

kaihendry avatar kaihendry commented on August 23, 2024 1

Dumping some resources I found in my travels:

from bugzilla-customisation.

kaihendry avatar kaihendry commented on August 23, 2024

This query on login seems crazy slow: https://s.natalian.org/2017-12-08/1512709174_2164x1398.png

I'm debugging like so:

innotop -h db.dev.unee-t.com -P 3306 -u root --password=$(aws --profile lmb-dev ssm get-parameters --names MYSQL_ROOT_PASSWORD --with-decryption --query Parameters[0].Value --output text)

from bugzilla-customisation.

franck-boullier avatar franck-boullier commented on August 23, 2024

We know the query is slow: we are addressing this in issue #21

This issue should be about the AWS timeout issue in the dev environment IMO so we can tackle these different (albeit related) problems separately.

My intuition is that fixing the timeout should MUCH faster than fixing the BZ query issue...

from bugzilla-customisation.

kaihendry avatar kaihendry commented on August 23, 2024

The application timeout is some arbitrary limit like a minute (at a guess). I'm confident we would not see the timeout if the query was fast. So I am not sure what you are asking me to do there. Somehow configure the timeout to >1min?

from bugzilla-customisation.

franck-boullier avatar franck-boullier commented on August 23, 2024

"Somehow configure the timeout to >1min?"
Exactly
This is a temporary fix until we can sort out and fix the underlying issue with the query (see issue #21)

from bugzilla-customisation.

kaihendry avatar kaihendry commented on August 23, 2024

https://www.youtube.com/watch?v=BiScul_hGNg&feature=youtu.be video about enabling slow log on a RDS.

from bugzilla-customisation.

franck-boullier avatar franck-boullier commented on August 23, 2024

If I'm not mistaken, slow_log is already enabled in the dev.
@kaihendry are you OK to close this issue now?

From my POV, the only thing we can do for now is:
1- Make sure that the timeout is the same in the prod too (so we can do private Beta despite issue #21.
2- Make sure that the DB expert find a way to improve the slow query (issue #21) that is causing this timeout issue in the first place.

from bugzilla-customisation.

kaihendry avatar kaihendry commented on August 23, 2024

I'm unable to reproduce the timeout on login, so perhaps you can close it.

from bugzilla-customisation.

franck-boullier avatar franck-boullier commented on August 23, 2024

closing this:

  • timeout increase and
  • first DB optimization (see case #21)
    have made the problem disappear in the dev.

from bugzilla-customisation.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.