[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: ldap sync
- To: "Kolijn\, P." <p.kolijn@vu.nl>
- Subject: Re: ldap sync
- From: Ferenc Wagner <wferi@niif.hu>
- Date: Tue, 09 Dec 2014 13:55:10 +0100
- Cc: "openldap-technical@openldap.org" <openldap-technical@openldap.org>
- In-reply-to: <AF5DAC5BE0DB614F936EEF0975FC226AF758E5CB@PEXMB002A.vu.local> (P. Kolijn's message of "Wed, 19 Nov 2014 13:45:52 +0000")
- References: <AF5DAC5BE0DB614F936EEF0975FC226AF758E5CB@PEXMB002A.vu.local>
- User-agent: Gnus/5.13 (Gnus v5.13) Emacs/23.4 (gnu/linux)
"Kolijn, P." <p.kolijn@vu.nl> writes:
> It seems to work, for awhile, but the sync stops when data.mdb is
> approx 15M, about 1630 entries instead of the 50000 and about 400M...
>
> If I do a slapadd of the data into my consumer it will grow beyond the
> 15M size...
>
> --snip--
> # ldap data
> database mdb
> maxsize 1073741824
> directory /var/lib/ldap
> suffix "dc=example,dc=com"
> rootdn "cn=ldap_admin,dc=example,dc=com"
> rootpw "{SSHA}0rvO4rPODnqNPqkbDv/vuKm8hXGS7mtG"
>
> # Sync Consumer
> # The indent is necessary
> syncrepl rid=002
> provider=ldap://ldapmaster.test.example.com
> type=refreshAndPersist
> retry="5 5 300 5"
> searchbase="dc=example,dc=com"
> filter="(objectclass=*)"
> attrs="*"
> scope=sub
> schemachecking=off
> bindmethod=simple
> binddn="cn=replicator,dc=example,dc=com"
> credentials="secret"
>
>
> -- end snip --
>
> I have set the global options:
>
> -- snip --
> sizelimit unlimited
> timelimit unlimited
> -- end snip --
How many entries do you get if you run
$ ldapsearch -x -H ldap://ldapmaster.test.example.com -D cn=replicator,dc=example,dc=com -W -b dc=example,dc=com
on the consumer (arguments taken from your syncrepl stanza above)?
--
Feri.
- References:
- ldap sync
- From: "Kolijn, P." <p.kolijn@vu.nl>