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

Re: RE24 connection code reworking



Quanah Gibson-Mount <quanah@zimbra.com> writes:

> RE24 has had some code reworking in the connections area, due to some
> race conditions that were being triggered.  It would be useful if
> people could test current RE24 to see if they encounter issues.  There
> are still a number of outstanding issues that need to be resolved
> before 2.4.14 will be released, but I'd appreciate a head start on
> making sure that at least make test is passing for folks with this new
> code in place.  So far, it does for both Howard and I, but Michael
> StrÃder has reported failures in his OpenSuSE builds that we can't
> reproduce.

OpenSUSE-11.0, x86
BerkeleyDB-4.5

test036 fails, just doesn't finish. the process is waiting for
something that will never occur:
the last lines of test036:
...
PID=32586 - Search(500): base="cn=Monitor" scope=sub filter="(objectClass=*)" attrs=cn (more...).
  PID=32402 - Search done (0).
PID=32600 - Read(1000): entry="cn=Database 1,cn=Databases,cn=Monitor".
  PID=32300 - Bind done 1000 in 31.316030 seconds.
PID=32614 - Bind(1000): dn="".
  PID=32332 - Bind done (0).
  PID=32328 - Read done (0).
  PID=32388 - Bind done (0).
  PID=32046 - Search done (0).
  PID=32374 - Read done (0).
  PID=32088 - Search done (0).
  PID=32434 - Bind done (0).
  PID=32420 - Read done (0).
  PID=32508 - Read done (0).
  PID=32480 - Bind done (0).
  PID=32554 - Read done (0).
  PID=32522 - Bind done 1000 in 21.653445 seconds.
  PID=32614 - Bind done (0).
  PID=32600 - Read done (0).
  PID=32138 - Search done (0).

last lines of slapd.1.log

conn=554 op=2324 SRCH base="cn=foo,ou=meta,dc=example,dc=com" scope=0 deref=0 filter="(objectClass=*)"
conn=554 op=2324 SRCH attr=1.1
==> limits_get: conn=554 op=2324 self="[anonymous]" this="cn=foo,ou=meta,dc=example,dc=com"
=> bdb_search
bdb_dn2entry("cn=foo,ou=meta,dc=example,dc=com")
=> bdb_dn2id("ou=meta,dc=example,dc=com")
<= bdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found (-30989)
send_ldap_result: conn=554 op=2324 p=3
send_ldap_result: err=10 matched="dc=example,dc=com" text=""
send_ldap_response: msgid=2325 tag=101 err=32
ber_flush2: 32 bytes to sd 30
conn=554 op=2324 SEARCH RESULT tag=101 err=32 nentries=0 text=

last lines of slapd.2.log

conn=15 op=2324 SRCH base="cn=foo,ou=Meta,dc=example,dc=com" scope=0 deref=0 filter="(objectClass=*)"
conn=15 op=2324 SRCH attr=1.1
==> limits_get: conn=15 op=2324 self="[anonymous]" this="cn=foo,ou=meta,dc=example,dc=com"
=> bdb_search
bdb_dn2entry("cn=foo,ou=meta,dc=example,dc=com")
=> bdb_dn2id("cn=foo,ou=meta,dc=example,dc=com")
<= bdb_dn2id: get failed: DB_NOTFOUND: No matching key/data pair found (-30989)
send_ldap_result: conn=15 op=2324 p=3
send_ldap_result: err=10 matched="ou=Meta,dc=example,dc=com" text=""
send_ldap_response: msgid=2325 tag=101 err=32
ber_flush2: 40 bytes to sd 19
conn=15 op=2324 SEARCH RESULT tag=101 err=32 nentries=0 text=
connection_close: conn=19 sd=13
conn=19 fd=13 closed (idletimeout)
connection_close: conn=13 sd=17
conn=13 fd=17 closed (idletimeout)
connection_close: conn=14 sd=18
conn=14 fd=18 closed (idletimeout)
connection_close: conn=21 sd=20
conn=21 fd=20 closed (idletimeout)
connection_close: conn=17 sd=21
conn=17 fd=21 closed (idletimeout)
connection_close: conn=8 sd=22
conn=8 fd=22 closed (idletimeout)
connection_close: conn=18 sd=23
conn=18 fd=23 closed (idletimeout)
connection_close: conn=20 sd=24
conn=20 fd=24 closed (idletimeout)
connection_close: conn=15 sd=19
conn=15 fd=19 closed (idletimeout)
connection_close: conn=22 sd=25
conn=22 fd=25 closed (idletimeout)

last lines of slapd.3.log

<= send_search_entry: conn 70 exit.
=> send_search_entry: conn 70 dn="cn=Read,cn=Waiters,cn=Monitor"
ber_flush2: 55 bytes to sd 17
<= send_search_entry: conn 70 exit.
=> send_search_entry: conn 70 dn="cn=Write,cn=Waiters,cn=Monitor"
ber_flush2: 57 bytes to sd 17
<= send_search_entry: conn 70 exit.
send_ldap_result: conn=70 op=472 p=3
send_ldap_result: err=0 matched="" text=""
send_ldap_response: msgid=473 tag=101 err=0
ber_flush2: 15 bytes to sd 17
connection_get(17)
conn=70 op=472 SEARCH RESULT tag=101 err=0 nentries=62 text=
connection_get(17): got connid=70
connection_read(17): checking for input on id=70
ber_get_next
ber_get_next: tag 0x30 len 56 contents:
ber_get_next
conn=70 op=473 do_search
ber_scanf fmt ({miiiib) ber:
>>> dnPrettyNormal: <cn=Monitor>
=> ldap_bv2dn(cn=Monitor,0)






-- 
Dieter KlÃnter | Systemberatung
sip: +49.180.1555.7770535
http://www.dpunkt.de/buecher/2104.html
GPG Key ID:8EF7B6C6