Issue 6833 - LDAP hangs on Solaris
Summary: LDAP hangs on Solaris
Status: VERIFIED FIXED
Alias: None
Product: OpenLDAP
Classification: Unclassified
Component: slapd (show other issues)
Version: unspecified
Hardware: All All
: --- normal
Target Milestone: ---
Assignee: OpenLDAP project
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-02-16 11:37 UTC by tombolala@gmx.de
Modified: 2014-08-01 21:03 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this issue.
Description tombolala@gmx.de 2011-02-16 11:37:34 UTC
Full_Name: Thomas Bopp
Version: 4.2.22
OS: Solaris 10
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (195.47.255.100)


After approximately one week our LDAP stops working and hangs (we had this
situation several times). We have the www.sunfreeware.com package of LDAP
installed. 

It had a bunch of connection in CLOSE_WAIT state (indicating basically that a
close request has come in but slapd did not serve it).

Making a truss on the process showed all threads blocked on lwp_cond_wait.

I really need a solution for this problem. 
Comment 1 Quanah Gibson-Mount 2011-02-16 16:33:33 UTC
--On Wednesday, February 16, 2011 11:37 AM +0000 tombolala@gmx.de wrote:

> Full_Name: Thomas Bopp
> Version: 4.2.22

> I really need a solution for this problem.

I suggest you list an actual OpenLDAP release.  It's near impossible to 
help you without that.

--Quanah

--

Quanah Gibson-Mount
Sr. Member of Technical Staff
Zimbra, Inc
A Division of VMware, Inc.
--------------------
Zimbra ::  the leader in open source messaging and collaboration

Comment 2 tombolala@gmx.de 2011-02-16 17:32:45 UTC
Hi Quanah!

sorry for the wrong release, I meant 2.4.22 of course.

/Thomas

-------- Original-Nachricht --------
> Datum: Wed, 16 Feb 2011 16:34:39 GMT
> Von: quanah@zimbra.com
> An: openldap-its@openldap.org
> Betreff: Re: (ITS#6833) LDAP hangs on Solaris

> --On Wednesday, February 16, 2011 11:37 AM +0000 tombolala@gmx.de wrote:
> 
> > Full_Name: Thomas Bopp
> > Version: 4.2.22
> 
> > I really need a solution for this problem.
> 
> I suggest you list an actual OpenLDAP release.  It's near impossible to 
> help you without that.
> 
> --Quanah
> 
> --
> 
> Quanah Gibson-Mount
> Sr. Member of Technical Staff
> Zimbra, Inc
> A Division of VMware, Inc.
> --------------------
> Zimbra ::  the leader in open source messaging and collaboration
> 
> 

-- 
Empfehlen Sie GMX DSL Ihren Freunden und Bekannten und wir
belohnen Sie mit bis zu 50,- Euro! https://freundschaftswerbung.gmx.de

Comment 3 Howard Chu 2011-02-22 18:25:43 UTC
changed notes
changed state Open to Feedback
Comment 4 Howard Chu 2011-02-23 02:25:06 UTC
tombolala@gmx.de wrote:
> Hi Quanah!
>
> sorry for the wrong release, I meant 2.4.22 of course.

I recall we also experienced hangs with Solaris 10 during the testing leading 
up to the 2.4.24 release. Yet with identical code, no such hangs were reported 
on Solaris 9 or Solaris 11. I suspect there's a bug in the implementation of 
select() on Solaris 10, causing it to fail to report the connection close events.

Some discussion of this problem occurred in this email thread

http://www.openldap.org/lists/openldap-devel/201101/msg00033.html

Try 2.4.24, and try a different Solaris release. Aside from that, we have no 
answers for you.

> /Thomas
>
> -------- Original-Nachricht --------
>> Datum: Wed, 16 Feb 2011 16:34:39 GMT
>> Von: quanah@zimbra.com
>> An: openldap-its@openldap.org
>> Betreff: Re: (ITS#6833) LDAP hangs on Solaris
>
>> --On Wednesday, February 16, 2011 11:37 AM +0000 tombolala@gmx.de wrote:
>>
>>> Full_Name: Thomas Bopp
>>> Version: 4.2.22
>>
>>> I really need a solution for this problem.
>>
>> I suggest you list an actual OpenLDAP release.  It's near impossible to
>> help you without that.
>>
>> --Quanah
>>
>> --
>>
>> Quanah Gibson-Mount
>> Sr. Member of Technical Staff
>> Zimbra, Inc
>> A Division of VMware, Inc.
>> --------------------
>> Zimbra ::  the leader in open source messaging and collaboration
>>
>>
>


-- 
   -- Howard Chu
   CTO, Symas Corp.           http://www.symas.com
   Director, Highland Sun     http://highlandsun.com/hyc/
   Chief Architect, OpenLDAP  http://www.openldap.org/project/

Comment 5 tombolala@gmx.de 2011-02-23 14:02:47 UTC
Hi!

Thanx for your reply. We have been able to reproduce the problem on a 
test system and found out that setting "idletimeout" seems to fix this issue for us. Note that we enabled gentlehup!

We have now the new configuration on our production environment and everything seems stable. We are not able to change solaris versions.
If there are still problems we will upgrade the openldap version.

On another system we have the same ldap configuration (gentlehup and no idletimeout set) and do not experience any problem.

Best regards,
Thomas


-------- Original-Nachricht --------
> Datum: Wed, 23 Feb 2011 02:26:01 GMT
> Von: hyc@symas.com
> An: openldap-its@openldap.org
> Betreff: Re: (ITS#6833) LDAP hangs on Solaris

> tombolala@gmx.de wrote:
> > Hi Quanah!
> >
> > sorry for the wrong release, I meant 2.4.22 of course.
> 
> I recall we also experienced hangs with Solaris 10 during the testing
> leading 
> up to the 2.4.24 release. Yet with identical code, no such hangs were
> reported 
> on Solaris 9 or Solaris 11. I suspect there's a bug in the implementation
> of 
> select() on Solaris 10, causing it to fail to report the connection close
> events.
> 
> Some discussion of this problem occurred in this email thread
> 
> http://www.openldap.org/lists/openldap-devel/201101/msg00033.html
> 
> Try 2.4.24, and try a different Solaris release. Aside from that, we have
> no 
> answers for you.
> 
> > /Thomas
> >
> > -------- Original-Nachricht --------
> >> Datum: Wed, 16 Feb 2011 16:34:39 GMT
> >> Von: quanah@zimbra.com
> >> An: openldap-its@openldap.org
> >> Betreff: Re: (ITS#6833) LDAP hangs on Solaris
> >
> >> --On Wednesday, February 16, 2011 11:37 AM +0000 tombolala@gmx.de
> wrote:
> >>
> >>> Full_Name: Thomas Bopp
> >>> Version: 4.2.22
> >>
> >>> I really need a solution for this problem.
> >>
> >> I suggest you list an actual OpenLDAP release.  It's near impossible to
> >> help you without that.
> >>
> >> --Quanah
> >>
> >> --
> >>
> >> Quanah Gibson-Mount
> >> Sr. Member of Technical Staff
> >> Zimbra, Inc
> >> A Division of VMware, Inc.
> >> --------------------
> >> Zimbra ::  the leader in open source messaging and collaboration
> >>
> >>
> >
> 
> 
> -- 
>    -- Howard Chu
>    CTO, Symas Corp.           http://www.symas.com
>    Director, Highland Sun     http://highlandsun.com/hyc/
>    Chief Architect, OpenLDAP  http://www.openldap.org/project/
> 
> 

-- 
Schon gehört? GMX hat einen genialen Phishing-Filter in die
Toolbar eingebaut! http://www.gmx.net/de/go/toolbar

Comment 6 Howard Chu 2011-02-28 01:24:15 UTC
changed state Feedback to Closed
Comment 7 OpenLDAP project 2014-08-01 21:03:47 UTC
solaris 10 bug