On 03/01/2012 02:41 PM, Darin Perusich wrote:
>
> On 03/01/2012 06:10 AM, Danilo Godec wrote:
>> I have a directory with about 25000 users (University).
>>
>> I noticed that in 'tree view', when I try to expand the 'ou=People', LAM
>> takes a lot of time / memory and still ends up failing.
>>
>>> [01-Mar-2012 09:40:42] PHP Fatal error:  Allowed memory size of
>>> 268435456 bytes exhausted (tried to allocate 81 bytes) in
>>> /srv/www/htdocs/ldap-account-manager-3.5.0/templates/3rdParty/pla/lib/ds_myldap.php
>>> on line 408
>>> [01-Mar-2012 10:43:11] PHP Fatal error:  Allowed memory size of
>>> 536870912 bytes exhausted (tried to allocate 71 bytes) in
>>> /srv/www/htdocs/ldap-account-manager-3.5.0/templates/3rdParty/pla/lib/ds_myldap.php
>>> on line 408
>>> [01-Mar-2012 11:00:10] PHP Fatal error:  Maximum execution time of 120
>>> seconds exceeded in
>>> /srv/www/htdocs/ldap-account-manager-3.5.0/templates/3rdParty/pla/lib/ds_myldap.php
>>> on line 420
>>> [01-Mar-2012 11:05:29] PHP Fatal error:  Maximum execution time of 120
>>> seconds exceeded in
>>> /srv/www/htdocs/ldap-account-manager-3.5.0/templates/3rdParty/pla/lib/TreeItem.php
>>> on line 167
>>> [01-Mar-2012 11:47:42] PHP Fatal error:  Maximum execution time of 120
>>> seconds exceeded in
>>> /srv/www/htdocs/ldap-account-manager-3.6/templates/3rdParty/pla/lib/ds_myldap.php
>>> on line 420
>> First line was with 'default' 256MB 'memory_limit', the 2nd was with
>> 512MB, then I set it to 1204. I also tried a newer LAM.
>>
>> BTW., 'ldapsearch' of all entries redirected to a text file takes about
>> 3-7 seconds on the server (both Apache and OpenLDAP are on the same server).
>>
>> Anything I can do to make this work (apart from re-organizing the LDAP
>> tree into multiple smaller trees, which isn't an option)?
> Try increasing the max_execution_time in php.ini to something greater
> than 120 seconds. 300 seconds, or 5 minutes, would be a good place to
> start and increase from there. I'd also increase the memory_limit to
> something larger as well to see how much php needs to finish the operation.
>
>

Did I forget to mention that my 'php.ini' already had 
'max_execution_time'  set to 300?

Well, the 'max_execution_time' is / was already set to 300 and 
'max_input_time' is 600. But the error message is still 'Maximum 
execution time of 120 seconds exceeded in'.

I couldn't find *any* mentioning of 120 second time limit anywhere - not 
in php.ini, not in Apache config, not in LAM.


    Danilo


------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
Lam-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/lam-public

Reply via email to