-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

John Clizbe wrote:
> Javier Henderson wrote:
>> I run two keyservers, one has just two peers, the other has about a dozen.
> 
>> The one with a dozen peers sees periodic corruption, necessitating a rebuild.
>> From what I've seen after asking the great google mind, this seems to happen
>> periodically, and there was even a posting this morning by someone dropping 
>> out
>> of the ring because of this problem.
> 
>> Both of the keyservers I run are on 1.1.1, which I believe is latest and 
>> greatest.
> 
>> Any thoughts on this?
> 

Googling the BDB error, and doing a bit of checking, it seems mutexes are indeed
a scarce quantity for the PTree database:

> s...@yogi:/var/sks# db50_stat -eh PTree
<SNIP>
> Active transactions:
> =-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
> 7MB 176KB       Mutex region size
> 0       The number of region locks that required waiting (0%)
> 4       Mutex alignment
> 1       Mutex test-and-set spins
> 58720   Mutex total count
> 46      Mutex free count
> 58674   Mutex in-use count
> 58674   Mutex maximum in-use count
> Mutex counts
> 46      Unallocated
> 1       env region
> 1       log filename
> 1       log flush
> 1       log region
> 1       mpoolfile handle
> 42267   mpool buffer
> 17      mpool file bucket
> 16381   mpool hash bucket
> 1       mpool region
> 1       mutex region
> 1       transaction checkpoint
> 1       txn region

I'm adding 'mutex_set_max 65535' to PTree's DB_CONFIG and we'll see if that
takes care of it. I ran db_recover on PTree before restarting.

KDB had ~10% free mutexes, so I didn't see an issue there.

- -- 
John P. Clizbe                      Inet:  John (a) GingerBear.net
You can't spell fiasco without SCO. hkp://keyserver.gingerbear.net  or
     mailto:[email protected]?subject=help

Q:"Just how do the residents of Haiku, Hawai'i hold conversations?"
A:"An odd melody / island voices on the winds / surplus of vowels"
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.11-svn5331-2010-05-07 (Windows XP)
Comment: When cryptography is outlawed, bayl bhgynjf jvyy unir cevinpl!
Comment: Be part of the £€37 ECHELON -- Use Strong Encryption.
Comment: It's YOUR right - for the time being.
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iF4EAREIAAYFAkvqcXcACgkQ614Z89ZWmCXHmgD/RwHpwK8y2VdQ+BthJKUQ1Rlq
0MZrIjYl7xKEdN9QXvsA/Ah0Z00mWIlo3rGvLAvtWrRrbScdZr2QqnrzqhEZMuJb
=ZWSF
-----END PGP SIGNATURE-----

_______________________________________________
Sks-devel mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/sks-devel

Reply via email to