Re: [Sks-devel] Cleanup SKS Logs

2017-12-08 Thread Kristian Fiskerstrand
On 12/08/2017 06:22 PM, Fabian A. Santiago wrote: > can you add DB_LOG_AUTOREMOVE to an existing setup without affecting > anything adversely or having to do anything else other than a > restart? As implied by the other posts, I can confirm that there is indeed no issue to change for existing data

Re: [Sks-devel] Cleanup SKS Logs

2017-12-08 Thread Fabian A. Santiago
December 8, 2017 11:42 AM, "Moritz Wirth" wrote: > Hi, > > I simply created a DB_CONFIG file in the KDB/ folder and added > set_flags DB_LOG_AUTOREMOVE to the file. After a restart > of the sks-db the database size was reduced to about 19GB - I did not > notice any problems with it

Re: [Sks-devel] Cleanup SKS Logs

2017-12-08 Thread Moritz Wirth
Hi, I simply created a DB_CONFIG file in the KDB/ folder and added set_flags   DB_LOG_AUTOREMOVE to the file. After a restart of the sks-db the database size was reduced to about 19GB - I did not notice any problems with it. Best regards, Moritz Am 08.12.17 um 17:22 schrieb Fabian

Re: [Sks-devel] Cleanup SKS Logs

2017-12-08 Thread Fabian A. Santiago
December 6, 2017 2:59 PM, "Kristian Fiskerstrand" wrote: > On 12/06/2017 08:10 PM, Moritz Wirth wrote: > >> Can we delete the logfiles in the KDB/ directory (log.x) - are there >> other ways to save some space? > > the sample DB_CONFIG includes > set_flags DB_LOG_AUTOREMOVE > > that shoul

Re: [Sks-devel] Cleanup SKS Logs

2017-12-06 Thread Alain Wolf
On 06.12.2017 20:10, Moritz Wirth wrote: > Can we delete the logfiles in the KDB/ directory (log.x) - are there > other ways to save some space? In the Debian and Ubuntu packages for SKS there is a *sks.cron.daily* script included which does some maintenance work in /var/spool/sks, /var/lib/sk

Re: [Sks-devel] Cleanup SKS Logs

2017-12-06 Thread Timothy A. Holtzen
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 files 6.

Re: [Sks-devel] Cleanup SKS Logs

2017-12-06 Thread Kristian Fiskerstrand
On 12/06/2017 08:10 PM, Moritz Wirth wrote: > Can we delete the logfiles in the KDB/ directory (log.x) - are there > other ways to save some space? the sample DB_CONFIG includes set_flags DB_LOG_AUTOREMOVE that should solve this for you automatically. But you have some info on m

[Sks-devel] Cleanup SKS Logs

2017-12-06 Thread Moritz Wirth
Hello everybody, keys.flanga.io 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 keys2.flanga.io is about 28 GB and 21 GB on keys3.flanga.io Can we delete the logfiles in the KDB/ directory