directory-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Emmanuel Lecharny (JIRA)" <j...@apache.org>
Subject [jira] Updated: (DIRSERVER-957) OOM when adding a lot of entries
Date Sun, 01 Jul 2007 12:58:04 GMT

     [ https://issues.apache.org/jira/browse/DIRSERVER-957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Emmanuel Lecharny updated DIRSERVER-957:
----------------------------------------

    Affects Version/s: 1.5.0
        Fix Version/s: 1.5.2
              Summary: OOM when adding a lot of entries  (was: OOM hen adding a lot of entries)

There is not so much we can do without a major refactoring, as entries are cached in many
places...

With a global cache, we might have less problem (but we might have to use weakHashMap too)

> OOM when adding a lot of entries
> --------------------------------
>
>                 Key: DIRSERVER-957
>                 URL: https://issues.apache.org/jira/browse/DIRSERVER-957
>             Project: Directory ApacheDS
>          Issue Type: Bug
>    Affects Versions: 1.5.0
>            Reporter: Emmanuel Lecharny
>            Priority: Blocker
>             Fix For: 1.5.2
>
>
> I have tried to load a million entries in the server. After having injected 71 000 entries,
I got an OOM exception on the server, with this message on the client  :
> adding new entry "uid=user.71562,ou=Pldap_add: Internal (implementation specific) error
(80) 
>         additional info: failed to add entry uid=user.71607,ou=People,dc=example,dc=com:
Failed to commit changes to the record manager.
> My server have been launched with 512 Mb of memory, and the cache size were set to 10000
(cf server.xml attached)
>     <property name="cacheSize" value="11000" />
>     <property name="indexedAttributes">
> "1.3.6.1.4.1.18060.0.4.1.2.1 name="cacheSize" value="11000" 
> "1.3.6.1.4.1.18060.0.4.1.2.2" name="cacheSize" value="11000"
>  "1.3.6.1.4.1.18060.0.4.1.2.3" name="cacheSize" value="11000"
> "1.3.6.1.4.1.18060.0.4.1.2.4" name="cacheSize" value="11000" 
>  "1.3.6.1.4.1.18060.0.4.1.2.5" name="cacheSize" value="11000" 
>  "1.3.6.1.4.1.18060.0.4.1.2.6" name="cacheSize" value="11000" 
>  "1.3.6.1.4.1.18060.0.4.1.2.7" name="cacheSize" value="11000" 
> "dc"  name="cacheSize" value="11000" 
> "ou"  name="cacheSize" value="11000" 
> "krb5PrincipalName" name="cacheSize" value="11000" 
> "uid"  name="cacheSize" value="11000" 
> "objectClass"  name="cacheSize" value="11000" 
> The typical entry, generated by MakeLDIF, is like :
> dn: uid=user.2,ou=People,dc=example,dc=com
> objectClass: top
> objectClass: person
> objectClass: organizationalPerson
> objectClass: inetOrgPerson
> givenName: Aaren
> sn: Atp
> cn: Aaren Atp
> initials: AA
> uid: user.2
> mail: user.2@example.com
> userPassword: password
> telephoneNumber: 719-001-7757
> homePhone: 905-825-3548
> pager: 699-633-4412
> mobile: 093-803-7096
> employeeNumber: 2
> street: 43741 Adams Street
> l: Lafayette
> st: NC
> postalCode: 44014
> postalAddress: Aaren Atp$43741 Adams Street$Lafayette, NC  44014
> description: This is the description for Aaren Atp.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message