https://bugzilla.wikimedia.org/show_bug.cgi?id=37072
Web browser: ---
Bug #: 37072
Summary: jobrunner trapped in a loop cause of webVideoTranscode
job
Product: Wikimedia Labs
Version: unspecified
Platform: All
OS/Version: All
Status: NEW
Severity: normal
Priority: Unprioritized
Component: deployment-prep (beta)
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected], [email protected],
[email protected], [email protected],
[email protected]
Classification: Unclassified
Mobile Platform: ---
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)
--
Configure bugmail: https://bugzilla.wikimedia.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.
You are on the CC list for the bug.
_______________________________________________
Wikibugs-l mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/wikibugs-l