Page MenuHomePhabricator

Job runner tight loop when job class does not exist
Closed, DeclinedPublic

Description

There was an infinite loop with the job runner trying to execute a job where the class did not exist on the wiki:

2015-01-22 07:20:35 mw1014 vewikimedia: [f7f64136] /rpc/RunJobs.php?wiki=vewikimedia&type=LocalRenameUserJob&maxtime=60&maxmem=300M   MWException from line 366 of /srv/mediawiki/php-1.25wmf14/includes/jobqueue/JobQueue.php: Unrecognized job type 'LocalRenameUserJob'.
#0 /srv/mediawiki/php-1.25wmf14/includes/jobqueue/JobQueueGroup.php(155): JobQueue->pop()
#1 /srv/mediawiki/php-1.25wmf14/includes/jobqueue/JobRunner.php(112): JobQueueGroup->pop()
#2 /srv/mediawiki/rpc/RunJobs.php(42): JobRunner->run()

And a bunch more log entries.

Event Timeline

Legoktm raised the priority of this task from to Needs Triage.
Legoktm updated the task description. (Show Details)
Legoktm added subscribers: Legoktm, aaron.
aaron renamed this task from Job runner inifinite loop when job class does not exist to Job runner tight loop when job class does not exist.Jan 23 2015, 11:10 PM
aaron set Security to None.
Krinkle subscribed.

Closing out as this seems specific to the old Redis-based JobQueue and JobRunner that are no longer as of last week. Please re-open if it still applies.

(See T198220 and T157088)