[Top][All Lists]

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

Re: [Sks-devel] Cleanup SKS Logs

From: Timothy A. Holtzen
Subject: Re: [Sks-devel] Cleanup SKS Logs
Date: Wed, 6 Dec 2017 16:22:08 -0600
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.5.0

I follow the following procedure to reduce the size of the KDB directory.

1. Stop the sks-keyserver
2. cd into the /var/lib/sks/KDB directory
3. run the command “db_recover -ev”
4. run the command “db_checkpoint -1”
5. run the command “db_archive -dv” ←- This actually removed the old log
6. run the command “db_recover -ev”
7. Start the sks-keyserver

I believe you can run the same procedure substituting the PTree
directory and reduce the size there too.  However the PTree directory is
usually much smaller to begin with. The last time I did this the KDB
directory went from about 35G to about 18G.

Timothy A. Holtzen
Campus Network Administrator
Nebraska Wesleyan University
Public PGP key CFB4 3AE8 B726 DEBF 00D9  CCFC 426E 76AF DABC B3D7

On 12/06/2017 01:10 PM, Moritz Wirth wrote:
> Hello everybody,
> started running out of space and I want to cleanup some
> space. The database has been used for a year and is around 38 GB big now
> - compared:  the db size on is about 28 GB and 21 GB on
> Can we delete the logfiles in the KDB/ directory (log.xxxxx) - are there
> other ways to save some space?
> Best regards,
> Moritz
> _______________________________________________
> Sks-devel mailing list
> address@hidden

Attachment: signature.asc
Description: OpenPGP digital signature

reply via email to

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