Manual talk:ManageJobs.php
Add topicAppearance
Latest comment: 5 years ago by Tenbergen in topic What would be an abandoned job?
| This page used the Structured Discussions extension to give structured discussions. It has since been converted to wikitext, so the content and history here are only an approximation of what was actually displayed at the time these comments were made. |
What would be an abandoned job?
[edit]Just saw a link to this pop up in the runJobs page. What would be an abandoned job, how would I know if I have any and need to manage them? Tenbergen (talk) 14:35, 21 April 2021 (UTC)
- An abandoned job is apparently a job that the job runner has stopped trying to execute because it failed too many times (the default max number of attempts, which I don't know how to change except by editing JobQueue.php directly, is 3).
- You can see if you have any by running showJobs.php --group, and it will tell you which types are abandoned (as you can see in the Examples section). I have this problem on a wiki I'm helping maintain as part of my job. The reasons they happened for us was some trouble with Extension:DynamicPageList (third-party), which wasn't ready for MediaWiki 1.35 when we upgraded to that version. We didn't notice this until after it was all put into production, and the symptoms were that some pages wouldn't be added to the right categories, and that some links that should be blue (because of newly created articles) were still red.
- Ironically, we were not able to fix this with manageJobs.php (though we should have), because the
getAllAbandonedJobswas not implemented for the default JobQueueDB.php. I discovered that after the fact, but it was already fixed quite recently in phab:T276945, but that's too recent for it to be in MW 1.35. Jon Harald Søby (WMNO) (talk) 15:45, 21 April 2021 (UTC) - Thanks for the explanation, Jon! I was wondering if this might shed light on some extensions that are not updating right for me. It didn't list anything for those, but found two abandoned jobs for Extension:ReplaceText. Repushing them was not successful, but they were likely from today, so will see if they run through tomorrow. Tenbergen (talk) 03:13, 22 April 2021 (UTC)