Discussion:
[Sks-devel] disk space
Michael Jones
2018-01-20 15:07:34 UTC
Permalink
Time for an upgrade of disk space on my nodes, if anyone is interested
in the usage over time, here's a 6month graph;


zabbix, disk usage
Kristian Fiskerstrand
2018-01-20 17:53:48 UTC
Permalink
Post by Michael Jones
Time for an upgrade of disk space on my nodes, if anyone is interested
in the usage over time, here's a 6month graph;
I'd expect this isn't without set_flags DB_LOG_AUTOREMOVE
in DB_CONFIG, i.e you can purge some archived DB files using db*_archive?
--
----------------------------
Kristian Fiskerstrand
Blog: https://blog.sumptuouscapital.com
Twitter: @krifisk
----------------------------
Public OpenPGP keyblock at hkp://pool.sks-keyservers.net
fpr:94CB AFDD 3034 5109 5618 35AA 0B7F 8B60 E3ED FAE3
----------------------------
Nil satis nisi optimum
Nothing but the best is good enough
Paul Fontela
2018-01-22 18:01:19 UTC
Permalink
Hi All,

Checked, I went from 118G in /var/lib/sks/KDB/ to 3GB after adding the
DB_CONFIG file inside the KDB folder.
More than 11,000 files have been deleted log.00000xxxxxx.

cd /var/lib/sks/KDB
nano DB_CONFIG
add this line "set_flags DB_LOG_AUTOREMOVE"
save file DB_CONFIG
restart service sks

et voilà, 115 GB of free space

regards
Paul Fontela
Post by Kristian Fiskerstrand
Post by Michael Jones
Time for an upgrade of disk space on my nodes, if anyone is interested
in the usage over time, here's a 6month graph;
I'd expect this isn't without set_flags DB_LOG_AUTOREMOVE
in DB_CONFIG, i.e you can purge some archived DB files using db*_archive?
_______________________________________________
Sks-devel mailing list
https://lists.nongnu.org/mailman/listinfo/sks-devel
--
Paul Fontela
keyserver.ispfontela.es 11370 # Paul Fontela <***@ispfontela.es> 0x31743FFC33E746C5
Shengjing Zhu
2018-04-22 10:18:54 UTC
Permalink
Hi Paul,
Post by Paul Fontela
Hi All,
Checked, I went from 118G in /var/lib/sks/KDB/ to 3GB after adding the
DB_CONFIG file inside the KDB folder.
More than 11,000 files have been deleted log.00000xxxxxx.
Just want to confirm your KDB directory is 3GB? I setup a new server
today, and I see it's 20GB.

BR,
Shengjing Zhu
Kristian Fiskerstrand
2018-04-23 15:47:07 UTC
Permalink
[Sent from my iPad, as it is not a secured device there are no cryptographic keys on this device, meaning this message is sent without an OpenPGP signature. In general you should *not* rely on any information sent over such an unsecure channel, if you find any information controversial or un-expected send a response and request a signed confirmation]
Post by Shengjing Zhu
Hi Paul,
Post by Paul Fontela
Hi All,
Checked, I went from 118G in /var/lib/sks/KDB/ to 3GB after adding the
DB_CONFIG file inside the KDB folder.
More than 11,000 files have been deleted log.00000xxxxxx.
Just want to confirm your KDB directory is 3GB? I setup a new server
today, and I see it's 20GB.
Possible difference is fastbuild vs normalbuild.. for fastbuild only references since dump is kept so if dump is recent enough not too many changes.
Post by Shengjing Zhu
BR,
Shengjing Zhu
_______________________________________________
Sks-devel mailing list
https://lists.nongnu.org/mailman/listinfo/sks-devel
Paul Fontela
2018-04-24 08:34:18 UTC
Permalink
Hello everyone

confirmed,
I used option 1 when executing /usr/local/bin/sks_build.sh

         1 - fastbuild
             only an index of the keypad is created and the keypad can
not be removed.

This is the current size of the important SKS folders

du -sh /var/lib/sks/dump/

        9,9G    /var/lib/sks/dump/

du -sh /var/lib/sks/KDB/

        2,9G    /var/lib/sks/KDB/


All I did was add the DB_CONFIG file inside the KDB folder and restart
the SKS service, after a few moments all the logs disappeared and there
is only one currently.

The content of the DB_CONFIG archo is:
set_flags DB_LOG_AUTOREMOVE


regards

Paul Fontela
Post by Kristian Fiskerstrand
[Sent from my iPad, as it is not a secured device there are no cryptographic keys on this device, meaning this message is sent without an OpenPGP signature. In general you should *not* rely on any information sent over such an unsecure channel, if you find any information controversial or un-expected send a response and request a signed confirmation]
Post by Shengjing Zhu
Hi Paul,
Post by Paul Fontela
Hi All,
Checked, I went from 118G in /var/lib/sks/KDB/ to 3GB after adding the
DB_CONFIG file inside the KDB folder.
More than 11,000 files have been deleted log.00000xxxxxx.
Just want to confirm your KDB directory is 3GB? I setup a new server
today, and I see it's 20GB.
Possible difference is fastbuild vs normalbuild.. for fastbuild only references since dump is kept so if dump is recent enough not too many changes.
Post by Shengjing Zhu
BR,
Shengjing Zhu
_______________________________________________
Sks-devel mailing list
https://lists.nongnu.org/mailman/listinfo/sks-devel
--
Paul Fontela
keyserver.ispfontela.es 11370 # Paul Fontela <***@ispfontela.es> 0x31743FFC33E746C5
a.0.keysnode.ispfontela.es 11370 # Paul Fontela Gmail <***@gmail.com> 0x3D7FCDA03AAD46F1
Loading...