Page MenuHomePhabricator

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


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 created this task.Jan 22 2015, 11:37 PM
Legoktm raised the priority of this task from to Needs Triage.
Legoktm updated the task description. (Show Details)
Legoktm added subscribers: Legoktm, aaron.
Restricted Application added a subscriber: Aklapper. · View Herald TranscriptJan 22 2015, 11:37 PM
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 moved this task from Untriaged to Legacy infra on the WMF-JobQueue board.Jul 11 2018, 3:03 AM
Krinkle closed this task as Declined.Jul 11 2018, 3:06 AM
Krinkle added a subscriber: Krinkle.

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)