ProjectGroup:+index timeout due to slow query of subprojects

Bug #1016156 reported by JC Hulce
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Launchpad itself
Fix Released
Critical
Ian Booth

Bug Description

https://launchpad.net/chromium-project
(Error ID: OOPS-c182f7f94210ede212ae5b835ef993c7)

SQL time: 12670 ms
Non-sql time: 231 ms
Total time: 12901 ms
Statement Count: 56

served from chaenomeles

count, total, time, savings:
11 9657 877 8780 SQL-main-slave

SELECT Product.answers_usage,
       Product.blueprints_usage,
       Product.OWNER, Product.active,

Close inspection shows the query is often fast (4-6ms), but the fatal one at the end was 8.5 seconds - either a repeated case of GIL interaction, or a particularly special DB server behaviour.

Possible causes: cross DC interruption, GIL, $?

Tags: qa-ok timeout

Related branches

Changed in launchpad:
status: New → Triaged
importance: Undecided → Critical
summary: - Timeout on project main page
+ ProjectGroup:+index timeout due to repeated queries of all subprojects.
description: updated
summary: - ProjectGroup:+index timeout due to repeated queries of all subprojects.
+ ProjectGroup:+index timeout due to slow query of subprojects
description: updated
Ian Booth (wallyworld)
Changed in launchpad:
status: Triaged → In Progress
assignee: nobody → Ian Booth (wallyworld)
Revision history for this message
Launchpad QA Bot (lpqabot) wrote :
tags: added: qa-needstesting
Changed in launchpad:
status: In Progress → Fix Committed
Ian Booth (wallyworld)
tags: added: qa-ok
removed: qa-needstesting
Changed in launchpad:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.