Syncrepl unregularly stops on slaves, leaving DB in inconsistent state

2013-05-22 Thread Karsten.Kroesch
Hello OpenLDAP users, I have a Syncrepl setup with one master server and seven slaves. The slaves are mail servers running Postfix, SpamAssassin and Amavis as LDAP clients and have a relatively heavy load. Every two weeks or so (not regularly) the Syncrepl stops on some of the slaves are

Re: Syncrepl unregularly stops on slaves, leaving DB in inconsistent state

2013-05-22 Thread Michael Ströder
karsten.kroe...@swisscom.com wrote: My OpenLDAP version is 2.4.23 running So many syncrepl fixes were made in later releases. So you should really upgrade to a recent release. Ciao, Michael. smime.p7s Description: S/MIME Cryptographic Signature

Deadlock problem on objectClass.bdb

2013-05-22 Thread Maxim Shaposhnik
Hi, I'm faced with the OpenLDAP freeze problem on concurrent item modification. OS type\version is FC17, OpenLDAP 2.4.35. Tried both BerkrleyDB versions 5.2.36 and latest 5.3.21. DB size is about 50K. From my experiments, LDAP stops responding when the count of locks on objectClass.bdb

Different admin passwords on replica servers

2013-05-22 Thread Thomas Macaigne
Hello, I have two servers in a N-Way MultiMaster / MirrorMode setup. Everything works fine, backend and cn=config is replicated. But I would like to have a different password for the cn=admin,dc=xxx=dc,dc=fr account. How would one do this ? Regards,

Re: Deadlock problem on objectClass.bdb

2013-05-22 Thread Howard Chu
Maxim Shaposhnik wrote: Hi, I'm faced with the OpenLDAP freeze problem on concurrent item modification. OS type\version is FC17, OpenLDAP 2.4.35. Tried both BerkrleyDB versions 5.2.36 and latest 5.3.21. DB size is about 50K. From my experiments, LDAP stops responding when the count of

Re: Different admin passwords on replica servers

2013-05-22 Thread Michael Ströder
Thomas Macaigne wrote: I have two servers in a N-Way MultiMaster / MirrorMode setup. Everything works fine, backend and cn=config is replicated. But I would like to have a different password for the cn=admin,dc=xxx=dc,dc=fr account. This sounds a bit that you're after adding more security.

MaxDBs

2013-05-22 Thread Ben Johnson
Is there an upper limit to mdb_env_set_maxdbs()? And what's the overhead for adding additional DBs? Can I change this number once it's set if I close and reopen the env? Ben Johnson b...@skylandlabs.com

Re: MaxDBs

2013-05-22 Thread Howard Chu
Ben Johnson wrote: Is there an upper limit to mdb_env_set_maxdbs()? And what's the overhead for adding additional DBs? Can I change this number once it's set if I close and reopen the env? The upper limit is the upper limit of an unsigned int. The overhead is about 96 bytes per DB on a 64 bit

Re: MaxDBs

2013-05-22 Thread Hallvard Breien Furuseth
Ben Johnson writes: Is there an upper limit to mdb_env_set_maxdbs()? In theory INT_MAX or memory limits (see below), not that it'd be a good idea to go that high. And what's the overhead for adding additional DBs? Around 60 bytes malloc init overhead per DB for each txn and env, or half that

Re: MaxDBs

2013-05-22 Thread Hallvard Breien Furuseth
I wrote: And what's the overhead for adding additional DBs? Around 60 bytes malloc init overhead (...) Ignore me, Howard knows better. I guess I should count again. -- Hallvard