Revive the Solr plugin using elasticsearch
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Mahara |
Fix Released
|
Wishlist
|
Aaron Wells |
Bug Description
- exact version of Mahara : 1.2.3
- operating system : Linux
- database : MySQL
My mah_artifact table contains over 91000 records, i'm on mysql db, and the server has 2GB ram. i tried increasing the mem_limit_max to 2048M in php.ini and still am getting the following problems. I'm also expecting this table to increase to over a million records in the next couple of months.
This repeats everyday at 4:00 and 4:30 AM.
Any help would be appreciated.
Solr Stuff...
-------------
[21-Nov-2010 04:00:22] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 7680 bytes) in /var/www/
[21-Nov-2010 04:01:22] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 7680 bytes) in /var/www/
[21-Nov-2010 04:02:21] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 7680 bytes) in /var/www/
[21-Nov-2010 04:03:20] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 7680 bytes) in /var/www/
[21-Nov-2010 04:04:20] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 7680 bytes) in /var/www/
[21-Nov-2010 04:05:01] [DBG] a3 (lib/cron.php:70) ---------- cron running Sun, 21 Nov 2010 04:05:01 +0200 ----------
[21-Nov-2010 04:05:01] [DBG] a3 (lib/cron.php:90) Running PluginInteracti
[21-Nov-2010 04:05:01] [DBG] a3 (lib/cron.php:149) Running core cron rebuild_
[21-Nov-2010 04:05:01] [WAR] a3 (lib/cron.php:167) core cronjob "rebuild_
[21-Nov-2010 04:05:01] Call stack (most recent first):
[21-Nov-2010 04:05:01] * log_message("core cronjob "rebuild_
[21-Nov-2010 04:05:01] * log_warn("core cronjob "rebuild_
[21-Nov-2010 04:05:01]
[21-Nov-2010 04:05:01] [WAR] a3 (lib/cron.php:167) core cronjob "activity_
[21-Nov-2010 04:05:01] Call stack (most recent first):
[21-Nov-2010 04:05:01] * log_message("core cronjob "activity_
[21-Nov-2010 04:05:01] * log_warn("core cronjob "activity_
[21-Nov-2010 04:05:01]
[21-Nov-2010 04:05:01] [WAR] a3 (lib/cron.php:167) core cronjob "import_
[21-Nov-2010 04:05:01] Call stack (most recent first):
[21-Nov-2010 04:05:01] * log_message("core cronjob "import_
[21-Nov-2010 04:05:01] * log_warn("core cronjob "import_
[21-Nov-2010 04:05:01]
[21-Nov-2010 04:05:01] [WAR] a3 (lib/cron.php:167) core cronjob "import_
[21-Nov-2010 04:05:01] Call stack (most recent first):
[21-Nov-2010 04:05:01] * log_message("core cronjob "import_
[21-Nov-2010 04:05:01] * log_warn("core cronjob "import_
[21-Nov-2010 04:05:01]
Solr again at 4:30am...
-------------
[21-Nov-2010 04:29:01] [DBG] 2a (lib/cron.php:70) ---------- cron running Sun, 21 Nov 2010 04:29:01 +0200 ----------
[21-Nov-2010 04:29:01] [DBG] 2a (lib/cron.php:90) Running PluginSearchSol
[21-Nov-2010 04:29:01] [DBG] 2a (search/
[21-Nov-2010 04:29:24] PHP Fatal error: Allowed memory size of 134217728 bytes exhausted (tried to allocate 7680 bytes) in /var/www/
[21-Nov-2010 04:30:01] [DBG] 92 (lib/cron.php:70) ---------- cron running Sun, 21 Nov 2010 04:30:01 +0200 ----------
[21-Nov-2010 04:30:01] [WAR] 92 (lib/cron.php:126) cronjob "solr.rebuild_all" didn't get run because the nextrun time was too old
[21-Nov-2010 04:30:01] Call stack (most recent first):
[21-Nov-2010 04:30:01] * log_message(
[21-Nov-2010 04:30:01] * log_warn("cronjob "solr.rebuild_all" didn't get run because ...") at /var/www/
[21-Nov-2010 04:30:01]
[21-Nov-2010 04:30:03] [DBG] 92 (lib/cron.php:90) Running PluginInteracti
[21-Nov-2010 04:30:03] [WAR] 92 (lib/cron.php:126) cronjob "invite.
[21-Nov-2010 04:30:03] Call stack (most recent first):
[21-Nov-2010 04:30:03] * log_message(
[21-Nov-2010 04:30:03] * log_warn("cronjob "invite.
[21-Nov-2010 04:30:03]
[21-Nov-2010 04:30:03] [WAR] 92 (lib/cron.php:167) core cronjob "rebuild_
[21-Nov-2010 04:30:03] Call stack (most recent first):
[21-Nov-2010 04:30:03] * log_message("core cronjob "rebuild_
[21-Nov-2010 04:30:03] * log_warn("core cronjob "rebuild_
[21-Nov-2010 04:30:03]
[21-Nov-2010 04:30:03] [WAR] 92 (lib/cron.php:167) core cronjob "activity_
[21-Nov-2010 04:30:03] Call stack (most recent first):
[21-Nov-2010 04:30:03] * log_message("core cronjob "activity_
[21-Nov-2010 04:30:03] * log_warn("core cronjob "activity_
[21-Nov-2010 04:30:03]
[21-Nov-2010 04:30:03] [WAR] 92 (lib/cron.php:167) core cronjob "import_
[21-Nov-2010 04:30:03] Call stack (most recent first):
[21-Nov-2010 04:30:03] * log_message("core cronjob "import_
[21-Nov-2010 04:30:03] * log_warn("core cronjob "import_
[21-Nov-2010 04:30:03]
Changed in mahara: | |
importance: | High → Wishlist |
summary: |
- Solr Problems + Revive the Solr plugin |
tags: | added: elasticsearch |
Changed in mahara: | |
status: | In Progress → Fix Committed |
tags: | added: nominatedfeature |
Changed in mahara: | |
milestone: | 1.8rc1 → 1.8.0 |
Changed in mahara: | |
status: | Fix Committed → Fix Released |
See also this discussion at mahara.org: http:// mahara. org/interaction /forum/ topic.php? id=2467# post11214
It may be the same problem.
The solr plugin shouldn't try to reindex unless it's enabled; we should double check that this is working.