Closed Bug 1151514 Opened 11 years ago Closed 11 years ago

Stuck cron job on supportadm

Categories

(Infrastructure & Operations Graveyard :: WebOps: Other, task)

x86_64
Linux
task
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: mythmon, Assigned: cliang)

References

Details

(Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/910] )

+++ This bug was initially created as a clone of Bug #1129530 +++ SUMO's cron jobs each have a unique lock so they don't end up running multiple times simultaneously. One of SUMO's cron jobs (collect_tweets, which runs once a minute) seems to have gotten stuck. It's lock (/tmp/django_cron.sumo-prod.collect_tweets) is still in place, and the process is still running. Can someone kill the process and delete the lock file? This cron is expected to run once a minute, and it hasn't run in a few days. We have made changes to this cronjob so that it times out after 10 seconds, so hopefully it won't get stuck again in the future. I get emails from these cronjobs that look like Cron <apache@supportadm> cd /data/support/www/support.mozilla.org/kitsune; source virtualenv/bin/activate; python -W ignore::DeprecationWarning manage.py cron collect_tweets Script run multiple times. If this isn't true, delete `/tmp/django_cron.sumo-prod.collect_tweets`. Sentry is attempting to send 1 pending error messages Waiting up to 10 seconds Press Ctrl-C to quit
Assignee: server-ops-webops → cliang
Blocks: 1152301
Whiteboard: [kanban:https://webops.kanbanize.com/ctrl_board/2/416] → [kanban:https://webops.kanbanize.com/ctrl_board/2/910]
Whuff. Apologies for the late response as this seems to have gotten dropped by the kanban. I've deleted the lock file and terminated the long running process (Apr 2nd). It looks like there have been two runs of the collect_tweets job which have (hopefully) executed correctly. (Neither run left a log file behind.)
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
mythmon - Bug 1140870 is related I believe :)
Product: Infrastructure & Operations → Infrastructure & Operations Graveyard
You need to log in before you can comment on or make changes to this bug.