The job-loop triggers calls to MediaWiki maintenance/runJobs.php script. For some reason, the processes never ends and eat up all CPU.
They are jobs like:
mwscript runJobs.php --wiki=commonswiki --procs=5 &
Aka there is no type.
The commonswiki job table had two job requests for webVideoTranscode :
(mw@deployment-sql) [commonswiki]> select * from job \G
- 1. row ******* job_id: 1917 job_cmd: webVideoTranscode
job_namespace: 6
job_title: Mayday2012-edit-1.ogv
job_timestamp: 20120523195317
job_params: a:2:{s:13:"transcodeMode";s:10:"derivative";s:12:"transcodeKey";s:8:"160p.ogv";}
- 2. row ******* job_id: 1918 job_cmd: webVideoTranscode
job_namespace: 6
job_title: Mayday2012-edit-1.ogv
job_timestamp: 20120523195317
job_params: a:2:{s:13:"transcodeMode";s:10:"derivative";s:12:"transcodeKey";s:9:"480p.webm";}
2 rows in set (0.00 sec)
(mw@deployment-sql) [commonswiki]>
So it seems the runJobs.php script keep looping forever trying to achieves the jobs.
Deleting the jobs solve the looping issue:
(mw@deployment-sql) [commonswiki]> delete from job;
Query OK, 2 rows affected (0.38 sec)
Version: unspecified
Severity: normal