sks-devel
[Top][All Lists]
Advanced

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

[Sks-devel] Virtual SKS Server Notes


From: Ryan
Subject: [Sks-devel] Virtual SKS Server Notes
Date: Sat, 15 Oct 2011 15:36:51 -0600

Thanks to previous work done by Marco i was able to discover and fix a similar 
issue with SKS in KVM.

Symptom:
PTree Corruption either instantly or after a few hours of beginning to gossip, 
resulting in recon process dying with the following error message:  PTree may 
be corrupted: Failure("remove_from_node: attempt to delete non-existant element 
from prefix tree")

Solution:
The Virtualized Clock is not accurate enough for the database backend, use a 
more accurate clock source.
* KVM change the clock from kvm-clock to acpi_pm is known to work.
* XEN change the clock from jiffies to xen-clock is known to work.

ie: echo acpi_pm > 
/sys/devices/system/clocksource/clocksource0/current_clocksource
(You will want to ensure this persists through a reboot, try adding it to 
rc.local)

If your using VT other than KVM/Xen and having this issue I would highly 
suggest trying another clock-source, look inside 
/sys/devices/system/clocksource/clocksource0/available_clocksource to see what 
options you have available. 

We might want to make a note of it in the docs, if anything else hopefully this 
post will be easy to find in the future when searching for a solution.

Cheers,
-Ryan

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail


reply via email to

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