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 watids for 1 minute ...and at the end returns all 4 remaining entries...
Well this is not sometihg very nice.
I playes with cache as ell .. and i used 5 GB jus to be sure ... and it is the same ... search hangs fro a while ... and after a minute it pops the remaining 4 entries.
these 4 entries i've aded after the DB was recreated from ldiff ... this cannot be normal
what do you think ?
On Tue, Sep 15, 2009 at 8:13 PM, Quanah Gibson-Mount quanah@zimbra.comwrote:
--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
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.comwrote:
--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
--On Thursday, September 17, 2009 9:23 PM +0200 Tihomir Culjaga tculjaga@gmail.com wrote:
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.
Changing the BDB database cache isn't going to help you here... All it needs is to be big enough to hold the entire DB, which you already verified.
these 4 entries i've added (with ldapadd) after the DB was recreated from ldiff (with slapadd) ... this cannot be normal
You may want to open an ITS with notes on your configuration (slapd.conf and DB_CONFIG) and exactly what you are doing to trigger the behavior.
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
--On Thursday, September 17, 2009 12:26 PM -0700 Quanah Gibson-Mount quanah@zimbra.com wrote:
--On Thursday, September 17, 2009 9:23 PM +0200 Tihomir Culjaga tculjaga@gmail.com wrote:
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...
Can you better define the search you are running? Is it a search for particular attr=value string? If so, is that attribute indexed?
--Quanah
--
Quanah Gibson-Mount Principal Software Engineer Zimbra, Inc -------------------- Zimbra :: the leader in open source messaging and collaboration
openldap-technical@openldap.org