sks-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Sks-devel] Ptree corruption


From: John Clizbe
Subject: Re: [Sks-devel] Ptree corruption
Date: Wed, 12 May 2010 04:14:33 -0500
User-agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.9.1.10pre) Gecko/20100406 SeaMonkey/2.0.5 NOT Firefox/3.5.9

-----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:

> address@hidden:/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:address@hidden

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-----



reply via email to

[Prev in Thread] Current Thread [Next in Thread]