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

Re: [JunkMail] Re: Wishes for set ACLs

Howard Chu wrote:

Kurt D. Zeilenga wrote:

At 03:40 PM 3/17/2005, Howard Chu wrote:

And then move the mutex into the chk_crypt routine itself.

Moving the mutex into -lutil might be a bit problematic.
The library is designed not to require -lldap_r (or -lldap
or -llber).

You could resolve the problem by moving lutil_passwd into

Hm.... OK. We don't need to move lutil_passwd, just the chk_sasl and chk_crypt functions. Since we can register password mechs from outside the library, this is easy enough.

After all fixing, in my very unrealistic testing (massive modification and accessing of the very same two entries by three clients, plus a number of searches) I'm still seeing some deadlocks; would you consider this a problem, or could we consider it acceptable?

68 Last allocated locker ID.
2147M Current maximum unused locker ID.
9 Number of lock modes.
1000 Maximum number of locks possible.
1000 Maximum number of lockers possible.
1000 Maximum number of lock objects possible.
16 Number of current locks.
18 Maximum number of locks at any one time.
32 Number of current lockers.
33 Maximum number of lockers at any one time.
9 Number of current lock objects.
11 Maximum number of lock objects at any one time.
2413169 Total number of locks requested.
2413021 Total number of locks released.
0 Total number of lock requests failing because DB_LOCK_NOWAIT was set.
65754 Total number of locks not immediately available due to conflicts.
125 Number of deadlocks.
0 Lock timeout value.
0 Number of locks that have timed out.
0 Transaction timeout value.
0 Number of transactions that have timed out.
440KB The size of the lock region..
11056 The number of region locks granted after waiting.
4524022 The number of region locks granted without waiting.


SysNet - via Dossi,8 27100 Pavia Tel: +390382573859 Fax: +390382476497