[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: proxy hangs irreversible if the first mirror in the uri list is down



On Thursday 04 June 2009, Christian Fischer wrote:
> On Thursday 04 June 2009, masarati@aero.polimi.it wrote:
> > > Hi all,
> > >
> > > I'm running openldap-2.4.16 on gentoo amd64.
> > >
> > > I've configured two server in mirror mode and one running as proxy.
> > >
> > > Everything runs fine if both mirrors are online or offline.
> > >
> > > The proxy hangs if the first mirror in the uri list is offline.
> > > In this case the proxy can't be shutdowned, i must kill him with signal
> > > 9. Starting mirror one has no effect, the proxy hanges on connection 2,
> > > no reconnect, no timeout.
> >
> > Try slapd-ldap(5), "network-timeout".
> >
> > p.

Well, found the problem.

Maybe it's stated somewhere, however, use of uri lists is broken with TLS but 
works with SSL.

If TLS is used the call of ldap_pvt_thread_mutex_lock() in 
back-ldap/bind.c:1584 comes never back and the server hangs.

Christian

>
> Tried a lot before post, also this one.
>
> No effect.
>
> Christian



-- 
"Without music to decorate it, time is just a bunch of boring production
 deadlines or dates by which bills must be paid."
        --- Frank Vincent Zappa