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)" <ji...@apache.org> on 2008/04/01 16:50:32 UTC
[jira] Closed: (DIRSERVER-957) OOM when adding a lot of entries
[ https://issues.apache.org/jira/browse/DIRSERVER-957?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Emmanuel Lecharny closed DIRSERVER-957.
---------------------------------------
Resolution: Won't Fix
The problem is that the cache size is far bigger than the available memory. It's not a server bug, but a configuration issue.
> 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.