Skip to content

GitLab

  • Menu
Projects Groups Snippets
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in
  • fusiondirectory-plugins fusiondirectory-plugins
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 53
    • Issues 53
    • List
    • Boards
    • Service Desk
    • Milestones
  • Deployments
    • Deployments
    • Releases
  • Monitor
    • Monitor
    • Incidents
  • Packages & Registries
    • Packages & Registries
    • Container Registry
  • Analytics
    • Analytics
    • Value stream
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Commits
  • Issue Boards
Collapse sidebar
  • fusiondirectory
  • fusiondirectory-pluginsfusiondirectory-plugins
  • Issues
  • #5645

Closed
Open
Created Jun 27, 2017 by Ghost User@ghost

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

  1. 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.

Edited Oct 17, 2017 by bmortier
Assignee
Assign to
Time tracking