Closed
Bug 978662
Opened 11 years ago
Closed 11 years ago
Stats on AoA are not being updated
Categories
(support.mozilla.org :: Army of Awesome, task, P1)
support.mozilla.org
Army of Awesome
Tracking
(Not tracked)
RESOLVED
FIXED
2014Q1
People
(Reporter: v.kaushik07, Assigned: rrosario)
Details
(Whiteboard: u=contributor c=AoA p=2 s=2014.5)
Attachments
(1 file)
|
165.13 KB,
image/png
|
Details |
User Agent: Mozilla/5.0 (Windows NT 6.1) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/33.0.1750.117 Safari/537.36
Steps to reproduce:
I am the #1 contributor on Army of Awesome and i've been doing 60-70 tweets regularly, but since 15-20 days it's not being updated. It still shows the no. of tweets that were there 15 days back.
Actual results:
No update of tweets on army of awesome since 20 days. It's showing the same no. as it showed 20 days back.
Expected results:
tweets in Army of Awesome used to be update regularly and now it's not. Tweets should have been updated regularly and it should have shown 6009 tweets of mine instead of 5352.
My original tweets on aoa is 6009. My name on aoa is @varunkaushik07 I request you to kindly fix it and update the no. of tweets of the 20 days which were not updated. I mean add the difference back. Like it's showing 5352 on AOA but it's actually 6009 as twitter says. Coz i only tweet for aoa. No tweet other than it. Please kindly fix it and add the difference tweets into all of the contributors list. everyone is being affected with it
Comment 1•11 years ago
|
||
Why did you mark this bug marked security-sensitive?
Updated•11 years ago
|
Group: websites-security
| Assignee | ||
Comment 2•11 years ago
|
||
Yeah, the cron job seems to be running out of memory and/or taking to long every night and getting killed off. We'll have to rewrite it. I've been meaning to look into it but... Thanks for filing!
Putting into next sprint. Should be about 2pts.
Assignee: nobody → rrosario
Priority: -- → P1
Whiteboard: u=contributor c=AoA p=2 s=2014.4
Target Milestone: --- → 2014Q1
| Assignee | ||
Updated•11 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Summary: The daily and total tweets on Army of Awesome are not being update since 20 days → Stats on AoA are not being updated
| Assignee | ||
Comment 3•11 years ago
|
||
Sorry, I meant to put this in *next* sprint.
Whiteboard: u=contributor c=AoA p=2 s=2014.4 → u=contributor c=AoA p=2 s=2014.5
| Assignee | ||
Comment 4•11 years ago
|
||
The result for the cron job is always one of:
MemoryError: out of memory
or
/bin/sh: line 1: 15922 Killed PYTHONPATH=/usr/local/lib64/python2.6/site-packages /usr/bin/python2.6 -W ignore::DeprecationWarning manage.py cron get_customercare_stats
One thing we do is load up all the reply tweets into memory at once from the db. I'm going to change that so it's chunked and hopefully that fixes the problem.
| Assignee | ||
Comment 5•11 years ago
|
||
In a pull request:
https://github.com/mozilla/kitsune/pull/1853
| Assignee | ||
Comment 6•11 years ago
|
||
I landed a possible on master:
https://github.com/mozilla/kitsune/commit/552e5d2e7ed51abe1363b0d757be8e8f0acc19a5
By chunking the queryset of replies, the cron job should use less memory and not get killed.
| Assignee | ||
Comment 7•11 years ago
|
||
I deployed that fix to prod. If it fails again tonight, I'll reopen this.
Status: ASSIGNED → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
You need to log in
before you can comment on or make changes to this bug.
Description
•