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

Substring searches failing - fixed by reading, deleting and adding object (ITS#386)



Hi,

We are very satisfied OpenLDAP users, often peaking at over a 100 queries a
second sustained, our ISP depends on it!

However, we have a grave problem that is worrying us.

We have an attribute called maildrop that we search a lot on, with two kinds
of filters:

(maildrop=blah@casema.net,*) 
and
(maildop=*,12345678-1@popstore1.casema.net*)

Both of these filters fail sometimes. We then read the entire object, delete
it from LDAP, and insert it again. This fixes the problem.

This however is very slow and we have the feeling something is very wrong.
We are using OpenLDAP 1.2.7 with gdbm. Any clues on what might have caused
this?

We see that when the first filter fails, (maildrop=blah@*) usually *does*
find the object. There is an initial amount of chacters where it works. If
you add any more (maildrop=blah@cas*), the search doesn't return any objects
anymore.

It should also be noted that our ldap server used to crash a lot in the old
days due to memory leaks. Maybe the datafiles are corrupted from then, who
know. 

Any advise would be appreciated.

Regards,

bert hubert.

-- 
    +---------------+  |              http://www.rent-a-nerd.nl
    | nerd for hire |  |                  
    +---------------+  |                     - U N I X -
            |          |          Inspice et cautus eris - D11T'95