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)?

    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