Issue 5966 - test056 may miss the current connection
Summary: test056 may miss the current connection
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: 2009-02-21 14:50 UTC by ando@openldap.org
Modified: 2017-02-16 21:22 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 ando@openldap.org 2009-02-21 14:50:07 UTC
Full_Name: Pierangelo Masarati
Version: HEAD
OS: irrelevant
URL: ftp://ftp.openldap.org/incoming/
Submission from: (NULL) (82.63.140.131)
Submitted by: ando


One every few runs (1/75 roughly) test056 does not read the current connection
from slapd, thus failing the check for the monitor1.out block.

The "cn=Connection 1,cn=Connections,cn=Monitor" entry appears to be missing from
the results returned when searching the subtree rooted at
"cn=Connections,cn=Monitor".

Not clear how this can happen, the logs do not show enough details, and the
behavior is too erratic to trace.

p.
Comment 1 Quanah Gibson-Mount 2009-03-05 21:05:19 UTC
--On Saturday, February 21, 2009 2:50 PM +0000 ando@sys-net.it wrote:

> Full_Name: Pierangelo Masarati
> Version: HEAD
> OS: irrelevant
> URL: ftp://ftp.openldap.org/incoming/
> Submission from: (NULL) (82.63.140.131)
> Submitted by: ando
>
>
> One every few runs (1/75 roughly) test056 does not read the current
> connection from slapd, thus failing the check for the monitor1.out block.
>
> The "cn=Connection 1,cn=Connections,cn=Monitor" entry appears to be
> missing from the results returned when searching the subtree rooted at
> "cn=Connections,cn=Monitor".
>
> Not clear how this can happen, the logs do not show enough details, and
> the behavior is too erratic to trace.

It seems to be missing a lot.  I get hundreds of:
slapd-read PID=10541: ldap_search_ext_s(cn=Database 
1,cn=Databases,cn=Monitor): No such object (32)
        matched: cn=Databases,cn=Monitor

--Quanah



--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration

Comment 2 Quanah Gibson-Mount 2009-03-05 21:14:56 UTC
--On Thursday, March 05, 2009 9:05 PM +0000 quanah@zimbra.com wrote:

> --On Saturday, February 21, 2009 2:50 PM +0000 ando@sys-net.it wrote:
>
>> Full_Name: Pierangelo Masarati
>> Version: HEAD
>> OS: irrelevant
>> URL: ftp://ftp.openldap.org/incoming/
>> Submission from: (NULL) (82.63.140.131)
>> Submitted by: ando
>>
>>
>> One every few runs (1/75 roughly) test056 does not read the current
>> connection from slapd, thus failing the check for the monitor1.out block.
>>
>> The "cn=Connection 1,cn=Connections,cn=Monitor" entry appears to be
>> missing from the results returned when searching the subtree rooted at
>> "cn=Connections,cn=Monitor".
>>
>> Not clear how this can happen, the logs do not show enough details, and
>> the behavior is too erratic to trace.
>
> It seems to be missing a lot.  I get hundreds of:
> slapd-read PID=10541: ldap_search_ext_s(cn=Database
> 1,cn=Databases,cn=Monitor): No such object (32)
>         matched: cn=Databases,cn=Monitor

test039 is one of several where I see this:

slapd-read PID=29590: ldap_search_ext_s(cn=Database 
1,cn=Databases,cn=Monitor): No such object (32)
        matched: cn=Databases,cn=Monitor
slapd-read PID=29590: ldap_search_ext_s(cn=Database 
1,cn=Databases,cn=Monitor): No such object (32)
        matched: cn=Databases,cn=Monitor
slapd-read PID=29590: ldap_search_ext_s(cn=Database 
1,cn=Databases,cn=Monitor): No such object (32)
        matched: cn=Databases,cn=Monitor
slapd-read PID=29590: ldap_search_ext_s(cn=Database 
1,cn=Databases,cn=Monitor): No such object (32)
        matched: cn=Databases,cn=Monitor
slapd-read PID=29590: ldap_search_ext_s(cn=Database 
1,cn=Databases,cn=Monitor): No such object (32)
        matched: cn=Databases,cn=Monitor
slapd-read PID=29590: ldap_search_ext_s(cn=Database 
1,cn=Databases,cn=Monitor): No such object (32)
        matched: cn=Databases,cn=Monitor
slapd-read PID=29590: ldap_search_ext_s(cn=Database 
1,cn=Databases,cn=Monitor): No such object (32)
        matched: cn=Databases,cn=Monitor
slapd-read PID=29590: ldap_search_ext_s(cn=Database 
1,cn=Databases,cn=Monitor): No such object (32)
        matched: cn=Databases,cn=Monitor
slapd-read PID=29590: ldap_search_ext_s(cn=Database 
1,cn=Databases,cn=Monitor): No such object (32)
        matched: cn=Databases,cn=Monitor
  PID=29590 - Read done (32).
  PID=29604 - Bind done (0).
  PID=29576 - Search done (0).
  PID=18701 - Add/Delete done (0).
  PID=18699 - Modrdn done (0).
  PID=18656 - Search done (0).
  PID=18627 - Add/Delete done (0).
  PID=18615 - Search done (0).
  PID=24501 - Search done (0).
  PID=25038 - Search done (0).
  PID=24259 - Search done (0).
  PID=21968 - Search done (0).
  PID=25300 - Search done (0).
  PID=25898 - Search done (0).
  PID=27976 - Search done (0).
  PID=18617 - Modrdn done (0).
  PID=18646 - Modrdn done (0).
Using ldapsearch to retrieve all the entries...
Filtering ldapsearch results...
Filtering original ldif used to create database...
Comparing filter output...
>>>>> Test succeeded


--Quanah

--

Quanah Gibson-Mount
Principal Software Engineer
Zimbra, Inc
--------------------
Zimbra ::  the leader in open source messaging and collaboration

Comment 3 Howard Chu 2010-12-30 16:47:17 UTC
cn=Monitor does not appear to have this problem any more, at least not for 
test056 or test039 on my dual-core machine. Can we close this out?
-- 
   -- 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 4 OpenLDAP project 2017-02-16 21:22:12 UTC
No longer occurs, fixed by something at some point.
Comment 5 Quanah Gibson-Mount 2017-02-16 21:22:12 UTC
changed notes
changed state Open to Closed