Comments (10)
I bumped the Application load balancer timeout from 60s to 120s.
from bugzilla-customisation.
Dumping some resources I found in my travels:
- https://mariadb.com/kb/en/library/slow-query-log-overview/
- https://mariadb.com/kb/en/library/explain-in-the-slow-query-log/
- https://github.com/jynus/query-optimization
- https://metacpan.org/pod/DBI#DBI_TRACE
from bugzilla-customisation.
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.
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.
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.
"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.
https://www.youtube.com/watch?v=BiScul_hGNg&feature=youtu.be video about enabling slow log on a RDS.
from bugzilla-customisation.
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.
I'm unable to reproduce the timeout on login, so perhaps you can close it.
from bugzilla-customisation.
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)
- Profile 5xx errors HOT 2
- Log ErrorLog
- Apache2::SizeLimit httpd process too big HOT 9
- Log forwarded address
- Unclear process to release in production HOT 4
- We need to turn the Status Whiteboard ON
- No products are accessible to users; users' admin roles have been revoked HOT 14
- Log mysql queries for 72hrs using binlog HOT 2
- 500 errors on lambda event HOT 1
- Log full 5xx errors to Slack HOT 1
- Custom template isn't aligned HOT 2
- Show timings in log HOT 1
- Update bugzilla code to support utf8 collation HOT 2
- Use of uninitialized value after shadowdb HOT 1
- favicon.ico missing
- Document rederive_regex_groups
- Synthesis update issue on prod snapshot HOT 1
- Make ECS health check parameters consistent between environments HOT 2
- Use tagged release
- MAJOR - Valid Docker image can be altered unexpectedly and break everything HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bugzilla-customisation.