memory exhaustion in the middle of the import
Description
When trying to import a full export from a test server into a production server, it fails saying the file is empty. Inspecting the ldif file it is 3.89MB and 135350 lines in length.
Distribution Name and Version
FusionDirectory Version
1.1.1
Plugin with the defect
ldapmanager
PHP version used
php5
Origin of php packages
Steps to Reproduce
- Import a ldif file of 3.89MB and 135350 lines in length.
Expected behavior:
Import should work without issues
Actual behavior:
it consistently failing at about 3100 users with their templates and groups at an nginx 502 Bad Gateway error.
Reproduces how often:
100%
Additional Information
we have increased the value of upload_max_filesize from 2M to 20M in /etc/php5/fpm/php.ini which stopped the error from having.