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 | ageary@seg.org Society of Exploration Geophysicists (SEG) 8801 South Yale Ave, Ste. 500, Tulsa, OK 74137 USA
Hi Andrew,
As the error says, you're running out of memory on the execution of runJobs.php
Try
php maintenance/runJobs.php --memory-limit max --maxjobs 5
If that completes without error, then try increasing the number of jobs allowed with --maxjobs
Greg Rundlett https://eQuality-Tech.com https://freephile.org
I should mention that running runJobs with max memory and a large number of jobs will slow down your wiki until the jobs queue is complete. You can 'nice' the script, or use other approaches like putting it into a loop with delays in between batches to clear your queue.
Greg Rundlett https://eQuality-Tech.com https://freephile.org
On Mon, Mar 26, 2018 at 1:46 PM, Greg Rundlett (freephile) < greg@freephile.com> wrote:
Hi Andrew,
As the error says, you're running out of memory on the execution of runJobs.php
Try
php maintenance/runJobs.php --memory-limit max --maxjobs 5
If that completes without error, then try increasing the number of jobs allowed with --maxjobs
Greg Rundlett https://eQuality-Tech.com https://freephile.org
mediawiki-l@lists.wikimedia.org