Closed Bug 616492 Opened 15 years ago Closed 15 years ago

Disable cron and run management command on master.support

Categories

(mozilla.org Graveyard :: Server Operations, task)

All
Other
task
Not set
critical

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: jsocol, Assigned: jabba)

References

Details

We've just removed one of the crons from master.support and added a run-once management command. Please remove the "build_avatars" cron (it runs once a day, around 1:15am) and run "manage.py migrate_avatars". migrate_avatars will probably take 45 minutes but has been pretty well tested and should produce a reasonable amount of output to let you know it's working. (But not overrun the shell buffer.) migrate_avatars will generate... around 140,000 tiny image files. When it's done, I'd be interested in the output of `ls -l media/uploads/avatars/ | wc -l`.
Assignee: server-ops → jdow
Blocks: 614464
Justin, any chance you haven't started this and can hold off a couple hours? We might have just found a bug.
Thanks for waiting, Justin! I just checked the fix in, so it should be there after 12pm when the site updates again.
It's running right now...
Processing 1000 users (137000 total) Processing 1000 users (138000 total) Processing 1000 users (139000 total) Processing 1000 users (140000 total) Processing 1000 users (141000 total) Processing 654 users (141654 total) [root@dm-app-sumo01 ~]# [root@dm-app-sumo01 ~]# ls -l /data/www/master.support.mozilla.com/kitsune/media/uploads/avatars/ |wc -l 141203 [root@dm-app-sumo01 ~]#
Status: NEW → RESOLVED
Closed: 15 years ago
Resolution: --- → FIXED
Product: mozilla.org → mozilla.org Graveyard
You need to log in before you can comment on or make changes to this bug.