managed to see count of files:so, in mirrored devices there are this count of files:infra [root@observ001prvitx rrd]# find jaynet01a -type f | wc -l
13249and in the problematic one:infra [root@observ001prvitx rrd]# find jaynet01b -type f | wc -l
995349On Wed, Nov 6, 2019 at 3:53 PM Edvinas Kairys <edvinas.email@gmail.com> wrote:thank you,Something is very strange space in that folder started to increase rapidly ~3months ago.i even can't to a list of files: of that particular folder.Now i ran the housekeeping script separately in a screen mode, and it's already running ~3hours in that particular folder and still deleting items:[2019/11/06 13:52:21 +0000] housekeeping.php(30530): File /opt/observium/rrd/jaynet01b/alert-6873343.rrd modification time is 2019-10-07 08:22:09 - deleting
[2019/11/06 13:52:24 +0000] housekeeping.php(30530): File /opt/observium/rrd/jaynet01b/alert-6871338.rrd modification time is 2019-10-07 07:21:54 - deleting
[2019/11/06 13:52:26 +0000] housekeeping.php(30530): File /opt/observium/rrd/jaynet01b/alert-6878336.rrd modification time is 2019-10-07 08:21:50 - deleting
[2019/11/06 13:52:28 +0000] housekeeping.php(30530): File /opt/observium/rrd/jaynet01b/alert-6877497.rrd modification time is 2019-10-07 08:22:02 - deleting
[2019/11/06 13:52:28 +0000] housekeeping.php(30530): File /opt/observium/rrd/jaynet01b/alert-6867753.rrd modification time is 2019-10-07 04:22:05 - deleting
[2019/11/06 13:52:29 +0000] housekeeping.php(30530): File /opt/observium/rrd/jaynet01b/alert-6871233.rrd modification time is 2019-10-07 07:21:48 - deleting
[2019/11/06 13:52:29 +0000] housekeeping.php(30530): File /opt/observium/rrd/jaynet01b/alert-6867316.rrd modification time is 2019-10-07 04:22:09 - deleting
[2019/11/06 13:52:31 +0000] housekeeping.php(30530): File /opt/observium/rrd/jaynet01b/alert-6873301.rrd modification time is 2019-10-07 08:22:06 - deleting
[2019/11/06 13:52:31 +0000] housekeeping.php(30530): File /opt/observium/rrd/jaynet01b/alert-6865505.rrd modification time is 2019-10-07 04:22:00 - deleting
[2019/11/06 13:52:32 +0000] housekeeping.php(30530): File /opt/observium/rrd/jaynet01b/alert-6873140.rrd modification time is 2019-10-07 08:21:58 - deleting
[2019/11/06 13:52:32 +0000] housekeeping.php(30530): File /opt/observium/rrd/jaynet01b/alert-6877296.rrd modification time is 2019-10-07 08:21:52 - deletingetc, etc..On Wed, Nov 6, 2019 at 1:25 PM Markus Klock <markus@best-practice.se> wrote:Hey,Well your housekeeping settings are to not delete RRDs unless they are not updated for 2 months.Did this one device with 200GB RRDs have files older than 2 months?If not then none of those RRDs will be deleted for now./MarkusDen ons 6 nov. 2019 kl 10:45 skrev Edvinas Kairys via observium <observium@observium.org>:Hello,_______________________________________________I noticed that Observium started to use up lots of storage space. From ~200Gb it started to use ~400Gbs. Found interested thing, that one device RRD folder tooks ~200GBs instead of ~4-5Gbs. I'm always running housekeeping scripts in cron:# Run housekeeping script daily for syslog, eventlog and alert log
13 5 * * * root /opt/observium/housekeeping.php -ysel >> /dev/null 2>&1
# Run housekeeping script daily for rrds, ports, orphaned entries in the database and performance data
47 4 * * * root /opt/observium/housekeeping.php -yrptib >> /dev/null 2>&1But seems it doesnt help, and housekeeping log doesn't show errors.Could someone advice how to clear that files in RRD folder according to housekeeping settings which are here:infra [root@observ001prvitx logs]# cat /opt/observium/includes/defaults.inc.php | grep housekeep
$config['housekeeping']['syslog']['age'] = '1M'; // Maximum age of syslog entries; 0 to disable
$config['housekeeping']['eventlog']['age'] = '3M'; // Maximum age of event log entries; 0 to disable
$config['housekeeping']['alertlog']['age'] = '3M'; // Maximum age of alert log entries; 0 to disable
$config['housekeeping']['authlog']['age'] = '6M'; // Maximum age of authlog entries; 0 to disable
$config['housekeeping']['inventory']['age'] = '1M'; // Maximum age of deleted inventory entries; 0 to disable
$config['housekeeping']['deleted_ports']['age'] = '1M'; // Maximum age of deleted ports before automatically purging; 0 to disable
$config['housekeeping']['rrd']['age'] = '2M'; // Maximum age of unused rrd files before automatically purging; 0 to disable
$config['housekeeping']['rrd']['invalid'] = TRUE; // Delete .rrd files that are not valid RRD files (eg created with a full disk)afaik M = month ?
observium mailing list
observium@observium.org
http://postman.memetic.org/cgi-bin/mailman/listinfo/observium