[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Maximum number of uniqueMembers
- To: openldap-technical@openldap.org
- Subject: Maximum number of uniqueMembers
- From: Rébeli-Szabó Tamás <tamas.rebeli.szabo@webvalto.hu>
- Date: Wed, 8 Jun 2016 14:27:47 +0200
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=webvalto-hu.20150623.gappssmtp.com; s=20150623; h=to:from:subject:message-id:date:user-agent:mime-version :content-transfer-encoding; bh=1kTk3Qf7/0Q07/mq/3fnkkf91Go+caRf7fxMf9Fujiw=; b=dLJXA4f8Qr+8BRX2tctRTBXuC9dANEQRca41DoBRlrX87oFswmhGAfqfN+w4sMmbAp NX1sErcGfXAOaA02Za5Qb3Fyu2KTGZDFjbp3778q49pDxCf5uPOqJjEzbpl2Ox5xjPYX fp4YzKIMDInow7uRE0DqdRcT1S3tjXzfZWxf+jFlz3d/kpFjLezmFgeAUJFv22pStVUD /RR0SLedCRDMGF2y+qfqITwdAYsKYaQK6iY3pIagR1eR3ZnrljvP7QE1rAKFgvqwqwHH G49IJIoiZm2t3qKcAZbJ6CvQXSWua9Qx/kE2vdrBwr2Tg0Fch0QmgX+KUCpVmH4RTJJ+ l6+A==
- User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.8.0
Hi all,
is there a limit for the number of attributes for entries? Specifically,
I want to have 500,000 uniqueMembers for a group entry, but I cannot add
more than 359,000. When I try to add 360,000 or more, I get:
"ldapadd: update failed ... ldap_add: Can't contact LDAP server (-1)"
The group entry look like this:
dn: cn=biggroup,ou=groups,dc=test,dc=com
objectClass:top
objectClass: groupOfUniqueNames
cn: Ah, big group
uniqueMember: uid=user1,ou=users,dc=test,dc=com
uniqueMember: uid=user2,ou=users,dc=test,dc=com
...
uniqueMember: uid=user359000,ou=users,dc=test,dc=com
I have 1 million users in ou=users,dc=test,dc=com (so I haven't run into
a limit here).
I am on 2.4.41, LMDB with 4G maxsize (RHEL 5.10; 2.6.39). I have no
limits set in slapd.conf.
Another, related issue:
If I add 359k members to a group, and then I try to modify the group to
add another member, ldapadd hangs. When I trace it, all I can see is
continual ldap_result calls, that is, the client is waiting for the
update operation to end on the server, and slapd is using nearly 100% of
CPU.
If I restart the server, I can add one member, but I cannot add say a
hundred thousand more.
Any hint is appreciated.
Regards,
tamas
<tel:+36%2030%202100%20873>