I looked into this a little further. It appears the --memory-limit option for the script is broken (Not only that, its been broken for 8 years). I have a patch to fix it ( https://gerrit.wikimedia.org/r/422359 ) which will hopefully be included in MediaWiki 1.31.
In the mean time, you can try either: * Check to see if its just one type of job, and run all the other types to further narrow down where the problem is. (First run showJobs.php --group to get a list of job types that you have. And then run runJobs.php --type PUT_TYPE_NAME_HERE for each of the job types listed by showJobs.php) * If you think its just one bad job, you could delete that job (run sql.php and then do: delete from job order by job_id asc limit 1;), although I believe job queue would skip the failing job all by itself if it was just that job. * Manually upping the memory limit on line 51 of runJobs.php (Replacing return "150M"; with return "250M"; ) [Or alternatively, manually applying the gerrit patch I referenced above] -- Brian On Mon, Mar 26, 2018 at 9:01 PM, Andrew Geary <[email protected]> wrote: > I appreciate the support Brian and Greg. I am still receiving the same error > message. > > PHP Fatal error: Allowed memory size of 262144 bytes exhausted (tried to > allocate 196608 bytes) in /var/www/html/mediawiki/autoload.php on line 518 > > Brian - you clearly set the memory limit above the referenced number, so I'm > not sure the issue. Any additional help would be appreciated. Thank you. > > Andrew > * Listen to SEG’s podcast, Seismic Soundoff * > > Andrew Geary | publications outreach editor > +1.918.497.4615 | [email protected] > Society of Exploration Geophysicists (SEG) > 8801 South Yale Ave, Ste. 500, Tulsa, OK 74137 USA > > -----Original Message----- > From: Andrew Geary > Sent: Monday, March 26, 2018 10:43 AM > To: '[email protected]' <[email protected]> > Subject: Mediawiki Job queue not running > > I administer a public wiki - https://wiki.seg.org - and I am having issues > with a jobs backlog. It's currently at 19,058 and counting. I have tried > using runJobs.php, but I get this error message: > > PHP Fatal error: Allowed memory size of 157286400 bytes exhausted (tried to > allocate 3846541 bytes) in > /var/www/html/mediawiki/includes/objectcache/SqlBagOStuff.php on line 656 > > I have noticed I do not have the variable: > > $wgJobRunRate > > listed in my LocalSettings.php. > > Should I add this variable to my LocalSettings.php file? How can I address > this error message? I believe the jobs backlog is contributing to a > Translate extension error I am having, mentioned here - > https://phabricator.wikimedia.org/T159947. > > I am running MediaWiki 1.26.2. The jobs back log started in November 2017. > No changes have been made to my version of Mediawiki in that timeframe. > Thank you. > > Best, > Andrew > > Andrew Geary | publications outreach editor > +1.918.497.4615 | [email protected] > Society of Exploration Geophysicists (SEG) > 8801 South Yale Ave, Ste. 500, Tulsa, OK 74137 USA > > > _______________________________________________ > MediaWiki-l mailing list > To unsubscribe, go to: > https://lists.wikimedia.org/mailman/listinfo/mediawiki-l _______________________________________________ MediaWiki-l mailing list To unsubscribe, go to: https://lists.wikimedia.org/mailman/listinfo/mediawiki-l
