You probably have debuging turn on - with this pla working terribly  
slow.

Wiadomość napisana w dniu 2008-10-16, o godz. 18:39, przez Irene FM:

>
> I think the problem is that pla is not caching the ldap tree. ¿Does  
> anybody know how can I turn tree-caching on?
>
> Thanks,
>
> Irene
>
> --- El vie, 3/10/08, Irene FM <[EMAIL PROTECTED]> escribió:
>
>> De: Irene FM <[EMAIL PROTECTED]>
>> Asunto: [phpldapadmin-users] phpldapadmin very slow
>> Para: [email protected]
>> Fecha: viernes, 3 octubre, 2008 6:08
>> Hello:
>>
>> Every page in the pla web interface loads VERY slowly. I
>> turned debugging on, and apparently the reason is that each
>> time any page is requested (create new object, select
>> template, etc), the whole ldap database is searched, doing
>> lots of things for each entry, and generating logs like
>> those pasted underneath.
>>
>> ¿How can I stop all this checking?
>>
>> Tanks,
>>
>> Irene
>>
>> [0,000]   3-server_functions.php(3179):
>> LDAPservers::Instance: Entered with (0)
>> [0,000]   3-server_functions.php(3204):
>> LDAPservers::Instance: Returning CACHEd instance (0)
>> [0,000]   1-functions.php(2248): pla_explode_dn: Entered
>> with (uidNumber=3062,ou=usuarios,dc=rincon,dc=capi,0)
>> [0,000]   1-functions.php(2252): pla_explode_dn: Return
>> CACHED result
>> (a:4:{i:0;s:14:"uidNumber=3062";i:1;s:11:"ou=usuarios";i:2;s: 
>> 9:"dc=rincon";i:3;s:7:"dc=capi";})
>> for (uidNumber=3062,ou=usuarios,dc=rincon,dc=capi)
>> [0,000]   1-Tree.php(0064): Tree::indexDN: Entered with
>> (uidNumber=3062,ou=usuarios,dc=rincon,dc=capi), Result
>> (uidnumber=3062,ou=usuarios,dc=rincon,dc=capi)
>> [0,000]   1-functions.php(1314): get_icon: Entered with
>> (0,uidNumber=3062,ou=usuarios,dc=rincon,dc=capi)
>> [0,000]  17-server_functions.php(2615):
>> LDAPserver::getDNAttr: Entered with
>> (uidNumber=3062,ou=usuarios,dc=rincon,dc=capi,objectClass,1,0)
>> [0,000]  17-server_functions.php(2555):
>> LDAPserver::getDNAttrs: Entered with
>> (uidNumber=3062,ou=usuarios,dc=rincon,dc=capi,1,0)
>> [0,000]   1-functions.php(2303): dn_escape: Entered with
>> (uidNumber=3062,ou=usuarios,dc=rincon,dc=capi), Returning
>> (uidNumber=3062,ou=usuarios,dc=rincon,dc=capi)
>> [0,000]  17-server_functions.php(1708): LDAPserver::search:
>> Entered with
>> (,uidNumber=3062,ou=usuarios,dc=rincon,dc=capi,(objectClass=*),a:0: 
>> {},base,,0)
>> [0,000]  17-server_functions.php(0116):
>> LDAPserver::connect: Entered with (,user,)
>> [0,000]  16-server_functions.php(0122):
>> LDAPserver::connect: Returning CACHED connection resource
>> [Resource id #354](user)
>> [0,000]  16-server_functions.php(1724): LDAPserver::search:
>> base search PREPARE.
>> [0,000]  16-server_functions.php(1742): LDAPserver::search:
>> Search scope [base] base
>> [uidNumber=3062,ou=usuarios,dc=rincon,dc=capi] filter
>> [(objectClass=*)] attrs [a:0:{}] COMPLETE ().
>> [0,000]  64-server_functions.php(1767): LDAPserver::search:
>> Got DN [uidNumber=3062,ou=usuarios,dc=rincon,dc=capi].
>> [0,000]  64-server_functions.php(1775): LDAPserver::search:
>> Got ATTRS
>> [a:45:{s:11:"objectClass";a:5:{s:5:"count";i:4;i:0;s: 
>> 13:"inetOrgPerson";i:1;s:10:"capiPerson";i:2;s:12:"posixAccount";i: 
>> 3;s:3:"top";}i:0;s:11:"objectClass";s:9:"givenName";a:2:{s: 
>> 5:"count";i
>> [0,000]  64-server_functions.php(1781): LDAPserver::search:
>> Processing ATTR [objectClass].
>> [0,000]  17-server_functions.php(2120):
>> LDAPserver::isAttrBinary: Entered with (objectClass)
>> [0,000]  17-server_functions.php(2120):
>> LDAPserver::isAttrBinary: Entered with (givenName)
>> [0,000]  17-server_functions.php(2120):
>> LDAPserver::isAttrBinary: Entered with (sn)
>> [0,000]  17-server_functions.php(2120):
>> LDAPserver::isAttrBinary: Entered with (capiPersonApellido2)
>> [0,000]  17-server_functions.php(2120):
>> LDAPserver::isAttrBinary: Entered with (capiPersonNif)
>> [0,000]  17-server_functions.php(2120):
>> LDAPserver::isAttrBinary: Entered with (capiPersonGender)
>> [0,000]  17-server_functions.php(2120):
>> LDAPserver::isAttrBinary: Entered with
>> (capiPersonDateOfBirth)
>> [0,000]  17-server_functions.php(2120):
>> LDAPserver::isAttrBinary: Entered with (capiPersonDailyTime)
>> [0,000]  17-server_functions.php(2120):
>> LDAPserver::isAttrBinary: Entered with (street)
>> [0,000]  17-server_functions.php(2120):
>> LDAPserver::isAttrBinary: Entered with (l)
>> [0,000]  17-server_functions.php(2120):
>> LDAPserver::isAttrBinary: Entered with (postalCode)
>> [0,000]  17-server_functions.php(2120):
>> LDAPserver::isAttrBinary: Entered with (st)
>> [0,000]  17-server_functions.php(2120):
>> LDAPserver::isAttrBinary: Entered with (telephoneNumber)
>> [0,000]  17-server_functions.php(2120):
>> LDAPserver::isAttrBinary: Entered with (mail)
>> [0,000]  17-server_functions.php(2120):
>> LDAPserver::isAttrBinary: Entered with (uid)
>> [0,000]  17-server_functions.php(2120):
>> LDAPserver::isAttrBinary: Entered with (uidNumber)
>> [0,000]  17-server_functions.php(2120):
>> LDAPserver::isAttrBinary: Entered with (userPassword)
>> [0,000]  17-server_functions.php(2120):
>> LDAPserver::isAttrBinary: Entered with (gidNumber)
>> [0,000]  17-server_functions.php(2120):
>> LDAPserver::isAttrBinary: Entered with (homeDirectory)
>> [0,000]  17-server_functions.php(2120):
>> LDAPserver::isAttrBinary: Entered with (cn)
>> [0,000]  17-server_functions.php(2120):
>> LDAPserver::isAttrBinary: Entered with (loginShell)
>> [0,000]  17-server_functions.php(2120):
>> LDAPserver::isAttrBinary: Entered with (capiPersonMunicipio)
>> [0,000]  17-server_functions.php(1812): LDAPserver::search:
>> Returning
>> (a:1:{s:44:"uidNumber=3062,ou=usuarios,dc=rincon,dc=capi";a:23:{s: 
>> 2:"dn";s:44:"uidNumber=3062,ou=usuarios,dc=rincon,dc=capi";s: 
>> 11:"objectClass";a:4:{i:0;s:13:"inetOrgPerson";i:1;s:10:"capiPe
>> [0,000]   1-functions.php(1596): get_rdn: Entered with
>> (uidNumber=3062,ou=usuarios,dc=rincon,dc=capi,0,)
>> [0,000]   1-functions.php(2248): pla_explode_dn: Entered
>> with (uidNumber=3062,ou=usuarios,dc=rincon,dc=capi,0)
>> [0,000]   1-functions.php(2252): pla_explode_dn: Return
>> CACHED result
>> (a:4:{i:0;s:14:"uidNumber=3062";i:1;s:11:"ou=usuarios";i:2;s: 
>> 9:"dc=rincon";i:3;s:7:"dc=capi";})
>> for (uidNumber=3062,ou=usuarios,dc=rincon,dc=capi)
>> [0,000]   1-functions.php(1596): get_rdn: Entered with
>> (uidNumber=3062,ou=usuarios,dc=rincon,dc=capi,0,)
>> [0,000]   1-functions.php(2248): pla_explode_dn: Entered
>> with (uidNumber=3062,ou=usuarios,dc=rincon,dc=capi,0)
>> [0,000]   1-functions.php(2252): pla_explode_dn: Return
>> CACHED result
>> (a:4:{i:0;s:14:"uidNumber=3062";i:1;s:11:"ou=usuarios";i:2;s: 
>> 9:"dc=rincon";i:3;s:7:"dc=capi";})
>> for (uidNumber=3062,ou=usuarios,dc=rincon,dc=capi)
>> [0,000]   3-server_functions.php(3179):
>> LDAPservers::Instance: Entered with (0)
>> [0,000]   3-server_functions.php(3204):
>> LDAPservers::Instance: Returning CACHEd instance (0)
>> [0,000]  17-server_functions.php(0489):
>> LDAPserver::isMassDeleteEnabled: Entered with ()
>> [0,000]  17-server_functions.php(0116):
>> LDAPserver::connect: Entered with (,user,)
>> [0,000]  16-server_functions.php(0122):
>> LDAPserver::connect: Returning CACHED connection resource
>> [Resource id #354](user)
>> [0,000]  17-server_functions.php(0072):
>> LDAPserver::haveAuthInfo: Entered with ()
>> [0,000]  80-server_functions.php(0073):
>> LDAPserver::haveAuthInfo: We are a (session) auth_type
>> [0,000]  66-server_functions.php(2363):
>> LDAPserver::getLoggedInDN: auth_type is [session]
>> [0,000]   1-functions.php(0680): pla_blowfish_decrypt:
>> Entered with (cn=coord,dc=rincon,dc=capi,)
>> [0,000]  17-server_functions.php(2457):
>> LDAPserver::getLoggedInDN: Entered with (), Returning
>> (cn=coord,dc=rincon,dc=capi)
>> [0,000]  17-server_functions.php(0099):
>> LDAPserver::haveAuthInfo: Returning (1)
>> [0,000]  66-server_functions.php(2363):
>> LDAPserver::getLoggedInDN: auth_type is [session]
>> [0,000]   1-functions.php(0680): pla_blowfish_decrypt:
>> Entered with (cn=coord,dc=rincon,dc=capi,)
>> [0,000]  17-server_functions.php(2457):
>> LDAPserver::getLoggedInDN: Entered with (), Returning
>> (cn=coord,dc=rincon,dc=capi)
>> [0,000]  17-server_functions.php(0470):
>> LDAPserver::isReadOnly: Entered with (), Returning ()
>> [0,000]   3-server_functions.php(3179):
>> LDAPservers::Instance: Entered with (0)
>> [0,000]   3-server_functions.php(3204):
>> LDAPservers::Instance: Returning CACHEd instance (0)
>> [0,000]  17-server_functions.php(0537):
>> LDAPserver::isLowBandwidth: Entered with ()
>> [0,000]   1-Entry.php(0075): Entry::readChildren: Entered
>> with ()
>> [0,000]   3-server_functions.php(3179):
>> LDAPservers::Instance: Entered with (0)
>> [0,000]   3-server_functions.php(3204):
>> LDAPservers::Instance: Returning CACHEd instance (0)
>> [0,000]   1-Entry.php(0079): Entry::readChildren:
>> LdapServer (0)
>> [0,000]  17-server_functions.php(1645):
>> LDAPserver::getContainerContents: Entered with
>> (uidNumber=3062,ou=usuarios,dc=rincon,dc=capi,50,(objectClass=*),0)
>> [0,000]   1-functions.php(2303): dn_escape: Entered with
>> (uidNumber=3062,ou=usuarios,dc=rincon,dc=capi), Returning
>> (uidNumber=3062,ou=usuarios,dc=rincon,dc=capi)
>> [0,000]  17-server_functions.php(1708): LDAPserver::search:
>> Entered with
>> (,uidNumber=3062,ou=usuarios,dc=rincon,dc=capi,(objectClass=*),a:1: 
>> {i:0;s:2:"dn";},one,1,0)
>> [0,000]  17-server_functions.php(0116):
>> LDAPserver::connect: Entered with (,user,)
>> [0,000]  16-server_functions.php(0122):
>> LDAPserver::connect: Returning CACHED connection resource
>> [Resource id #354](user)
>> [0,000]  16-server_functions.php(1724): LDAPserver::search:
>> one search PREPARE.
>> [0,000]  16-server_functions.php(1742): LDAPserver::search:
>> Search scope [one] base
>> [uidNumber=3062,ou=usuarios,dc=rincon,dc=capi] filter
>> [(objectClass=*)] attrs [a:1:{i:0;s:2:"dn";}]
>> COMPLETE ().
>> [0,000]  17-server_functions.php(1812): LDAPserver::search:
>> Returning (a:0:{})
>> [0,000]  17-server_functions.php(1658):
>> LDAPserver::getContainerContents: Returning (a:0:{})
>> [0,000]  64-Entry.php(0087): Entry::readChildren: Children
>> of (uidNumber=3062,ou=usuarios,dc=rincon,dc=capi) are
>> (a:0:{})
>> [0,000]   1-functions.php(0735): get_cached_item: Returning
>> MEMORY cached [tree] (null)
>>
>>
>>
>>
>>
>>
>> -------------------------------------------------------------------------
>> This SF.Net email is sponsored by the Moblin Your Move
>> Developer's challenge
>> Build the coolest Linux based applications with Moblin SDK
>> & win great prizes
>> Grand prize is a trip for two to an Open Source event
>> anywhere in the world
>> http://moblin-contest.org/redirect.php?banner_id=100&url=/
>> _______________________________________________
>> phpldapadmin-users mailing list
>> [email protected]
>> https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users
>
>
>
>
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's  
> challenge
> Build the coolest Linux based applications with Moblin SDK & win  
> great prizes
> Grand prize is a trip for two to an Open Source event anywhere in  
> the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> phpldapadmin-users mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

---
Grzegorz Marszałek
alias Ojciec Dyrektor ;)




-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
phpldapadmin-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/phpldapadmin-users

Reply via email to