openldap 2.2.x

2012-11-01 Thread Pörschke, Gunnar
Hi all, we have an very old openldap running and we need to migrate data to latest openldap version. I create an ldif but the data in that file are encoded base64. Is there a trick to disable that? My plan is to export everything from openldap 2.2 database (lbdb) without base64 encoding so I can

Re: openldap 2.2.x

2012-11-01 Thread Emmanuel Lecharny
Le 1 nov. 2012 13:52, Pörschke, Gunnar gunnar.poersc...@bvl.bund.de a écrit : Hi all, we have an very old openldap running and we need to migrate data to latest openldap version. I create an ldif but the data in that file are encoded base64. Is there a trick to disable that? My plan is to

Re: Index Add Failures

2012-11-01 Thread Kyle Smith
Ok, I have been running 2.4.32 for some time with no issues. Yesterday, 2 different servers (both part of a 4-way MMR) produced an index add failure and an index delete failure. I went back over the bdb DB_CONFIG Settings (listed below) and everything looks nominal to me. Would it just make more

Re: Index Add Failures

2012-11-01 Thread Quanah Gibson-Mount
--On Thursday, November 01, 2012 12:36 PM -0400 Kyle Smith alacer.cogita...@gmail.com wrote: Ok, I have been running 2.4.32 for some time with no issues. Yesterday, 2 different servers (both part of a 4-way MMR) produced an index add failure and an index delete failure. I went back over the

Re: Memory usage with bdb

2012-11-01 Thread Quanah Gibson-Mount
--On Thursday, November 01, 2012 2:24 PM -0200 Friedrich Locke friedrich.lo...@gmail.com wrote: Is anyone aware of any buggy in openldap+bdb related to memory usage? Have anyone here using this type of backend ? Any problem to report? No. Yes. No. I would suggest you provide some more

Re: Memory usage with bdb

2012-11-01 Thread Roman Rybalko
01.11.2012 20:24, Friedrich Locke пишет: Is anyone aware of any buggy in openldap+bdb related to memory usage? Have anyone here using this type of backend ? Any problem to report? It's leaking. I think. Needs regular restart. slapd-2.4.23+libdb-4.8.30 slapd-git-a54957b+libdb-4.8.30 -- WBR,

Re: Memory usage with bdb

2012-11-01 Thread Patrick Lists
On 11/01/2012 05:24 PM, Friedrich Locke wrote: Is anyone aware of any buggy in openldap+bdb related to memory usage? Have anyone here using this type of backend ? Any problem to report? I guess it would help others if you mentioned the OpenLDAP version you are referring to. Did check the

Re: Index Add Failures

2012-11-01 Thread Kyle Smith
Is it possbile to use MMR to my advantage to switch over? For example, take down 1 of the servers, switch the db config from bdb to mdb, and then restart with a blank database (with appropriate structure) and have the MMR take care of backfilling the mdb entries? Then I wouldn't have to export to

Re: Index Add Failures

2012-11-01 Thread Quanah Gibson-Mount
--On Thursday, November 01, 2012 1:04 PM -0400 Kyle Smith alacer.cogita...@gmail.com wrote: Is it possbile to use MMR to my advantage to switch over? For example, take down 1 of the servers, switch the db config from bdb to mdb, and then restart with a blank database (with appropriate 

Re: Memory usage with bdb

2012-11-01 Thread Quanah Gibson-Mount
--On Thursday, November 01, 2012 9:02 PM +0400 Roman Rybalko openl...@romanr.name wrote: 01.11.2012 20:24, Friedrich Locke пишет: Is anyone aware of any buggy in openldap+bdb related to memory usage? Have anyone here using this type of backend ? Any problem to report? It's leaking. I think.

Re: Memory usage with bdb

2012-11-01 Thread Roman Rybalko
01.11.2012 21:34, Quanah Gibson-Mount пишет: Of course, if you use glibc instead of a decent memory allocator like tcmalloc, you may see behavior where glibc leaks like a sieve. Yep, I use glibc, let me try tcmalloc, will report if it leaks, thanks! -- WBR, Roman Rybalko

Re: Index Add Failures

2012-11-01 Thread Kyle Smith
Thanks for the input, Quanah. I really appreciate it. On Thu, Nov 1, 2012 at 1:10 PM, Quanah Gibson-Mount qua...@zimbra.comwrote: --On Thursday, November 01, 2012 1:04 PM -0400 Kyle Smith alacer.cogita...@gmail.com wrote: Is it possbile to use MMR to my advantage to switch over? For

Re: Memory usage with bdb

2012-11-01 Thread Howard Chu
Roman Rybalko wrote: 01.11.2012 20:24, Friedrich Locke пишет: Is anyone aware of any buggy in openldap+bdb related to memory usage? Have anyone here using this type of backend ? Any problem to report? It's leaking. I think. Needs regular restart. slapd-2.4.23+libdb-4.8.30

Re: Index Add Failures

2012-11-01 Thread Howard Chu
Kyle Smith wrote: Ok, I have been running 2.4.32 for some time with no issues. Yesterday, 2 different servers (both part of a 4-way MMR) produced an index add failure and an index delete failure. I went back over the bdb DB_CONFIG Settings (listed below) and everything looks nominal to me. Would