mahara-contributors team mailing list archive
-
mahara-contributors team
-
Mailing list archive
-
Message #28963
[Bug 1494908] [NEW] Memory exhausted on cron import_process_queue
Public bug reported:
Hi,
We're on Mahara 1.10, running on Linux and MySQL.
We got this error :
[INF] c2 (lib/cron.php:30) ---------- cron running Wed, 09 Sep 2015 15:10:01 -0400 ---------- [INF] c2 (lib/cron.php:75) Running PluginSearchElasticsearch::cron [INF] c2 (lib/cron.php:137) Running core cron activity_process_queue [INF] c2 (lib/cron.php:137) Running core cron import_process_queue PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20777539 bytes) in /app/apache2/htdocs/mahara/lib/errors.php on line 148
We don't know exactly what happened, but a simple solution would be to add :
"raise_memory_limit('1024M');"
in /import/lib.php, function import_process_queue().
** Affects: mahara
Importance: Undecided
Status: New
** Tags: cron memory
--
You received this bug notification because you are a member of Mahara
Contributors, which is subscribed to Mahara.
Matching subscriptions: Subscription for all Mahara Contributors -- please ask on #mahara-dev or mahara.org forum before editing or unsubscribing it!
https://bugs.launchpad.net/bugs/1494908
Title:
Memory exhausted on cron import_process_queue
Status in Mahara:
New
Bug description:
Hi,
We're on Mahara 1.10, running on Linux and MySQL.
We got this error :
[INF] c2 (lib/cron.php:30) ---------- cron running Wed, 09 Sep 2015 15:10:01 -0400 ---------- [INF] c2 (lib/cron.php:75) Running PluginSearchElasticsearch::cron [INF] c2 (lib/cron.php:137) Running core cron activity_process_queue [INF] c2 (lib/cron.php:137) Running core cron import_process_queue PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 20777539 bytes) in /app/apache2/htdocs/mahara/lib/errors.php on line 148
We don't know exactly what happened, but a simple solution would be to add :
"raise_memory_limit('1024M');"
in /import/lib.php, function import_process_queue().
To manage notifications about this bug go to:
https://bugs.launchpad.net/mahara/+bug/1494908/+subscriptions
Follow ups
-
[Bug 1494908] Re: Memory exhausted on cron import_process_queue
From: Robert Lyon, 2016-11-06
-
[Bug 1494908] Re: Memory exhausted on cron import_process_queue
From: Robert Lyon, 2015-10-27
-
[Bug 1494908] Re: Memory exhausted on cron import_process_queue
From: Aaron Wells, 2015-10-23
-
[Bug 1494908] Re: Memory exhausted on cron import_process_queue
From: Robert Lyon, 2015-10-01
-
[Bug 1494908] Re: Memory exhausted on cron import_process_queue
From: David Ligne, 2015-09-28
-
[Bug 1494908] A change has been merged
From: Mahara Bot, 2015-09-21
-
[Bug 1494908] Re: Memory exhausted on cron import_process_queue
From: Aaron Wells, 2015-09-21
-
[Bug 1494908] Re: Memory exhausted on cron import_process_queue
From: Aaron Wells, 2015-09-21
-
[Bug 1494908] A patch has been submitted for review
From: Mahara Bot, 2015-09-21
-
[Bug 1494908] A change has been merged
From: Mahara Bot, 2015-09-21
-
[Bug 1494908] A patch has been submitted for review
From: Mahara Bot, 2015-09-14
-
[Bug 1494908] Re: Memory exhausted on cron import_process_queue
From: David Ligne, 2015-09-11