Problem/Motivation

A major source of install and runtime issues with Open Outreach (as with most or all most-used Drupal 7 distros) is too-low values PHP values of either available memory (memory_limit) or page execution time (max_execution_time).

While we highlight appropriate values in documentation, many site installers will install without reading the documentation.

Proposed resolution

Implement hook_requirements() to set a warning if there is insufficient memory available or insufficient page execution time.

Follow relevant code in D8: drupal_check_memory_limit(), simpletest_requirements().

Files: 
CommentFileSizeAuthor
#1 memory-requirements-1891554-1.patch2.99 KBnedjo

Comments

Status:Active» Needs review
StatusFileSize
new2.99 KB

Here's a patch that provides a requirements check for memory_limit. I haven't included max_execution_time because it's harder to say what the minimum is (obviously it's dependent on memory_limit) and it may differ at runtime vs. install time.

Status:Fixed» Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

Downgraded from warning to info, since Open Outreach will function at less than the recommended memory limit.