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

Re: FW: slapd threads on master pegs multiple CPU Sun running Solaris 8 (ITS#2302)



At 04:48 PM 2/14/2003, Kurt D. Zeilenga wrote:
>One possible approach is not to wrap the whole search operation
>in a single transactions, but use many.  One for baseObject
>finding, one for candidate determination, and one for each
>candidate.  However, this would likely cost way more than 10%
>(with logging).

An alternative to using transactions to avoid deadlock would
be to set DB_LOCK_NOWAIT and then do a release (of all locks)/retry
upon DB_LOCK_NOTGRANTED.

Kurt