You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lecharny (JIRA)" <di...@incubator.apache.org> on 2005/12/04 19:03:30 UTC

[jira] Commented: (DIRLDAP-74) Launching ADS when it is full of entry is very long

    [ http://issues.apache.org/jira/browse/DIRLDAP-74?page=comments#action_12359257 ] 

Emmanuel Lecharny commented on DIRLDAP-74:
------------------------------------------

This is due to the method 
org.apache.ldap.server.DefaultDirectoryService.createTestEntries()

I don't get the point raised by the comment :

        /*
         * Unfortunately to test non-root user startup of the core and make sure
         * all the appropriate functionality is there we need to load more user
         * entries at startup due to a chicken and egg like problem.  The value
         * of this property is a list of attributes to be added.
         */

but it seems that the solution is not the best one.

> Launching ADS when it is full of entry is very long
> ---------------------------------------------------
>
>          Key: DIRLDAP-74
>          URL: http://issues.apache.org/jira/browse/DIRLDAP-74
>      Project: Directory LDAP
>         Type: Bug
>     Versions: 0.9.3
>     Reporter: Emmanuel Lecharny
>     Priority: Blocker

>
> When you launch ApacheDS after having loaded it with thousands of entries, it takes a while before it can be accessed.
> It seems that all the entries are fetched at launch (all the DN are parsed).
> That does not seems to be reasonnable, as if we have more than a few thousands entries, it can take ages to start !
> for instance, it takes 21 secondes to start my server with 8155 entries.

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira