I had the same problem and I had indexed my LDAP properly. My problem was that my cachesize and dbcachesize was way to small compared to the memory on my machine. The default values for them are not very good so bump them up to use as much memory as you can spare. Then your LDAP performance will skyrocket.
+---------------------------------------------------------------------+ | Thomas Gravgaard | "The Scarlet Pimpernel is the most (__) | | Software developer | overrated human being since Judas \\\'',) | | Infopaq ApS | Iscariot won the AD 31 best disciple \/ \ ^| | [EMAIL PROTECTED] | competition." Black Adder .\._/_)| +---------------------------------------------------------------------+ | FC K�benhavn. Danske mestre 2000/2001! | +---------------------------------------------------------------------+ > or you have not indexed the mail attribute in ldap, or your > index is brokn and you need to rebuild it. In these cases you > need to rebuild your indexes. Or you have compiled openldap > to do dns lookups when querying and your dns server is > responding slowly. Please do a normal ldapsearch and you'll > probably see the same behaviour. To rebuild your indexes: see > openldap. For the dns issue: compile openldap without > nslookups (in versions > 2.0.13 this is automatically done) > > Franky > > On Mon, 25 Feb 2002 13:55:59 +0530 > "Sohan" <[EMAIL PROTECTED]> wrote: > > > > > hi all, > > > > am getting response time of 15 to 20 sec from > qmail-ldaplookup on -m ( > > mail attribute ) whereis qmail-ldaplookup on -u ( uid attribute ) > > response comes without any delay ( 0 sec delay ) > > > > how can i solve this !!! > > > > becoz it is affecting my qmail delivery of mails and the > qmail queue > > is getting bigger ( over 50,000 !! ) > > > > thnx! > > > > Sohan > > >
