[Date Prev][Date Next]
openldap2.4.16 and BDB4.7 not sync configured as provider/consumer
- To: firstname.lastname@example.org
- Subject: openldap2.4.16 and BDB4.7 not sync configured as provider/consumer
- From: Rodrigo Costa <email@example.com>
- Date: Sat, 2 May 2009 19:15:47 -0700 (PDT)
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yahoo.com; s=s1024; t=1241316947; bh=UKvThF5dH81LlaDDRwsUTxLQ0eX+8nSTOsqHQ+0jNXs=; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=VLvy/E1cSEOHkpvHOCJmBrENcX6BvY/OQafisJ3Gw7wbRZJpJ1tEm/pe4TFlPB7qwlgZDRyrU9qjjAUhcxBwTOH+HzoIjwRWN78njBwKcKV6JYYt6hUYVmsGiFULe2yWdL1GI9ZoOZuIXmyEhZ6z7jRCBsffHcN5fOHaX/rYI1M=
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:X-YMail-OSG:Received:X-Mailer:Date:From:Subject:To:MIME-Version:Content-Type; b=zoaURMw0FN8FOQtUd32/XZGGkSCTuAODvk4QWBDf60ZpGhlblkvZnbtY3N9745YjMvvGvvlOfc6YpcJieHRxJIepHuolqRAj5gKsGvdsLBmWNmdd2u9ccsdkagy5yGcidgXbjxjOQbx2kvfYZnktyed0AUNtSVbEuoijQ6bzEnc=;
Sometime ago I open the ITS#5860 about some memory cache limitations not
being respected by config files. Even this issue was solved when I tried
to configured openldap to use replication(syncrepl) the system never
enter into sync and the behavior appears similar to the ITS#5860 bug.
The system start to sync and in the provider(master) I see the query for
the DB sync. But the consumer(slave) memory consumption start to grow
very fast making me to constrain much more the dncachesize to a 1/10 of
the size of the provider(master) where at least system doesn't crash at
Since changes were done in the openldap 2.4.16 I download and made tests
with this version. I get into the same behavior with consumer(slave)
never getting in sync with provider(master).
The behaviors are :
1) Consumer(slave) start query to the provider(master) DB;
2) Memory allocation and number of threads in the provider(master) start
to increase as expected;
3) dncachesize directive into provider(master) controls as expected the
maximum memory to be allocated by slapd process in provider(master);
4) Consumer(slave) consumer memory in a much faster pace. dncachesize
configured to 1/10 of provider(master) to avoid memory allocation problems;
5) After sometime the consumer(slave) CPU usage maintains in 200%.
Provider(master) stays with low CPU usage, around 1 to 3 %;
6) A new provisioning in provider(master) isn't propagated to
7) Bases never get in sync and CPU usage in consumer still high. Queries
to provider(master) are answer very fast and even multiple individual
queries to consumer(slave) are also answer in reasonable time.
It looks like could exist certain issue in the replication logic where
some processing dead loop could be found by the replication
The newest openldap version and Berkeley DB 4.7 with all patches were
compiled in the platform running the code.
Any idea about this behavior?