[Date Prev][Date Next]
[Chronological]
[Thread]
[Top]
Re: (ITS#7633) Slapd hangs on hdb write lock
dusan.fric@t-systems.sk wrote:
> --_000_B3C9B2D7E2866A479BAEDF530AA0293D2C5FE65416TSSKKEEXCCR1s_
> Content-Type: text/plain; charset="us-ascii"
> Content-Transfer-Encoding: quoted-printable
>
> Hi guys,
>
> good news, the issue is solved. We changed db setting (DB_CONFIG) as follow=
> s:
>
> set_lk_detect DB_LOCK_RANDOM
>
> (instead of bad set_lk_detect DB_LOCK_EXPIRE)
>
> and no hangs until now.
That's great, but why was it set to DB_LOCK_EXPIRE in the first place?
DB_LOCK_RANDOM is the default, you should not be changing this setting without
a good reason and good knowledge of what you're doing.
>
> We can also find the same issue described here
>
> http://www.openldap.org/lists/openldap-technical/201102/msg00074.html
>
>
> FYI - customer's test confirmed it.
>
> Thanks for your suggestions and help.
>
> Regards,
> Dusan
--
-- Howard Chu
CTO, Symas Corp. http://www.symas.com
Director, Highland Sun http://highlandsun.com/hyc/
Chief Architect, OpenLDAP http://www.openldap.org/project/