Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature: Make memory_limit configurable for php.ini file #65

Open
mamedin opened this issue Nov 9, 2020 · 0 comments
Open

Feature: Make memory_limit configurable for php.ini file #65

mamedin opened this issue Nov 9, 2020 · 0 comments
Assignees

Comments

@mamedin
Copy link
Contributor

mamedin commented Nov 9, 2020

The memory_limit is hardcoded to 512M here (CentOS/RHEL only):

https://github.com/artefactual-labs/ansible-atom/blob/master/tasks/php-rh.yml#L56

When generating a Finding Aid for a large Fond, it fails when using the default memory_limit=512M:

[info] [2020-11-09 02:29:43] Job 597029 "arFindingAidJob": Job started.
[info] [2020-11-09 02:29:43] Job 597029 "arFindingAidJob": Generating finding aid (doukhobor-collection)...
[info] [2020-11-09 02:30:36] Job 597029 "arFindingAidJob": Exporting EAD has failed.
[info] [2020-11-09 02:30:36] Job 597029 "arFindingAidJob": ERROR(EAD-EXPORT): PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/share/nginx/atom/plugins/sfEadPlugin/modules/sfEadPlugin/templates/indexSuccessBodyDidElement.xml.php on line 137
[info] [2020-11-09 02:30:36] Job 597029 "arFindingAidJob": ERROR(EAD-EXPORT): PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/share/nginx/atom/plugins/sfEadPlugin/modules/sfEadPlugin/templates/indexSuccessBodyDidElement.xml.php on line 137
[info] [2020-11-09 02:30:36] Job 597029 "arFindingAidJob": ERROR(EAD-EXPORT): PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/share/nginx/atom/plugins/sfEadPlugin/modules/sfEadPlugin/templates/indexSuccessBodyDidElement.xml.php on line 137
[info] [2020-11-09 02:30:36] Job 597029 "arFindingAidJob": ERROR(EAD-EXPORT): PHP Warning:  count(): Parameter must be an array or an object that implements Countable in /usr/share/nginx/atom/plugins/sfEadPlugin/modules/sfEadPlugin/templates/indexSuccessBodyDidElement.xml.php on line 137

But increasing to 2048M it worked.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants