Full_Name: Kona Jagan Version: libldap-2.2.so.7.0.6 OS: Linux 2.6.9-67.ELsmp #1 SMP Wed Nov 7 13:58:04 EST 2007 URL: ftp://ftp.openldap.org/incoming/ Submission from: (NULL) (125.17.121.249)
Hi All,
I have written a ldap client application in Linux which uses ldap_search_ext() API for querying details of a user. I am using two threads, one for sending ldap search queries and other for receiving response from Ldap server which uses ldap_result API.
At production i am facing a issue which breaks down to ldap_search_ext() API got blocked which is causing all ldap request's to timeout. Can anyone help me to understand about the blocking behavior of ldap_search_ext() API. I mean when ldap_search_ext() API gets blocked.please provide me the user cases which can cause this behavior.
As far as I know, asynchronous LDAP calls can only block when connect(2) blocks. There's a workaround for that (which only prevents blocking) but since blocking on connect(2) indicates a more serious issue (e.g. network misconfiguration), I'd address that issue first. In any case, there is nothing so far indicating a bug in OpenLDAP software, so I'd consider this ITS closed.