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

RE: High volume ldap queries causing corruption in bdb backend.



> -----Original Message-----
> From: owner-openldap-software@OpenLDAP.org
> [mailto:owner-openldap-software@OpenLDAP.org]On Behalf Of
> Peter Johnson

> Quanah,
>
> 	I setup the DB_CONFIG file and it helps.  The fast
> query scripts still start
> to slow down but not as soon as before.  Also the scripts
> with the one second
> delays ran without problems for 14,000 queries where before
> the started
> having problems at about 7000 queries.
>
> 	There must still be something wrong with the software
> since I still have to
> use db_recover to get response time back up to normal after a
> slowdown.
>
> thanks for your help.

Keep reading the SleepyCat tuning docs. Check the output of db_stat before
and after your test run. Look at db_stat -c for lock statistics and
db_stat -m for memory statistics in particular. If running db_recover cures
the problem, it's possible there is a resource leak somewhere but we can't
know without more information.

  -- Howard Chu
  Chief Architect, Symas Corp.       Director, Highland Sun
  http://www.symas.com               http://highlandsun.com/hyc
  Symas: Premier OpenSource Development and Support