[Top][All Lists]
[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
pgpblUxkW7vt9.pgp
Description: PGP signature
- [Sks-devel] On-demand SKS Statistics Generation?, John Marshall, 2009/07/01
- Re: [Sks-devel] On-demand SKS Statistics Generation?,
Jason <=
- Re: [Sks-devel] On-demand SKS Statistics Generation?, John Marshall, 2009/07/02
- Re: [Sks-devel] On-demand SKS Statistics Generation?, Peter Pramberger, 2009/07/02
- Re: [Sks-devel] On-demand SKS Statistics Generation?, Peter Pramberger, 2009/07/02
- Re: [Sks-devel] On-demand SKS Statistics Generation?, Kim Minh Kaplan, 2009/07/03
- Re: [Sks-devel] On-demand SKS Statistics Generation?, Dinko Korunic, 2009/07/03
- Re: [Sks-devel] On-demand SKS Statistics Generation?, Kim Minh Kaplan, 2009/07/03
- Re: [Sks-devel] On-demand SKS Statistics Generation?, Dinko Korunic, 2009/07/03
- Re: [Sks-devel] On-demand SKS Statistics Generation?, Kim Minh Kaplan, 2009/07/04