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

slapd question



Hi again,

	I'm looking at the trace output below wondering if the
	fact that every time I delete items from the server on
	searches after the list of candidates keeps growing.

	It appears that for each item I delete the server, creates
	a list of possible hits. ant the goes about finding them.
	Since each has been deleted it's not there.  The problem
	is server hangs after I do this for a while.

	Question? Is the list created from the cache?
		If so after the delete why would they be marked as
		candidates from the search?

	I'm doing this verify replication between systems is
	functioning properly.

	Ex.
		ldapadd
		ldapsearch
		ldapdelete
		ldapsearch

		repeat.

	Trace output follows.


	Bob Rothlisberger
	rwroth@netdox.com

new connection on 13
conn=48 fd=13 connection from netdox.com () accepted.
activity on:
listening for connections on 3, activity on: 5R 13r
before select active_threads 0
select activity on 1 descriptors
activity on: 13r
read activity on 13
ber_get_next
ber_get_next: tag 0x30 len 12 contents:
ber_dump: buf 0x164f30, ptr 0x164f30, end 0x164f3c
          current len 12, contents:
        02 01 01  ` 07 02 01 02 04 00 80 00 
listening for connections on 3, activity on: 5R 13r
before select active_threads 1
do_bind
conn=48 op=0 BIND dn="" method=128
do_bind: version 2 dn () method 128
send_ldap_result 0::
ber_flush: 14 bytes to sd 13
         0 0c 02 01 01  a 07 0a 01 00 04 00 04 00 
conn=48 op=0 RESULT err=0 tag=97 nentries=0
select activity on 1 descriptors
activity on: 13r
read activity on 13
ber_get_next
ber_get_next: tag 0x30 len 51 contents:
ber_dump: buf 0x3f2550, ptr 0x3f2550, end 0x3f2583
          current len 51, contents:
        02 01 02  c  . 04 00 0a 01 02 0a 01 00 02 01 00
        02 01 00 01 01 00 a4 15 04 02  c  n  0 0f 80 0d
         A  u  t  o  L  d  a  p 20  T  e  s  t  0 04 04
        02  d  n 
do_search
SRCH "" 2 0    0 0 0
begin get_filter
SUBSTRINGS
begin get_substring_filter
  INITIAL
end get_substring_filter
end get_filter 0
    filter: (cn=AUTOLDAP TEST*)
    attrs: dn
conn=48 op=1 SRCH base="" scope=2 filter="(cn=AUTOLDAP TEST*)"
listening for connections on 3, activity on: 5R 13r
before select active_threads 1
=> ldbm_back_search
using base ""
subtree_candidates: base: "" lookupbase
=> filter_candidates
        OR
=> list_candidates 0xa1
=> filter_candidates
        EQUALITY
=> ava_candidates 0xa3
=> index_read( "objectclass" "=" "REFERRAL" )
=> ldbm_cache_open( "./objectclass.gdbm", 2, 600 )
<= ldbm_cache_open (cache 5)
<= index_read 0 candidates
<= ava_candidates 0
<= filter_candidates 0
=> filter_candidates
        SUBSTRINGS
=> substring_candidates
=> substring_comp_candidates
=> index_read( "cn" "*" "^AU" )
=> ldbm_cache_open( "./cn.gdbm", 2, 600 )
<= ldbm_cache_open (cache 4)
<= index_read 8 candidates
=> index_read( "cn" "*" "AUT" )
=> ldbm_cache_open( "./cn.gdbm", 2, 600 )
<= ldbm_cache_open (cache 4)
<= index_read 8 candidates
=> index_read( "cn" "*" "UTO" )
=> ldbm_cache_open( "./cn.gdbm", 2, 600 )
<= ldbm_cache_open (cache 4)
<= index_read 8 candidates
=> index_read( "cn" "*" "TOL" )
=> ldbm_cache_open( "./cn.gdbm", 2, 600 )
<= ldbm_cache_open (cache 4)
<= index_read 10 candidates
=> index_read( "cn" "*" "OLD" )
=> ldbm_cache_open( "./cn.gdbm", 2, 600 )
<= ldbm_cache_open (cache 4)
<= index_read 11 candidates
=> index_read( "cn" "*" "LDA" )
=> ldbm_cache_open( "./cn.gdbm", 2, 600 )
<= ldbm_cache_open (cache 4)
<= index_read 10 candidates
=> index_read( "cn" "*" "DAP" )
=> ldbm_cache_open( "./cn.gdbm", 2, 600 )
<= ldbm_cache_open (cache 4)
<= index_read 11 candidates
=> index_read( "cn" "*" "AP " )
=> ldbm_cache_open( "./cn.gdbm", 2, 600 )
<= ldbm_cache_open (cache 4)
<= index_read 8 candidates
=> index_read( "cn" "*" "P T" )
=> ldbm_cache_open( "./cn.gdbm", 2, 600 )
<= ldbm_cache_open (cache 4)
<= index_read 9 candidates
=> index_read( "cn" "*" " TE" )
=> ldbm_cache_open( "./cn.gdbm", 2, 600 )
<= ldbm_cache_open (cache 4)
<= index_read 33 candidates
=> index_read( "cn" "*" "TES" )
=> ldbm_cache_open( "./cn.gdbm", 2, 600 )
<= ldbm_cache_open (cache 4)
<= index_read 42 candidates
=> index_read( "cn" "*" "EST" )
=> ldbm_cache_open( "./cn.gdbm", 2, 600 )
<= ldbm_cache_open (cache 4)
<= index_read 47 candidates
<= substring_comp_candidates 8
<= substring_candidates 8
<= filter_candidates 8
<= list_candidates 8
<= filter_candidates 8
=> id2entry_r( 1300 )
=> ldbm_cache_open( "./id2entry.gdbm", 2, 600 )
<= ldbm_cache_open (cache 1)
<= id2entry_r( 1300 ) not found
candidate 1300 not found
=> id2entry_r( 1301 )
=> ldbm_cache_open( "./id2entry.gdbm", 2, 600 )
<= ldbm_cache_open (cache 1)
<= id2entry_r( 1301 ) not found
candidate 1301 not found
=> id2entry_r( 1304 )
=> ldbm_cache_open( "./id2entry.gdbm", 2, 600 )
<= ldbm_cache_open (cache 1)
<= id2entry_r( 1304 ) not found
candidate 1304 not found
=> id2entry_r( 1305 )
=> ldbm_cache_open( "./id2entry.gdbm", 2, 600 )
<= ldbm_cache_open (cache 1)
<= id2entry_r( 1305 ) not found
candidate 1305 not found
=> id2entry_r( 1306 )
=> ldbm_cache_open( "./id2entry.gdbm", 2, 600 )
<= ldbm_cache_open (cache 1)
<= id2entry_r( 1306 ) not found
candidate 1306 not found
=> id2entry_r( 1307 )
=> ldbm_cache_open( "./id2entry.gdbm", 2, 600 )
<= ldbm_cache_open (cache 1)
<= id2entry_r( 1307 ) not found
candidate 1307 not found
=> id2entry_r( 1308 )
=> ldbm_cache_open( "./id2entry.gdbm", 2, 600 )
<= ldbm_cache_open (cache 1)
<= id2entry_r( 1308 ) not found
candidate 1308 not found
=> id2entry_r( 1309 )
=> ldbm_cache_open( "./id2entry.gdbm", 2, 600 )
<= ldbm_cache_open (cache 1)
<= id2entry_r( 1309 ) not found
candidate 1309 not found
send_ldap_result 0::
ber_flush: 14 bytes to sd 13
         0 0c 02 01 02  e 07 0a 01 00 04 00 04 00 
conn=48 op=1 RESULT err=0 tag=101 nentries=0
select activity on 1 descriptors
activity on: 13r
read activity on 13
ber_get_next
ber_get_next: tag 0x30 len 5 contents:
ber_dump: buf 0x1b4288, ptr 0x1b4288, end 0x1b428d
          current len 5, contents:
        02 01 03  B 00 
do_unbind
conn=48 op=2 UNBIND
conn=48 op=2 fd=13 closed errno=0
listening for connections on 3, activity on: 5R
before select active_threads 1