Couple questions for more debugging info...
What is your setup? Distribution running? Memory? If you are running a VM with 512MB of memory, you could easily be running out of memory if the site has high traffic.
What are the older jobs that are stuck? Type of job - aka job_cmd column in the job table.
Run a php -I | grep memory
Are any low values being set and where?
Set $wgJobRunRate = 0; the default it 1 which means, run a job for every page load. Again, if you have a high traffic volume, a user hitting a page every 1 or 2 secs, your install is trying to run a job every 1 or 2 secs or more.
Caching? What is $wgMainCacheType set to? Are you using an A
Logs, logs, logs... is there any information in the error logs. Have you enabled debugging to see if there are any extensions causing issues?
Tom
-----Original Message----- From: MediaWiki-l mediawiki-l-bounces@lists.wikimedia.org On Behalf Of Andrew Geary Sent: Monday, March 26, 2018 5:01 PM To: mediawiki-l@lists.wikimedia.org Subject: Re: [MediaWiki-l] Mediawiki Job queue not running
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 | ageary@seg.org 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: 'mediawiki-l@lists.wikimedia.org' mediawiki-l@lists.wikimedia.org 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 | ageary@seg.org 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