LDAP PHP Allowed memory size exhausted #17656
Replies: 2 comments
-
You'd have to have a lot of users in your directory to need more than a gig. Try instead adjusting the |
Beta Was this translation helpful? Give feedback.
0 replies
-
@twisted3motions in much older versions of Snipe I had to change the memory_limit=256 in /etc/php.ini |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Please confirm you have done the following before posting your bug report:
Describe the bug
Testing LDAP results in a long hang and then "500 Server Error. Please check your server logs for more information."
Expected behavior
A box with identical LDAP field settings but Ubuntu 18.04 LTS, Apache, and SnipeIT 4.9.4 works fine. Instant connection.
Server (please complete the following information):
No go on box with these.
Error Messages
Debug doesn't really show anything but this: WARNING!: This application is running in production mode with debugging enabled. This can expose sensitive data if your application is accessible to the outside world. Disable debug mode by setting the APP_DEBUG value in your .env file to false.
However the apache logs tell me this:
[Fri Nov 13 21:31:38.765170 2020] [php7:error] [pid 2572] [client IPADDRESS:53200] PHP Fatal error: Allowed memory size of 1073741824 bytes exhausted (tried to allocate 32768 bytes) in /var/www/snipeit/vendor/symfony/debug/Exception/FatalErrorException.php on line 1, referer: http://snipeitaddress/admin/ldap
Add any other context about the problem here.
Boosted PHP.ini was initially 128MB like on the old server. Boosted to 1GB, and it just hung longer before spitting out same general error. Do I need to boost this even further?
Beta Was this translation helpful? Give feedback.
All reactions