Loading '/' is too expensive
Bug #827874 reported by
Daniel Holbach
This bug affects 1 person
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
harvest |
Fix Released
|
Critical
|
Unassigned |
Bug Description
Loading '/' is too expensive. The machine is getting more and more unhappy and this causes problems for summit, loco directory and other pages.
Related branches
lp:~nigelbabu/harvest/cache-add
- Daniel Holbach: Approve
-
Diff: 56 lines (+24/-8)2 files modifiedharvest/common/views.py (+23/-7)
harvest/settings.py (+1/-1)
lp:~dholbach/harvest/add-indexes
- Nigel Babu (community): Approve
- harvest-dev: Pending requested
-
Diff: 161 lines (+131/-3)2 files modifiedharvest/opportunities/migrations/0003_add_indexes.py (+128/-0)
harvest/opportunities/models.py (+3/-3)
Changed in harvest: | |
importance: | Undecided → Critical |
status: | New → Confirmed |
Changed in harvest: | |
status: | Fix Committed → Fix Released |
To post a comment you must log in.
More specifically, in the past day of recording execution time for pageloads, #2 and #3 slots for most expensive were fetching '/' and a number of #10+ were fetching 'robots.txt' which is handled directly out of urls.py, suggesting that the data for which urls are expensive or not has been corrupted by the system getting wedged.
I can also tell you that postgres spends its life basically idle and unless the system is wedged all queries are <500ms, and that the apache/python processes gradually grow memory-wise until they hit swap and run away entirely and the system starts not handling connections properly.