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

Re: ldapsearch hangs



so, can anyone help here ?

On Tue, Sep 15, 2009 at 8:34 PM, Tihomir Culjaga <tculjaga@gmail.com> wrote:
ok .. but the basic issue is still there ...

i do a complete search and it hangs right on the 1st entry i added with LDAP search ... it watis for 1 minute ...and at the end returns all 4 remaining entries...


Well this is not sometihg very nice.

I played with cache as well .. i used 5 GB just to be sure ... and it is the same ... search hangs for a while ... and after a minute (this can be several minutes) it pops the remaining 4 entries.


these 4 entries i've added (with ldapadd) after the DB was recreated from ldiff (with slapadd) ... this cannot be normal



anyone?




On Tue, Sep 15, 2009 at 8:13 PM, Quanah Gibson-Mount <quanah@zimbra.com> wrote:

--On Tuesday, September 15, 2009 5:22 PM +0200 Tihomir Culjaga <tculjaga@gmail.com> wrote:

can anyone help ?


Since you reduced the number of your entries to where you DB is only 3.4 GB in size, there is no need to use a 7GB DB cache in DB_CONFIG anymore.  I'd suggest you drop it to 4GB, use the unlimited dncachesize setting (dncachesize 0), and then add back in some tuning for cachesize and idlcachesize settings.

You need to run one ldapsearch through the entire database to let it seed the dncache and entry cache, and to pull the data into the BDB DB cache.

Once that is done, do your test.


--Quanah

--

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