On Mon, 2005-03-21 at 18:17 +0100, Cristiano Cumer wrote: > Claudio Jeker wrote: > > > > >Just as a sidenote, the use of multiple ldap servers in qmail-ldap is > >actually provided by the OpenLDAP library. We supply the a space separated > >list to ldap_init() and this function will cycle through the list > >searching a available server. I think the just try to open a tcp > >connection and if that fails they use the next entry and retry. > >For high availability it may be better to use something like OpenBSDs > >carp(4) for the server. > > > > > yes but carp works only if the openladp machine goes down, not if the > openladp deamon hangs. I have problems on my debian box to keep openladp > running stable, now I have tried to switch ldap backend, let's see what > happens. > > So you say qmail-ldap uses the openldap library, so it could be a > problem of the openldap implementation of debian and not of qmail-ldap > itself. Hmmm, I will try to fihure it out. > Anyway, it's one per line or on the same line space separated? I'm a > little bit confused now! > > Bye > > Cristiano I'm using debian with openldap here without any problem.. [EMAIL PROTECTED]:~$ ps auxwww | grep slapd root 18087 0.0 2.7 243192 56980 ? Ssl 2004 0:00 /usr/sbin/slapd -4 cassiano 29439 0.0 0.0 1584 500 pts/403 S+ 16:44 0:00 grep slapd [EMAIL PROTECTED]:~$ uptime 15:45:17 up 270 days, 4:34, 4 users, load average: 0.12, 0.05, 0.01 [EMAIL PROTECTED]:~$
this ldap server is the backend for 12 mailserver with 30 million of mails day, with 200.000 accounts.
