sks-devel
[Top][All Lists]
Advanced

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

Re: [Sks-devel] On-demand SKS Statistics Generation?


From: Jason
Subject: Re: [Sks-devel] On-demand SKS Statistics Generation?
Date: Wed, 1 Jul 2009 18:51:45 -0400
User-agent: Mutt/1.5.19 (2009-01-05)

On Thu, Jul 02, 2009 at 08:09:24AM +1000, John Marshall wrote:
> Is it possible to force generation of statistics by sending a signal to
> a running DB server?  At the moment the only options I know about are to
> shutdown the server and re-start with '-inital_stat'; or to wait for the
> daily statistics generation at 'stat_hour'.
> 
> There are times (e.g. after changing peering configuration) when it
> would be good to be able to generate new statistics without having to
> restart the keyserver.

It should be.  Look at sync_db_on_sig() in dbserver.ml, add 
calculate_stats_page().  The code just below it seems to catch SIGUSR1.

-- 
Jason Harris           |  NIC:  JH329, PGP:  This _is_ PGP-signed, isn't it?
address@hidden _|_ web:  http://keyserver.kjsl.com/~jharris/
          Got photons?   (TM), (C) 2004

Attachment: pgpblUxkW7vt9.pgp
Description: PGP signature


reply via email to

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